kvspb / nginx-auth-ldap

LDAP authentication module for nginx
BSD 2-Clause "Simplified" License
732 stars 253 forks source link

separate bind dn is redundant. #78

Open drook opened 9 years ago

drook commented 9 years ago

Separate bind dn is redundant - module should check if self-bind is successful, and if it is, user is authenticated, otherwise he's not. Separate bind dn is used when the application pulls some data from LDAP, thus it needs valid credentials anyway.