I need to configure programmatic ldap authentication in an application. But I'd rather not hardcode passwords anywhere. So it would be very convenient if ldap servers all have anonymous access for authentication purposes.

Being a bit new to ldap, this might look like a silly question.


It's possible to deactivate anonymous binds on [open]ldap

| improve this answer | |
  • It's not that I want to deactivate it. :-) I just need to know whether it's realistic to expect ldap servers to provide anonymous access. It's for setting up authentication of a web application. – Jan Goyvaerts Mar 11 '16 at 8:46
  • Ifthe administrator has not disabled it (which is possible) you can assume the ldap has anonymous bind enabled. You cannot assume it has anonymous binding enabled, because it is possible to disable it. – hexathos Mar 11 '16 at 8:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.