Open tianjiaolaozu opened 7 years ago
url ldap://dc1.local:3268/DC=du,DC=local?sAMAccountName?sub?(objectClass=person); binddn "DULOCAL\username"; binddn_passwd "password"; group_attribute uniquemember; group_attribute_is_dn off; require valid_user; ssl_check_cert off;
The above is working config against AD
FWIW, I was not able to get LDAP to work with a bind dn of the form "CN=Name, OU=XXX, DC=YYY" When I changed to "DOMAIN\username" or "user@example.com", it would work.
I just finished getting nginx-auth-ldap up and running on RHEL7. Here are a couple of comments from the experience:
For troubleshooting LDAP integration problems you could enable network inspection with a tool like Wireshark that understands LDAP and could show you some helpful data for as in the following example:
I have successfully added "nginx-auth-ldap" to nginx when do the configure with centos7(after have a lots of trouble with centos6, so I strongly recommend you to try centos7 ). However, I do not have much luck with company AD, my config in nginx.conf file is like below
Anyone can suggest whether I should uncomment binddb and binddn_passwd or how need I to modify add config file? Instant response will be much appreciated.
Regards,
James Pei