Although I've installed apache with ldap and ssl useflags enabled, my apache2-builtin-mods contain the following lines: #mod_authnz_ldap shared # enable via USE-flag #mod_ldap disabled # enable via USE-flag #mod_ssl disabled # enable via USE-flag The modules have been installed by ebuild and I was able to fix my problem by simply uncommenting mod_authnz_ldap line. The strange thing is that my apache is able to work with -D SSL -D LDAP without mod_ldap and mod_ssl lines being activated in apache2-builtin-mods !?! Unfortunatelly, I cannot say the same thing for mod_authnz_ldap module.
Well, I'm afraid you are another victim of Bug 190994
(In reply to comment #1) > Well, I'm afraid you are another victim of Bug 190994 > probably not. modules that are enabled by use flags don't have an entry in apache2-builtin-mods (well, they have for sake of completness, but they are commented) .. use -D AUTHNZ_LDAP to active ..
(In reply to comment #2) > modules that are enabled by use flags don't have an entry in > apache2-builtin-mods (well, they have for sake of completness, but they are > commented) .. use -D AUTHNZ_LDAP to active .. Yep, that fixes my problem. However I think /etc/conf.d/apache2 should inform users about that. Also, the "enable via USE-flag" comments are misleading. How about changing them to "enable through -D foo"?
yeah, it should be added to that list ... i have some other minor fixes (mostly comments and documentation fixes) and will do a -r1 shortly
i also noticed that it was AUTH_LDAP in the configuration, but it should be AUTHNZ_LDAP for 2.2.x ... will be fixed too