I have a Perl script using Net::LDAP to create new accounts in Microsoft Active Directory. Everything is working well except the password change (see output below). I am attempting to perform a ldap->modify(replace) which works well for other attributes, but not the password. I am getting a LDAP_UNWILLING_TO_PERFORM error. Has anyone encountered this error before?
Setting up Email account for CN=Test 02 User,OU=Student,dc=campus,dc=georgefox,dc=edu Bind success! tuser02 AD and Email created successfully Error modifying unicodePWD=IgAxADIAMwA0ACoAZwBmAHUAIgA= LDAP_UNWILLING_TO_PERFORM: The server is unwilling to perform the requested operation tuser02 userAccountControl modified successfully tuser02 added to 'All Users' group tuser02 added to 'Student' group DONE Dan Swanson Programmer / Analyst / System Admin George Fox University 503.554.2576