Actions
Defect #3080
closedLDAP connect
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Start date:
2009-03-31
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
i think in the file app/models/auth_source_ldap.rb the following line is bad:
options = { :host => self.host,
:port => self.port,
:encryption => (self.tls ? :simple_tls : nil)
}
this is always return for encryption=simple_tls while self.tls is 0 or 1 not nil
the connection always use tls.
i modify the this for:
:encryption => (self.tls==1 ? :simple_tls : nil)
Actions