LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule ldap_module modules/mod_ldap.so
<location /filemanager> # Basic authentication with LDAP against MS AD AuthType Basic AuthBasicProvider ldap # AuthLDAPURL specifies the LDAP server IP, port, base DN, scope and filter # using this format: ldap://host:port/basedn?attribute?scope?filter AuthLDAPURL "ldap://i12bretro.local:389/DC=i12bretro,DC=local?sAMAccountName?sub?(objectClass=user)" NONE
# The LDAP bind username and password AuthLDAPBindDN "readonly_svc@i12bretro.local" AuthLDAPBindPassword "Read0nly!!" LDAPReferrals Off AuthUserFile /dev/null AuthName "Restricted Area [i12bretro.local]" # to authenticate a domain group, specify the full DN AuthLDAPGroupAttributeIsDN on require ldap-group CN=WebAuthAccess,CN=Users,DC=i12bretro,DC=local </location>