Project

General

Profile

Actions

Bug #11407

closed

Uppercase logins coming from LDAP break external user groups sync

Added by Daniel Lobato Garcia almost 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Authentication
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When an user, say "DanielLobato" in LDAP gets an account in Foreman, the login is automatically downcased to "daniellobato". This causes issues when external user groups refresh, as we perform a 'where' query on User, using the logins from LDAP to check what users belong in an external user group. So by calling User.where { :name => ['DanielLobato'] } on usergroup.rb, we will get no results and the user 'daniellobato' will be left unsynced.

Actions #1

Updated by Daniel Lobato Garcia almost 9 years ago

  • Bugzilla link set to 1238442
Actions #2

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2616 added
  • Pull request deleted ()
Actions #3

Updated by Dominic Cleal almost 9 years ago

  • Category changed from Users, Roles and Permissions to Authentication
  • Assignee set to Daniel Lobato Garcia
  • Translation missing: en.field_release set to 72
Actions #4

Updated by Daniel Lobato Garcia almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Dominic Cleal almost 9 years ago

  • Translation missing: en.field_release changed from 72 to 88
Actions

Also available in: Atom PDF