tdvsdv/single_auth

Some problems

Opened this issue · 0 comments

My scenario:

  • Windows 2012
  • Ubuntu 16.04 - Redmine 3.2.1 from package

I need to change make some changes, because login user has the format: DOMAIN\user and it doesnt match mysql database.

I need to add a remote_user split in redmine/plugins/single_auth/lib/single_auth/application_controller_patch.rb line 42

def try_login_by_remote_env(remote_username)
remote_username = remote_username.to_s.split('')[1].split("@")[0]
user = User.active.find_by_login remote_username

Im going to send a pull request but as you can see Im not a ruby developer!!!

And the next big problem was you need to change browsers security:

Internet Explorer: Tools → Internet Options → Security → Local Intranet → Sites
Firefox: about:config → network.negotiate-auth.trusted-uris