Actions
Defect #4515
closedldap auth problem
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
LDAP
Target version:
-
Start date:
2010-01-04
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
Hi.
I'm not entirely sure if this is a problem in redmine and if it's already solved (It's a bit hard to search for). Nonetheless. We recently experienced that redmine ldap auth. failed, after we changed username/password to the ldap service. It turns out that in the file app/models/auth_source_ldap.rb
the following line should be changed:
options.merge!(:auth => { :method => :simple, :username => ldap_user, :password => ldap_password }) unless ldap_user.blank? && ldap_password.blank?
into:
options.merge!( :method => :simple, :username => ldap_user, :password => ldap_password ) unless ldap_user.blank? && ldap_password.blank?
I'm guessing that the api for net/ldap
changed somewhere.
Hope this helps somebody.
Actions