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

  • master:
    • 2c0a971010596c122d7a0c0d76c8eb85f16f6d06
    • 2bb2eadf2b1b7854f430e37689b3e7a25bedfebd
    • 543676afec3c08fdc0a5a794976adc8dfdca974b
    • 82dc11348718bf8e2ff07da696f91f6703293c24
  • sssd-1-9:
    • 6dd62227d77d000f3a6de42ee153274884a3c7f4
    • 89357445fdb3c34b9693c3d6fea55e7cac04e638
    • ee385ca9786f97560f2fc072ed80cb28cfb10c6a
    • 97091d2d84d682c5d78343a64c1667e18e93b575

resolution: => fixed
status: assigned => closed

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

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.

Metadata