#2631 idoverridegroup for ipa group with --group-name does not work
Closed: Fixed None Opened 8 years ago by jhrozek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 6): Bug 1213716

Description of problem:
idoverridegroup with --group-name for a ipa group does not work


Version-Release number of selected component (if applicable):
[root@ibm-x3250m4-04 ~]# rpm -q sssd
sssd-1.12.4-29.el6.x86_64

How reproducible:
always

Steps to Reproduce:

On server

[root@sideswipe ~]# ipa idoverridegroup-add hostview grp2 --group-name ipagrp2
------------------------------
Added Group ID override "grp2"
------------------------------
  Anchor to override: grp2
  Group name: ipagrp2
[root@sideswipe ~]# service sssd stop ; rm -f /var/lib/sss/{db,mc}/* ; service
sssd start
Redirecting to /bin/systemctl stop  sssd.service
Redirecting to /bin/systemctl start  sssd.service

[root@sideswipe ~]# ipa idview-show hostview --show-hosts
  ID View Name: hostview
  User object overrides: aduser2@adtest.qe, ipauser1
  Group object overrides: grp1, grp2
  Hosts the view applies to: ibm-x3250m4-04.ipaviews.test

On Client

[root@ibm-x3250m4-04 ~]# service sssd stop; rm -rf /var/lib/sss/{db,mc}/*;
service sssd start
Stopping sssd: [  OK  ]
Starting sssd: [  OK  ]
[root@ibm-x3250m4-04 ~]# hostname
ibm-x3250m4-04.ipaviews.test
[root@ibm-x3250m4-04 ~]# getent group ipagrp2 ; echo $?
2
[root@ibm-x3250m4-04 ~]# getent group ipagrp2 ; echo $?
2
[root@ibm-x3250m4-04 ~]# getent group ipagrp2 ; echo $?
2

[root@ibm-x3250m4-04 ~]# getent group grp2
ipagrp2:*:1902400007:user1

[root@ibm-x3250m4-04 ~]# getent group ipagrp2 ; echo $?
ipagrp2:*:1902400007:user1
0

Fields changed

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
mark: no => 0
patch: 0 => 1
review: True => 0
selected: =>
testsupdated: => 0

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.12.5

resolution: => fixed
status: new => closed

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

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

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