Score:0

Password expiration with sssd

cn flag

I'm trying to configure password expiration warnings and access rejection with SSSD+LDAP by setting the following:

[domain/LDAP]
ldap_access_order=filter,expire
ldap_pwd_policy = shadow
ldap_access_order =  pwd_expire_policy_warn
ldap_user_shadow_expire=passwordExpirationTime
ldap_user_shadow_warning=pwmLastPwdUpdate
pwd_expiration_warning = 7

However I'm struggling with time formats: my LDAP server return in LDAP timestamps format whereas SSSD is expecting epoch time format.

Has anybody dealt with this before? Any ideas?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.