cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2109236
ldap bind occurs when admin user changes password with gracelimit=0
ipa-server-4.9.10-4.module+el8.7.0+15926+daa9f08b.x86_64
Always.
When password for the ipa user is changed by an administrator the grace period is set to 0. It allows bind. [root@server ~]# ldapsearch -LLL -x -D 'uid=user1,cn=users,cn=accounts,dc=rhel87,dc=test' -W -e ppolicy -b uid=user1,cn=users,cn=accounts,dc=rhel87,dc=test dn -v ldap_initialize( ) Enter LDAP Password: filter: (objectclass=*) requesting: dn dn: uid=user1,cn=users,cn=accounts,dc=rhel87,dc=test
With Grace Period Value=0 All LDAP BIND on expired passwords are denied Basically -1 and 0 values are behaving the same.
Metadata Update from @rcritten: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=2109236
PR https://github.com/freeipa/freeipa/pull/6373
Metadata Update from @rcritten: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=2109236 https://bugzilla.redhat.com/show_bug.cgi?id=2110014 (was: https://bugzilla.redhat.com/show_bug.cgi?id=2109236)
master:
ipa-4-10:
ipa-4-9:
Metadata Update from @rcritten: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)