Is there a plugin for silent login to Redmine using LDAP?

Added by Alexey Bykov over 8 years ago

In my environment all users registered in the domain are authenticated at in Redmine via LDAP.

How to set up automatic authentication in Redmine by user name, by which he went into a domain? It is possible?

I want to avoid typing login/ password in the login form (or OpenId, etc), and automaticaly logged in to Redmain - it's can be more convenient. For example, for technical support group.

I would be grateful for any information.

Thanks.

Replies (4)

RE: Is there a plugin for automatic login to Redmine by user name from LDAP? - Added by Markus Andree over 8 years ago

I had exactly this running, by using the information from Running redmine on Apache2 on Windows; using SSPI authent..., what is referenced from Passthrough Authentication or SSO as well. Worked for me as long as I used this proxy configuration (switched to passenger now, and got stuck on the issue again). Be sure to configure your browser for sspi/ntlm authentication against your redmines domain address (search for "sspi" and "yourBrowsersName" on google should help you on this one).

RE: Is there a plugin for automatic login to Redmine by user name from LDAP? - Added by Alexey Bykov over 8 years ago

Thank you very much for your reply, Markus Andree!

RE: Is there a plugin for silent login to Redmine using LDAP? - Added by Alexey Bykov over 8 years ago

Maybe I'm not there asked a question, I'm sorry. This plugin does not make sense.

RE: Is there a plugin for silent login to Redmine using LDAP? - Added by Alexey Bykov over 8 years ago

Yes, now everything is OK, thank you again.

In I selected "automatically detect intranet sites" in Tools/Options/Security/Local intranet/Sites/ then in "Advanced" added the adress in there.
In Mozila Firefox I added the adress in network.automatic-ntlm-auth.trusted-uris

A small correction for the Redmine v. 2.3.2. In application_controller.rb -

...
user = (User.active.find_by_login(forwarded_user) rescue nil))
...

(1-4/4)