#849 sss_groupshow does not show nested group memberships correctly
Closed: Invalid None Opened 13 years ago by jhrozek.

Shanks found this issue.

For some reason, sss_groupshow does not show more than 2 levels of membership:

[root@zeppelin ~]# sss_groupadd gr1
[root@zeppelin ~]# sss_groupadd gr2
[root@zeppelin ~]# sss_groupadd gr3
[root@zeppelin ~]# sss_groupmod -a gr1 gr2
[root@zeppelin ~]# sss_groupmod -a gr2 gr3
[root@zeppelin ~]# sss_usermod -a gr3 lcl
[root@zeppelin ~]# sss_groupshow -R gr1
Group: gr1
GID number: 1001
Member users: 
Is a member of: 
Member groups:

    Group: gr2
    GID number: 1002
    Member users: 
    Is a member of: gr1
    Member groups: 
[root@zeppelin ~]#

The bug really only hits sss_groupshow because the NSS interface returns all groups:

# id lcl
uid=1000(lcl) gid=1000(lcl) groups=1000(lcl),1001(gr1),1002(gr2),1003(gr3)

Shanks discovered that this used to work in RHEL6.0/sssd-1.2, so most likely the bug was introduced during the sysdb rewrite.


Fields changed

milestone: NEEDS_TRIAGE => SSSD 2.0
priority: major => trivial

Fields changed

rhbz: => 0

Fields changed

blockedby: =>
blocking: =>
feature_milestone: =>
rhbz: 0 => todo

Fields changed

proposed_priority: => Optional

This ticket has been evaluated for inclusion into SSSD 1.10 release and was decided to be excluded since it does not match the main goals and themes of the release. It might be considered for later releases.

moving the ticket to needs_triage for discussion.

changelog: =>
design: =>
design_review: => 0
fedora_test_page: =>
mark: => 0
milestone: SSSD 2.0 => NEEDS_TRIAGE
review: => 0
selected: =>
sensitive: => 0

Fields changed

component: SSSD => Local Provider

The local provider is not actively developed anymore. When we upstream the work on the files provider, we either deprecate or remove the local provider completely.

In the meantime, I'm moving this ticket into "Patches welcome".

milestone: NEEDS_TRIAGE => SSSD Patches welcome

We should close this ticket since the local provider will be removed.

review: 0 => 1

Fields changed

resolution: => wontfix
status: new => closed

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD Patches welcome

7 years ago

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/1891

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata