Defect #608
closedRuntimeError (LdapError: no bind result):
0%
Description
I'm using LDAP authentication. I often get a failed login when trying to use ldap-based accounts, with this in the logs:
RuntimeError (LdapError: no bind result):
/app/models/auth_source_ldap.rb:55:in `authenticate'
/var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations/association_proxy.rb:125:in `send'
/var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations/association_proxy.rb:125:in `method_missing'
/app/models/user.rb:92:in `try_to_login'
/app/controllers/account_controller.rb:46:in `login'
It may be related to the following net-ldap bug:
http://rubyforge.org/tracker/index.php?func=detail&aid=7392&group_id=143&atid=631
This bug happens often enough for me that it basically makes the ldap integration unusable. I'm trying the patch listed on that page and I can report back here if it helps.