I set up a web SSO which uses LDAP to authenticate users. This portal is named LemonLDAP::NG This portal also let users manage their password (updating and resting throught dedicated service account). This portal is able to retrive attributes needed for password expiration check.
It seems that FreeIPA uses krbPasswordExpiration to store password expiration. However LDAP password control requests use attribute "passwordExpirationTime" to return password state.
Password updates throught Kreberos seems not to update LDAP password expiration date (attribute passwordExpirationTime).
I think for passwordPolicyControl to work, attribute "passwordExpirationTime" should be synchronized with "krbPasswordExpiration".
Is there a way to set sync between these attributes? or Does this need some developement?
last ssh auth attempt start password renewal procedure
ldapsearch search should show "expired password"
$ cat /etc/centos-release CentOS Linux release 8.4.2105
$ rpm -q freeipa-server freeipa-client ipa-server ipa-client 389-ds-base pki-ca krb5-server package freeipa-server is not installed package freeipa-client is not installed ipa-server-4.9.2-4.module_el8.4.0+846+96522ed7.x86_64 ipa-client-4.9.2-4.module_el8.4.0+846+96522ed7.x86_64 389-ds-base-1.4.3.16-19.module_el8.4.0+884+e9b25896.x86_64 pki-ca-10.10.5-3.module_el8.4.0+816+beb6e9a3.noarch krb5-server-1.18.2-8.el8.x86_64
N/A
IPA does its own password policy enforcement and doesn't use the 389-ds policy framework. I don't know if it is possible to tie this in as the policy control is deep within 389.
(removed spam comment)
I think this is a duplicate of https://pagure.io/freeipa/issue/1539
This should be resolved by the changes in 1539
Metadata Update from @rcritten: - Issue close_status updated to: duplicate - Issue status updated to: Closed (was: Open)