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.

Bug 1354414

Summary: New or modified ID-View User overrides are not visible unless rm -f /var/lib/sss/db/*cache*
Product: Red Hat Enterprise Linux 7 Reporter: Luc de Louw <ldelouw>
Component: sssdAssignee: SSSD Maintainers <sssd-maint>
Status: CLOSED ERRATA QA Contact: Steeve Goveas <sgoveas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: grajaiya, jhrozek, ksiddiqu, lslebodn, mkosek, mvarun, mzidek, pbrezina
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.14.0-10.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1440193 (view as bug list) Environment:
Last Closed: 2016-11-04 07:19:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1440193    

Description Luc de Louw 2016-07-11 09:35:18 UTC
Description of problem:
When adding a new Override or modifying an existing one in IPAs ID-View, the changes are not visible to the systems in question. 

Version-Release number of selected component (if applicable):
sssd-1.13.0-40.el7_2.9

How reproducible:
Always

Steps to Reproduce:
1.id tester
uid=1001(tester) gid=1002 groups=1002,94800003(satorgadmin),94800008(oradba)
2. Change User override in IPA
3. sss_cache -E && systemctl restart sssd
4. id tester
uid=1001(tester) gid=1002 groups=1002,94800003(satorgadmin),94800008(oradba)


Actual results:
See Steps to Reproduce


Expected results:

ID-View Overrides changes should be visible ideally instantly or within a defined timeframe 


Additional info:

As a workaround one can remove the cache files:
# systemctl stop sssd
# rm -f /var/lib/sss/db/*cache*
# systemctl start sssd

Comment 1 Sumit Bose 2016-07-11 11:00:15 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/3092

Comment 5 Varun Mylaraiah 2016-09-22 10:01:50 UTC
Verified 
sssd-1.14.0-42.el7.x86_64
ipa-server-4.4.0-12.el7.x86_64

[root@host108 ~]# id aduser99
uid=175005770(aduser99) gid=175005770(aduser99) groups=175005770(aduser99)
[root@host108 ~]# ipa idoverrideuser-add
ID View Name: Default Trust View
Anchor to override: aduser99
--------------------------------------------------
Added User ID override "aduser99"
--------------------------------------------------
  Anchor to override: aduser99
  
[root@host108 ~]# ipa idoverrideuser-mod --uid=175005555
ID View Name: Default Trust View
Anchor to override: aduser99
--------------------------------------------------------
Modified an User ID override "aduser99"
--------------------------------------------------------
  Anchor to override: aduser99
  UID: 175005555

[root@host108 ~]# sss_cache -E && systemctl restart sssd
[root@host108 ~]# 
[root@host108 ~]# id aduser99
uid=175005555(aduser99) gid=175005770(aduser99) groups=175005770(aduser99)

Comment 7 errata-xmlrpc 2016-11-04 07:19:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2476.html