N/APosted on - 02/12/2012
I have an LDAP java program for Active Directory acceptance. I am stuck with 2 questions. Please answer these.
I can successfully run when I update user information without updating the user name or an attribute. But an error occurs when trying to update name or attribute See below.
javax.naming.OperationNotSupportedException: [LDAP: error code 53 –
cErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0
I need a way to update name and an attribute in user.
The second one is that I want to transfer a user from one group to another. For example, I want update user dn:
To another group with dn update to
I want to know how to do the transfer from AD111 to AD222.
Thanks in advance.
Updating username and attribute in LDAP causes error; Transfer users between groups
For the first question, "(WILL_NOT_PERFORM)" indicates that LDAP server can't process your request because of some server defined restrictions. This error may occur for several reasons, u should solve your problem first in order to be able to update your data.
Maybe the add entry request violates the server defined rules. Or the modify attribute request specifies some attributes that users r not able to modify. Or password restrictions prevent this action. Or connection restrictions may also prevent the action.
In your case, this error happens because LDAP is unable to update the attribute. This because the value provided to the new attribute doesn't meet the server predefined rules like length, complexity or history requirements of the domain.
This happens often when u try to enable a user that has an empty password. To resolve this issue, try to reset the password of the target user or select to synchronize passwords ensuring that they r not blank.
Hope this may help you.
Best of luck