ldap_mod_replace() [function.ldap-mod-replace]: Modify: Server is unwilling to perform

前端 未结 2 1197
滥情空心
滥情空心 2020-12-18 06:08

Getting an error:

Server is unwilling to perform

while changing unicodePwd in AD through PHP. However, I\'m able to search, add,

2条回答
  •  一整个雨季
    2020-12-18 06:59

    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);
    

提交回复
热议问题