|
|
@ -33,6 +33,7 @@ make install |
|
|
|
Define list of your LDAP servers with required user/group requirements: |
|
|
|
Define list of your LDAP servers with required user/group requirements: |
|
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
```bash |
|
|
|
|
|
|
|
http { |
|
|
|
ldap_server test1 { |
|
|
|
ldap_server test1 { |
|
|
|
url ldap://192.168.0.1:3268/DC=test,DC=local?sAMAccountName?sub?(objectClass=person); |
|
|
|
url ldap://192.168.0.1:3268/DC=test,DC=local?sAMAccountName?sub?(objectClass=person); |
|
|
|
binddn "TEST\\LDAPUSER"; |
|
|
|
binddn "TEST\\LDAPUSER"; |
|
|
@ -50,6 +51,7 @@ Define list of your LDAP servers with required user/group requirements: |
|
|
|
group_attribute_is_dn on; |
|
|
|
group_attribute_is_dn on; |
|
|
|
require valid_user; |
|
|
|
require valid_user; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
And add required servers in correct order into your location/server directive: |
|
|
|
And add required servers in correct order into your location/server directive: |
|
|
|