Building and installing the auth_ldap port worked fine. But after
enabling ldap in my httpd.conf I would get the following error when I
attempted to start up apache:
Can't locate API module structure `ldap_module' in file
/usr/local/libexec/apache/auth_ldap.so: Undefined symbol "ldap_module"
After a little google'ing I found the solution at:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=3CEAA607.4000507_georgiacenter.org%40ns.sol.net&rnum=4&prev=/groups%3Fq%3DCan%27t%2Blocate%2BAPI%2Bmodule%2Bstructure%2B%2560ldap_module%27%2Bin%2Bfile%2B/usr/local/libexec/apache/auth_ldap.so:%2BUndefined%2Bsymbol%2B%2522ldap_module%2522%26hl%3Den%26lr%3D%26ie%3DUTF-8%26filter%3D0
Here is the snipet that corrected my problem:
in httpd.conf, change:
LoadModule ldap_module libexec/apache/auth_ldap.so
to
LoadModule auth_ldap_module libexec/apache/auth_ldap.so
and change:
AddModule mod_ldap.c
to
AddModule auth_ldap.c
Would it be possible to update the auth_ldap port to save others the
hassle?
Thanks,
Greg
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message