On 02/07/2024 12:02, seojeong kim wrote:
/var/lib/sss/db/

I try to use SSSD offline authentication.
under /var/lib/sss/db/
    cache_mydomain.ldb
    ccache_mydomain.ldb
    config.ldb
    fast_ccache_mydomain.ldb
    sssd.ldb
    timestamps_mydomain.ldb


SSSD offline authentication works with the cached credential and credential 
will be stored after the  last successful login.
How can I  check if SSSD credential cached properly after the successful login?
Which file should I check ?

List users in the cache with:

# ldbsearch -H /var/lib/sss/db/cache_mydomain.ldb -s one -b cn=users,cn=mydomain,cn=sysdb dn

View a user's cached password:

# ldbsearch -H /var/lib/sss/db/cache_mydomain.ldb -s base -b name=user@mydomain,cn=users,cn=mydomain,cn=sysdb cachedPassword

--
Sam Morris <https://robots.org.uk/>
PGP: rsa4096/CAAA AA1A CA69 A83A 892B  1855 D20B 4202 5CDA 27B9

--
_______________________________________________
sssd-users mailing list -- sssd-users@lists.fedorahosted.org
To unsubscribe send an email to sssd-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-users@lists.fedorahosted.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to