Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionNikolai Kondrashov
2013-08-08 12:40:53 UTC
Created attachment 784330[details]
nested_refresh_test
Description of problem:
Sssd fails to properly reflect changes to LDAP directory containing rfc2307bis nested groups.
Version-Release number of selected component (if applicable):
sssd-common-1.11.0-0.2.beta2.el7.x86_64
sssd-ad-1.11.0-0.2.beta2.el7.x86_64
python-sssdconfig-1.11.0-0.2.beta2.el7.noarch
sssd-client-1.11.0-0.2.beta2.el7.x86_64
sssd-krb5-common-1.11.0-0.2.beta2.el7.x86_64
sssd-ldap-1.11.0-0.2.beta2.el7.x86_64
sssd-proxy-1.11.0-0.2.beta2.el7.x86_64
sssd-ipa-1.11.0-0.2.beta2.el7.x86_64
sssd-1.11.0-0.2.beta2.el7.x86_64
libsss_idmap-1.11.0-0.2.beta2.el7.x86_64
sssd-krb5-1.11.0-0.2.beta2.el7.x86_64
How reproducible:
Always
Steps to Reproduce:
Modify the attached nested_refresh_test script to suit local setup and execute it as root.
Actual results:
uid=10000(user10000) gid=10001(user10000) groups=10001(user10000),10000(group10000) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
uid=10000(user10000) gid=10001 groups=10001 context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
Expected results:
uid=10000(user10000) gid=10001(user10000) groups=10001(user10000),10000(group10000) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
uid=10000(user10000) gid=10002(user10000) groups=10002(user10000),10000(group10000),10001(group10001) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
Additional info:
NOTE: This reproduces on RHEL6 with sssd 1.9.2-82.7 as well.
If the first directory change is not done, the remaining second change is
reflected correctly.
If a 10 minute delay is introduced between changing the directory and
retrieving the user information, the second line becomes this:
uid=10000(user10000) gid=10002(user10000) groups=10002(user10000),10001(group10001) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
Which is still incorrect, though.
Since this problem is already tracked in an upstream ticket and this bugzilla is not being planned for any immediate release either in RHEL or upstream, I'm closing this bugzilla with the resolution UPSTREAM.
Please reopen this bugzilla report if you disagree.
Created attachment 784330 [details] nested_refresh_test Description of problem: Sssd fails to properly reflect changes to LDAP directory containing rfc2307bis nested groups. Version-Release number of selected component (if applicable): sssd-common-1.11.0-0.2.beta2.el7.x86_64 sssd-ad-1.11.0-0.2.beta2.el7.x86_64 python-sssdconfig-1.11.0-0.2.beta2.el7.noarch sssd-client-1.11.0-0.2.beta2.el7.x86_64 sssd-krb5-common-1.11.0-0.2.beta2.el7.x86_64 sssd-ldap-1.11.0-0.2.beta2.el7.x86_64 sssd-proxy-1.11.0-0.2.beta2.el7.x86_64 sssd-ipa-1.11.0-0.2.beta2.el7.x86_64 sssd-1.11.0-0.2.beta2.el7.x86_64 libsss_idmap-1.11.0-0.2.beta2.el7.x86_64 sssd-krb5-1.11.0-0.2.beta2.el7.x86_64 How reproducible: Always Steps to Reproduce: Modify the attached nested_refresh_test script to suit local setup and execute it as root. Actual results: uid=10000(user10000) gid=10001(user10000) groups=10001(user10000),10000(group10000) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 uid=10000(user10000) gid=10001 groups=10001 context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 Expected results: uid=10000(user10000) gid=10001(user10000) groups=10001(user10000),10000(group10000) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 uid=10000(user10000) gid=10002(user10000) groups=10002(user10000),10000(group10000),10001(group10001) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 Additional info: NOTE: This reproduces on RHEL6 with sssd 1.9.2-82.7 as well. If the first directory change is not done, the remaining second change is reflected correctly. If a 10 minute delay is introduced between changing the directory and retrieving the user information, the second line becomes this: uid=10000(user10000) gid=10002(user10000) groups=10002(user10000),10001(group10001) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 Which is still incorrect, though.