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

Oracle Community | 3004 | 2 decades ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    createSubContext fails!

    Oracle Community | 2 decades ago | 3004
    javax.naming.InvalidNameException: xyz: [LDAP: error code 34 - failed to add RDN values]; remaining name 'xyz'
  2. 0

    Don´t understand this Java LDAP Error

    Stack Overflow | 1 year ago | areenk
    javax.naming.InvalidNameException: Invalid name: fdai0001; remaining name 'fdai0001' Insertion nicht möglich: ECHEC
  3. 0

    LDAP Output 3.0 - ERROR

    Stack Overflow | 3 months ago | 周园林
    org.pentaho.di.core.exception.KettleException: 2017/01/17 16:54:43 - LDAP Output 3.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error inserting for entry with DN = [0002]! 2017/01/17 16:54:43 - LDAP Output 3.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Invalid name: 0002 2017/01/17 16:54:43 - LDAP Output 3.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : 2017/01/17 16:54:43 - LDAP Output 3.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Add user to LDAP using JAVA. Naming.InvalidNameException: Invalid Name

    Stack Overflow | 2 years ago | Raavi
    javax.naming.InvalidNameException: Invalid name: dn: cn=username,ou=Users,dc=example,dc=com cn: User Name sn: User givenName: Name objectClass: inetOrgPerson displayName: user Name userPassword: Password; remaining name 'dn: cn=UserName,ou=Users,dc=example,dc=com cn: User Name sn: User givenName: Name objectClass: inetOrgPerson displayName: User Name userPassword: 123456'

    Root Cause Analysis

    1. javax.naming.InvalidNameException

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

      at com.sun.jndi.ldap.LdapCtx.processReturnCode()
    2. Java RT
      InitialDirContext.createSubcontext
      1. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2593)
      2. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2411)
      3. com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:651)
      4. com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:322)
      5. com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:251)
      6. com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:239)
      7. javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:179)
      7 frames