Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jan 2003 06:22:19 -0600
From:      Greg Panula <greg.panula@dolaninformation.com>
To:        freebsd-bugs@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   auth_ldap bug
Message-ID:  <3E1C17FB.C767BF14@dolaninformation.com>

next in thread | raw e-mail | index | archive | help
Morning,

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 majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E1C17FB.C767BF14>