You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://www.adelton.com/apache/mod_lookup_identity/ relies on the org.freedesktop.sssd.infopipe.GetUserGroups call to enumerate the names of groups a specific user is a part of. However, it looks like this call fails to include the primary group as part of this enumeration? Reproducing this with the dbus-python library:
The group name for group 1722 is not reported (it's name is "chpc") in the GetUserGroups call but the group is reported in the groups property of myuser.
I suspect it is because 1722 is myuser's primary group (ie set as myuser's gidNumber) but myuser is not listed as a member of the group 1722.
Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/4157
Reported on sssd version 1.16.4.
https://www.adelton.com/apache/mod_lookup_identity/ relies on the
org.freedesktop.sssd.infopipe.GetUserGroups
call to enumerate the names of groups a specific user is a part of. However, it looks like this call fails to include the primary group as part of this enumeration? Reproducing this with the dbus-python library:The group name for group 1722 is not reported (it's name is "chpc") in the
GetUserGroups
call but the group is reported in thegroups
property ofmyuser
.I suspect it is because 1722 is
myuser
's primary group (ie set asmyuser
's gidNumber) butmyuser
is not listed as a member of the group 1722.Comments
Comment from sbose at 2020-02-13 17:07:50
Hi,
what's the output of
id myuser
andgroups myuser
?bye,
Sumit
Comment from daenth at 2020-02-15 05:41:55
id myuser
:uid=1141817(myuser) gid=1722(chpc) groups=1722(chpc),1897(dnsadmin),1932(consult),1961(logs),2067(cs0000),10051(chpcweb) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
groups myuser
:chpc dnsadmin consult logs cs0000 chpcweb
Comment from thalman at 2020-03-13 15:58:09
Metadata Update from @thalman:
The text was updated successfully, but these errors were encountered: