-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IFP: GetUserGroups() returns origPrimaryGroupGidNumber #5272
Conversation
a2c166e
to
7c59663
Compare
7c59663
to
33ab292
Compare
33ab292
to
05b432f
Compare
CI failures are not related with the change itself. |
Hi, thanks for the patch and your patience. I tested the patch and it worked as expected but please see my inline comment. bye, |
There was a mismatch between the information provided by NSS and IFP interfaces. nss_protocol_fill_initgr() returned origPrimaryGroupGidNumber as one of the group members of a user, but GetUserGroups() didn't. This commit makes GetUserGroups() also return origPrimaryGroupGidNumber value. Resolves: SSSD#4569
New infopipe test case to check: Given auto_private_groups is enabled When GetUserGroups is called Then the origPrimaryGroupGidNumber is returned as part of the group memberships Resolves: SSSD#4569
05b432f
to
7b95c2f
Compare
Hi, thank you, I have no further comments, the CI failure on F32 seems unrelated. ACK. bye, |
Thank you for having a look at it. I was already doing it but I was unable to find any connection between my changes and the failure. |
The issue can be seen in other CI runs as well, currently I have no idea for the reason. |
It fails with
@justin-stephenson , could you please take a look? |
Yes, let me do some investigation |
This test_session_recording.py::test_none runs successfully on my Fedora 32 system. I tried to execute the CI tests following https://github.com/SSSD/sssd/blob/master/contrib/test-suite/README.md using
Is there something I'm missing to execute the tests the same way as the CI is running them(in order to reproduce the failure)? |
Please ping me or IRC or on e-mail (or on the team list) and I'll help you with it. |
There was a mismatch between the information provided by NSS and IFP
interfaces. nss_protocol_fill_initgr() returned
origPrimaryGroupGidNumber as one of the group members of a user, but
GetUserGroups() didn't. This commit makes GetUserGroups() also return
origPrimaryGroupGidNumber value.
Moreover, new infopipe test case to check:
Given auto_private_groups is enabled
When GetUserGroups is called
Then the origPrimaryGroupGidNumber is returned as part of the group memberships
Resolves:
#4569