Project

General

Profile

Actions

Defect #608

closed

RuntimeError (LdapError: no bind result):

Added by Kioma Aldecoa over 16 years ago. Updated over 16 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 #1

Updated by Kioma Aldecoa over 16 years ago

I've been running with this patch for about a week and no LDAP problems. So I'd suggest using a net-ldap version with the referenced patch applied.

Actions #2

Updated by Jean-Philippe Lang over 16 years ago

  • Status changed from New to Closed

I couldn't reproduce this error. Anyway, I applied the patch in r1148.
Thanks for pointing out the fix.

Actions

Also available in: Atom PDF