[SATLUG] Apache authentication with mod_authnz_ldap

Mike mzilla1101 at gmail.com
Mon Jun 18 18:10:37 CDT 2007


Hi All,

I got called in to configure an Apache web server and I'm a bit out of
practice.  I want to add LDAP authentication to certain locations, but I am
running into problems with mod_authnz_ldap.  The error log isn't of much
help because I cannot tell if the error is occurring when binding to the
LDAP server, at the authentication level or at the authorization level.  I
have tried to simplify things as much as possible but to no avail.  I'm
afraid that I could be leaving out some necessary directives since it has
been a while and the last time I did something like this, everyone was still
on Apache 2.0 (mod_authnz_ldap didn't come around until 2.1).  I am not an
LDAP person by any means, so it could be that I've simply botched the LDAP
URL.

Nevertheless, is there an Apache directive I could use to get more detail in
the error log so I can see exactly where it is failing?  Are there any good
examples online of a full configuration using mod_authnz_ldap?  By full
configuration, I mean something that not only shows you the directives for
mod_authnz_ldap itself but also all the other directives you'd need from
other modules such as mod_auth_basic to make it all work?

Thanks,
Mike


More information about the SATLUG mailing list