From c0a13832206abe60eb91b7f2aa8a6bdf44309022 Mon Sep 17 00:00:00 2001 From: Martin Englund Date: Wed, 5 Mar 2014 11:04:08 -0800 Subject: [PATCH] updated README --- README.md | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 5d65896..cfc1996 100644 --- a/README.md +++ b/README.md @@ -33,22 +33,24 @@ make install Define list of your LDAP servers with required user/group requirements: ```bash - ldap_server test1 { - url ldap://192.168.0.1:3268/DC=test,DC=local?sAMAccountName?sub?(objectClass=person); - binddn "TEST\\LDAPUSER"; - binddn_passwd LDAPPASSWORD; - group_attribute uniquemember; - group_attribute_is_dn on; - require valid_user; - } - - ldap_server test2 { - url ldap://192.168.0.2:3268/DC=test,DC=local?sAMAccountName?sub?(objectClass=person); - binddn "TEST\\LDAPUSER"; - binddn_passwd LDAPPASSWORD; - group_attribute uniquemember; - group_attribute_is_dn on; - require valid_user; + http { + ldap_server test1 { + url ldap://192.168.0.1:3268/DC=test,DC=local?sAMAccountName?sub?(objectClass=person); + binddn "TEST\\LDAPUSER"; + binddn_passwd LDAPPASSWORD; + group_attribute uniquemember; + group_attribute_is_dn on; + require valid_user; + } + + ldap_server test2 { + url ldap://192.168.0.2:3268/DC=test,DC=local?sAMAccountName?sub?(objectClass=person); + binddn "TEST\\LDAPUSER"; + binddn_passwd LDAPPASSWORD; + group_attribute uniquemember; + group_attribute_is_dn on; + require valid_user; + } } ``` @@ -67,5 +69,5 @@ And add required servers in correct order into your location/server directive: index index.html index.htm; } -} + } ```