#1764 Modifications using sss_usermod tool are not reflected in memory cache
Closed: Fixed None Opened 6 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

2 years ago

Login to comment on this ticket.

Metadata