I am changing active directory password from java client. I am getting general error like ‘Will Not Perform’. I am using windows 2003 server for active directory. How can I get specific errors like password strength or length error?
I am changing active directory password from java client. I am getting general error
Share
On Windows 2003 along with the LDAP error code for “Will Not Perform”, the AD returns an error message. That error message contains all the data you need. Part of it is System Error Code, which specifies more exact error, and sometimes the string ends with
data XXX, which provides some more information, however I was never able to find from where XXX codes are taken (in most cases it is just 0), so you may need to experiment a little.In your case the message will look similar to this one:
In this case the error is: