Project

General

Profile

Actions

Bug #11428

closed

External user groups refresh is not case insensitive

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

Status:
Closed
Priority:
Normal
Category:
Users, Roles and Permissions
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

group_list in ldap_fluff returns a list of lowercase LDAP GIDs. https://github.com/theforeman/ldap_fluff/blob/master/lib/ldap_fluff/generic_member_service.rb#L56
When foreman tries to run update_usergroups to refresh the external user groups, it will try to match these lowercase gids with external user group names. However, we don't enforce external user group names to be lowercase. If an external user group contains any capital letter, it will not be synced as it will not match the lowercase GID.


Related issues 1 (1 open0 closed)

Related to Foreman - Bug #7355: External groups not updated when user created on the flyNew09/04/2014Actions
Actions #1

Updated by Daniel Lobato Garcia almost 9 years ago

  • Related to Bug #7355: External groups not updated when user created on the fly added
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/2621 added
  • Pull request deleted ()
Actions #3

Updated by Dominic Cleal almost 9 years ago

  • 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 Bryan Kearney almost 9 years ago

  • Bugzilla link set to 1238442
Actions

Also available in: Atom PDF