#1764 Modifications using sss_usermod tool are not reflected in memory cache
Closed: Fixed None Opened 7 years ago by jhrozek.

https://bugzilla.redhat.com/show_bug.cgi?id=895132 (Red Hat Enterprise Linux 6)

Description of problem:
Modifications using sss_usermod tool are not reflected in memory cache

Version-Release number of selected component (if applicable):
1.9.2-68

How reproducible:
Always

Steps to Reproduce:
1. Lookup a local user
# getent passwd kaulocal
kaulocal:x:500:500:Kaushik Banerjee:/home/kaulocal:/bin/bash

2. Modify the shell of the user
# sss_usermod -s /bin/ksh kaulocal

3. Lookup the user again
# getent passwd kaulocal
kaulocal:x:500:500:Kaushik Banerjee:/home/kaulocal:/bin/bash

4. Check if the ldb cache is updated
# ldbsearch -H /var/lib/sss/db/sssd.ldb name=kaulocal loginshell
asq: Unable to register control with rootdse!
# record 1
dn: name=kaulocal,cn=users,cn=LOCAL,cn=sysdb
loginShell: /bin/ksh


Actual results:
Since ldb cache is updated, the changes have not been updated in the memory
cache.

Expected results:
Changes via sss_usermod should be propogated to memory cache also.

Additional info:

Fields changed

blockedby: =>
blocking: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
owner: somebody => jhrozek
patch: 0 => 1
selected: =>
status: new => assigned
testsupdated: => 0

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.9.4

resolution: => fixed
status: assigned => closed

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

3 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/2806

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