javax.naming.InvalidNameException: xyz: [LDAP: error code 34 - failed to add RDN values]; remaining name 'xyz'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 3004, 1 year ago
xyz: [LDAP: error code 34 - failed to add RDN values]; remaining name 'xyz'
via Stack Overflow by FoufaFaFa
, 1 year ago
[LDAP: error code 34 - Incorrect DN given : admin@dc=example,dc=com (0x73 0x79 0x73 0x61 0x64 0x6D 0x69 0x6E 0x40 0x64 0x63 0x3D 0x70 0x75 0x70 0x70 0x75 0x74 0x2C 0x64 0x63 0x3D 0x63 0x6F 0x6D ) is invalid]
via Oracle Community by biemond, 1 year ago
[LDAP: error code 34 - invalid DN]
via Stack Overflow by CrazyInDark
, 2 years ago
sAMAccountName=wso2.anonymous.user: [LDAP: error code 64 - 00002073: NameErr: DSID-03050C0D, problem 2005 (NAMING_VIOLATION), data 0, best match of: 'sAMAccountName=wso2.anonymous.user,CN=Users,DC=win,DC=hongsi,DC=com' ]; remaining name 'sAMAccountName=wso2.anonymous.user'
via Stack Overflow by snow
, 2 years ago
via Atlassian JIRA by Piotr Swiecicki [Atlassian], 1 year ago
[LDAP: error code 34 - Incorrect DN given : "cn=another/one,ou=users",dc=atlassian,dc=com (0x22 0x63 0x6E 0x3D 0x61 0x6E 0x6F 0x74 0x68 0x65 0x72 0x2F 0x6F 0x6E 0x65 0x2C 0x6F 0x75 0x3D 0x75 0x73 0x65 0x72 0x73 0x22 0x2C 0x64 0x63 0x3D 0x61 0x74 0x6C 0x61 0x73 0x73 0x69 0x61 0x6E 0x2C 0x64 0x63 0x3D 0x63 0x6F 0x6D ) is invalid]
javax.naming.InvalidNameException: xyz: [LDAP: error code 34 - failed to add RDN values]; remaining name 'xyz'
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2593)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2411)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:651)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:322)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:251)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:239)

Users with the same issue

7 times, 3 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.