Skip to Main Content

Security 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!

Inconsistent Behavior : error code 20 - attribute or value exists

1015435Jun 13 2013

     We are getting "error code 20 - attribute or value exists" randomly when we try to create a new user in the LDAP system. This error is thrown so randomly that it is really driving us crazy. With same values for all other mandatory fields and with just a different userId, this error is thrown for some cases and not for others. The entry is also NOT getting created in LDAP. We are able to create the same entry directly at the LDAP through jXxplorer.

Stack Trace:

Caused By: javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - Attribute Or Value Exists]; remaining name 'cn=sdoc,cn=Users,dc=xxx,dc=xxx'

    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3051)

    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3013)

    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2820)

    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:791)

    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)

    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)

    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)

    at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:178)

Is is a bug in rt.jar? We are using JRE1.6.45. Is there anyway we can increase the logging at the rt.jar?

Is there anyway we can bypass this error?

Your help is highly appreciated.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 11 2013
Added on Jun 13 2013
0 comments
531 views