[SATLUG] Apache authentication with mod_authnz_ldap

Daniel J. Givens daniel at rugmonster.org
Mon Jun 18 19:04:13 CDT 2007


Mike wrote:
> 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?  

Look into the LogLevel directive.
http://httpd.apache.org/docs/2.0/mod/core.html#loglevel

> Are there any good
> examples online of a full configuration using mod_authnz_ldap?  

Have you seen this?
http://authzldap.othello.ch/configuration.html

> 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?

Unless I'm completely off, mod_authz_ldap should stand on its own. I
know when I've configured mod_auth_ldap for authentication, I didn't
worry about mod_auth_basic.

I have never had any problems with mod_auth_ldap. You should see about
giving it a go if you continue to have problems with mod_authz_ldap and
you aren't missing features mod_authz_ldap provides the other doesn't.
Also, you might want to check your LDAP server's logs to see if you are
binding and also check your LDAP queries with a query tool. See if
you're getting what you are expecting to get manually.

Good luck and let us know.

Daniel


More information about the SATLUG mailing list