Created
August 1, 2019 14:10
-
-
Save zukka77/e2331d1086a7175b6d8e73ebc7ca957e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Directory /var/www/html/secure> | |
AuthBasicProvider ldap | |
AuthLDAPURL "ldap://server1 server2/dc=example,dc=com?sAMAccountName?sub" NONE | |
#AuthLDAPInitialBindAsUser On | |
#AuthLDAPInitialBindPattern (.+) $1@example.com | |
AuthLDAPBindDN user@example.com | |
AuthLdapBindPassword password | |
AuthLDAPGroupAttribute member | |
AuthLDAPGroupAttributeIsDN on | |
AuthType Basic | |
AuthName "Authorization required" | |
require ldap-group cn=group,cn=Users,dc=example,dc=com | |
#require valid-user | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment