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

Also available in: Atom PDF