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 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    LDAP: error code 34 - Incorrect DN given

    Stack Overflow | 6 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