Apache ldap auth with windows AD

From Federal Burro of Information
Jump to navigationJump to search
<Location "/">
AuthName "AD authentication"
AuthBasicProvider ldap
AuthType Basic
AuthLDAPGroupAttribute member
AuthLDAPGroupAttributeIsDN On
AuthLDAPURL ldap://X.X.X.X:389/OU=Special%20Accounts%20and%20Groups,DC=company,DC=internal?sAMAccountName?sub?(objectClass=*)
AuthLDAPBindDN "CN=svc_ldap_reader,OU=Service Accounts,OU=Special Accounts and Groups,DC=company,DC=internal"
AuthLDAPBindPassword XXX
#require ldap-group CN=powerdns_mgmt,OU=Domain Global groups,OU=Special Accounts and Groups,DC=company,DC=internal
require ldap-group CN=radmin_mgmt,OU=Domain Global groups,OU=Special Accounts and Groups,DC=company,DC=internal
#require ldap-user "test_user"
</Location>