javax.naming.InvalidNameException: [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]

Stack Overflow | FoufaFaFa | 5 months 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

    LDAP: error code 34 - Incorrect DN given

    Stack Overflow | 5 months ago | FoufaFaFa
    javax.naming.InvalidNameException: [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]

    Root Cause Analysis

    1. javax.naming.InvalidNameException

      [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]

      at com.sun.jndi.ldap.LdapCtx.processReturnCode()
    2. Java RT
      LdapCtx.connect
      1. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3076)
      2. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2883)
      3. com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2797)
      3 frames