Description:[[BR]] When modifying a user and adding the user to a group, if you specify the group name with FQN, the modification fails with "Could not modify user - check if group names are correct".
Configuration Tested[[BR]]
[services] description = Local Service Configuration activeServices = nss, pam reconnection_retries = 3 [services/nss] description = NSS Responder Configuration filterGroups = root filterUsers = root debug-level = 4 [services/dp] description = Data Provider Configuration debug-level = 4 [services/pam] description = PAM Responder Configuration [services/monitor] description = Service Monitor Configuration [domains] description = Domains served by SSSD domains = LOCAL [domains/LOCAL] description = LOCAL Users domain enumerate = 3 minId = 1000 maxId = 1003 magicPrivateGroups = TRUE useFullyQualifiedNames = TRUE provider = local
Steps to Reproduce:[[BR]] 1. install sssd with the above configuration[[BR]] 2. add a group[[BR]] 3. add a user[[BR]] 4. add the user to the group using FQNs[[BR]] sss_usermod -a group@LOCAK user@LOCAL[[BR]]
Version[[BR]] sssd-2009081814-0.fc11.i586
OK, I forgot to parse the groupnames as FQDNs.
component: SSSD => sss_tools owner: somebody => jhrozek
Fixed in 716a203f171fda4bcb3e2bf9f2564b331ac1f85a
doc: => 0 docupdated: => 0 fixedin: => 0.6.0 resolution: => fixed status: new => closed tests: => 1 testsupdated: => 0
I am still seeing this issue:[[BR]]
START sssd_033: Add user to group Using Fully Qualified Names Working on dhcp-100-2-185.bos.redhat.com ERROR: Adding user1000@LOCAL to group1000@LOCAL failed. ERROR: Got: Could not modify user - check if group names are correct - might be regression of trac issue 121 TestCaseResult sssd_033 FAIL END sssd_033
resolution: fixed => status: closed => reopened tests: 1 => 0 testsupdated: 0 => 1
That actually turned out to be a bug in the test, this really is fixed
resolution: => fixed status: reopened => closed
Fields changed
rhbz: => 0
Metadata Update from @jgalipea: - Issue assigned to jhrozek - Issue set to the milestone: SSSD 1.0
SSSD is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in SSSD's github repository.
This issue has been cloned to Github and is available here: - https://github.com/SSSD/sssd/issues/1163
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.