Config defines LDAP and AUTH_LDAP can be set autonomous, which is not correct. AUTH_LDAP will only work if LDAP is also set Not a major incident, but may confuse users Reproducible: Always Steps to Reproduce: 1. edit /etc/conf.d/apach2, set -DAUTH_LDAP but not -DLDAP 2. restart apache Actual Results: apache will not start: Cannot load /usr/lib64/apache2/modules/mod_auth_ldap.so into server: /usr/lib64/apache2/modules/mod_auth_ldap.so: undefined symbol: util_ldap_connection_close Can be resolved by changing the top of /etc/apache2/modules.d/46_mod_ldap.conf to something like: <IfDefine LDAP> <IfModule !util_ldap.c> LoadModule ldap_module modules/mod_ldap.so </IfModule> <IfDefine AUTH_LDAP> <IfModule !mod_auth_ldap.c> LoadModule auth_ldap_module modules/mod_auth_ldap.so </IfModule> </IfDefine> </IfDefine> instead of the orginial part: <IfDefine LDAP> <IfModule !util_ldap.c> LoadModule ldap_module modules/mod_ldap.so </IfModule> </IfDefine> <IfDefine AUTH_LDAP> <IfModule !mod_auth_ldap.c> LoadModule auth_ldap_module modules/mod_auth_ldap.so </IfModule> </IfDefine>
this problem is commited on net-www/apache-2.0.58-r2 compiled with the follwing useflags: apache2 -debug -doc ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker -no-suexec -selinux ssl -static-modules -threads
Could you please try out =net-www/apache-2.2.4-r6 and turn on -D LDAP and -D AUTH_LDAP (*after* tuning 46_mod_ldap.conf with your LDAP AuthURI) ?