updated README

This commit is contained in:
Martin Englund
2014-03-05 11:04:08 -08:00
parent 93cd9f094a
commit c0a1383220
+3 -1
View File
@@ -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:
@@ -67,5 +69,5 @@ And add required servers in correct order into your location/server directive:
index index.html index.htm; index index.html index.htm;
} }
} }
``` ```