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.
Bug 995031 - Sssd fails to refresh nested groups correctly
Summary: Sssd fails to refresh nested groups correctly
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: SSSD Maintainers
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-08 12:40 UTC by Nikolai Kondrashov
Modified: 2020-05-02 17:41 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-23 13:08:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
nested_refresh_test (4.69 KB, text/plain)
2013-08-08 12:40 UTC, Nikolai Kondrashov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 3345 0 None None None 2020-05-02 17:41:28 UTC

Description Nikolai 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.

Comment 2 Jakub Hrozek 2014-04-03 13:53:28 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/2303

Comment 4 Jakub Hrozek 2016-11-23 13:08:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.