Difference between revisions of "Sssd cache"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
https://pagure.io/SSSD/sssd/issue/3886 | https://pagure.io/SSSD/sssd/issue/3886 | ||
``` | ``` | ||
+ | sssctl debug-level 9 | ||
SSS_NSS_USE_MEMCACHE=NO | SSS_NSS_USE_MEMCACHE=NO | ||
``` | ``` |
Revision as of 16:49, 27 July 2022
Most commonly, this is used to clear the cache and update all records: ~]# sss_cache -E The sss_cache command can also clear all cached entries for a particular domain: ~]# sss_cache -Ed LDAP1 If the administrator knows that a specific record (user, group, or netgroup) has been updated, then sss_cache can purge the records for that specific account and leave the rest of the cache intact: ~]# sss_cache -u jsmith
https://pagure.io/SSSD/sssd/issue/3886
sssctl debug-level 9 SSS_NSS_USE_MEMCACHE=NO
https://access.redhat.com/discussions/3352911
You can't disable caching completely with sssd. You can disable sss as an authentication provider completely and just query LDAP directly if that's what you want. For example, in /etc/nsswitch.conf, change lines like: passwd: files sss to passwd: files ldap