[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sssd-users
Subject:    =?utf-8?q?=5BSSSD-users=5D?= Re: Check credentials cache expiration
From:       Francis Augusto Medeiros-Logeay <r_f () med-lo ! eu>
Date:       2022-05-11 18:21:09
Message-ID: bf02ff652848db58e249ac14436bef97 () med-lo ! eu
[Download RAW message or body]

Sorry, wrong list, I thought this was a kerberos question, and I sent 
the answer too quickly...

---
Francis Augusto Medeiros-Logeay
Oslo, Norway

On 2022-05-11 20:19, Francis Augusto Medeiros-Logeay wrote:
> Won't `klist` do it?
> ---
> Francis Augusto Medeiros-Logeay
> Oslo, Norway
> 
> On 2022-05-11 16:23, David Wittwer wrote:
>> Hi everyone
>> 
>> Short: Is there a way to check how long the cached credentials of a
>> specific user are still valid?
>> 
>> Somewhat longer:
>> 
>> When I'm offline and I log in with cached credentials, it says
>> something like "Authenticated with cached credentials, your cached
>> password will expire at: XYZ".
>> 
>> Unfortunately,
>> 
>> # sssctl user-show <wid>
>> 
>> doesn't show this information...
>> 
>> I've checked with the cache file in
>> /var/lib/sss/db/cache_<domain>.ldb. The relevant field is probably the
>> "lastOnlineAuth" field, or the "lastLogin" field. Is there a way to
>> instruct SSSD to reveal those fields to a user process without doing a
>> full authentication?
>> 
>> 
>> Thanks & Regards
>> 
>> --David Wittwer
>> 
>> _______________________________________________
>> sssd-users mailing list -- sssd-users@lists.fedorahosted.org
>> To unsubscribe send an email to 
>> sssd-users-leave@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 on the list, report it:
>> https://pagure.io/fedora-infrastructure
> _______________________________________________
> sssd-users mailing list -- sssd-users@lists.fedorahosted.org
> To unsubscribe send an email to sssd-users-leave@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 on the list, report it:
> https://pagure.io/fedora-infrastructure
_______________________________________________
sssd-users mailing list -- sssd-users@lists.fedorahosted.org
To unsubscribe send an email to sssd-users-leave@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 on the list, report it: https://pagure.io/fedora-infrastructure

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic