Getting an error:
Server is unwilling to perform
while changing unicodePwd in AD through PHP. However, I\'m able to search, add,
After searching a lot and spending a lot of time, I am finally able to modify the active directory user password from PHP code using LDAP library.
We need the LDAP's connection with the active directory server from the PHP code; and that you have to modify the unicodePwd
field.
ldap_connect(ldaps://IP, 636);
ldap_connect(ldaps://IP, 389);