Wednesday, October 10, 2009

用LDAP验证Apache

AuthType Basic
AuthName "Secure Area"

AuthzLDAPAuthoritative On
AuthzLDAPMethod ldap
AuthzLDAPProtocolVersion 3
AuthzLDAPServer localhost:389

AuthzLDAPUserBase ou=People,dc=orlab-dev,dc=jp
AuthzLDAPUserKey uid

Require valid-user

Tags: Ldap