Actions
Bug #11407
closedUppercase logins coming from LDAP break external user groups sync
Status:
Closed
Priority:
Normal
Assignee:
Category:
Authentication
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
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