Description
Hi,
I'm trying to set up self-service-password so that users can change their own password on our openldap. This ldap is configured to make passwords expired after XX days and YY grace logins.
It works fine before password expiration, but I can't get it to work when user has an expired password and no more grace logins allowed, I still get the log message in httpd logs:
[error] [client 1.2.3.4] LDAP - Bind error 49 (Invalid credentials), referer: https://my-server.example.com/pwdchange/index.php
I tried with both possible who_change_password
values, no success. I tried the $ad_options['change_expired_password'] = true;
no success - I guess it's only working for AD. The $ldap_binddn
I tried is the olcRootDN
on the openldap database, it has all read and modification rights, so it should be able to check userPassword value without binding to it.
Did I miss something? Would you know how I can reset an expired password?
Many thanks for your support,
sfieux