Project

General

Profile

Actions

Defect #608

closed

RuntimeError (LdapError: no bind result):

Added by Kioma Aldecoa almost 17 years ago. Updated almost 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-02-05
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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.

Actions

Also available in: Atom PDF