Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

LDAP OperationNotSupportedException : error code 53 - 0000001F

AnuuJun 24 2013

Hello all,

when I create a user using JNDI , I am now getting LDAP Error 53 (WILL_NOT_PERFORM)"

Am trying set password for the created user, Also i've disabled User must change password at next logon Option

attrs.put("unicodePwd", "\"Test123\"".getBytes("UTF-16LE") );

            String newValue = Integer.toString(-1);

            ModificationItem mods[] = new ModificationItem[2];

            mods[0] =

                    new ModificationItem(DirContext.REMOVE_ATTRIBUTE, new BasicAttribute("pwdLastSet"));

            mods[1] =

                    new ModificationItem(DirContext.ADD_ATTRIBUTE, new BasicAttribute("pwdLastSet",

                                                                                      newValue));

            ctx.modifyAttributes(userName, mods);

Problem creating object: javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 0000001F: SvcErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0

Any ideas as to what I am doing wrong or missing?

Thanks,

Anu.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 22 2013
Added on Jun 24 2013
0 comments
747 views