Hi, I have set :
$ad_mode = false; And password change of user abazoli did not give me any more errors. The problem is that, despite success windows as from attachment, the password for user abazoli has not changed in AD. I cannot see any special error in the log apart from some minor : [Wed Apr 15 15:24:55 2015] [error] [client 192.168.0.165] PHP Notice: Undefined index: changehelpextramessage in /usr/share/self-service-password/pages/change.php on line 184, referer: http://ssp.peerius.local/ [Wed Apr 15 15:25:11 2015] [error] [client 192.168.0.165] PHP Notice: Undefined index: passwordchangedextramessage in /usr/share/self-service-password/pages/change.php on line 248, referer: http://ssp.peerius.local/ Do you have any idea why it has not change it? Thanks Alessandro -----Original Message----- From: Clément OUDOT [mailto:[email protected]] Sent: 15 April 2015 14:32 To: Alessandro Bazoli Cc: [email protected] Subject: Re: [Ltb-users] ldap_bind : unbale to bind to server 2015-04-15 14:12 GMT+02:00 Alessandro Bazoli <[email protected]<mailto:[email protected]>>: > That indeed works! Thanks > > If I set > > > > $who_change_password = "manager"; > > > > I get .. > > > > [Wed Apr 15 12:58:20 2015] [error] [client 192.168.0.165] PHP Warning: > ldap_mod_replace(): Modify: Server is unwilling to perform in > /usr/share/self-service-password/lib/functions.inc.php on line 275, referer: > http://ssp.peerius.local/ > > [Wed Apr 15 12:58:20 2015] [error] [client 192.168.0.165] LDAP - > Modify password error 53 (Server is unwilling to perform), referer: > http://ssp.peerius.local/ > > > > If I set > > > > $who_change_password = "user"; > > > > I get > > > > [Wed Apr 15 13:00:03 2015] [error] [client 192.168.0.165] Cannot > modify AD password as user, referer: http://ssp.peerius.local/ > > > > And on the front end I get > > Password was refused by the LDAP directory > > DO you think there is a problem with values I set in > > $ldap_binddn = "cn=Alessandro Bazoli - > Admin,ou=London,dc=peerius,dc=local"; > > $ldap_bindpw = "password for user above"; > > ? > > > > I check several times and those are correct, that is the admin user for AD. Indeed, my fault, with PHP and AD you are forced to change the password as manager. The error you get with manager is because the password is not accepted by AD. Try to set a more complex password. Clément.
_______________________________________________ ltb-users mailing list [email protected] http://lists.ltb-project.org/listinfo/ltb-users
