javax.naming.NamingException: [LDAP: error code 1 - 000020D6: SvcErr: DSID-03100690, problem 5012 (DIR_ERROR), data 0 ]; remaining name 'DC=com,DC=yyy,DC=xxx,ou=Test']

Oracle Community | 3004 | 2 decades ago
  1. 0

    WLS6.0 SP1 and LDAPRealm

    Google Groups | 2 decades ago | Anton Pechinsky
    javax.naming.NamingException: [LDAP: error code 1 - 000020D6: SvcErr: DSID-03100690, problem 5012 (DIR_ERROR), data 0 ]; remaining name 'DC=com,DC=yyy,DC=xxx,ou=Test']
  2. 0

    WLS6.0 SP1 and LDAPRealm

    Oracle Community | 2 decades ago | 3004
    javax.naming.NamingException: [LDAP: error code 1 - 000020D6: SvcErr: DSID-03100690, problem 5012 (DIR_ERROR), data 0 ]; remaining name 'DC=com,DC=yyy,DC=xxx,ou=Test']
  3. 0

    Hi Guys, Here is the relevant issue that we have created in Crowd: http://jira.atlassian.com/browse/CWD-183 A quick summary: If a group contains a '\' we get the following exception: javax.naming.NamingException: problem generating object using object factory [Root exception is org.springframework.ldap.BadLdapGrammarException: Failed to parse DN; nested exception is org.springframework.ldap.support.TokenMgrError: Lexical error at line 1, column 22. Encountered: "\\" (92), after : ""]; remaining name 'dc=ad,dc=atlassian,dc=com' at com.sun.jndi.ldap.LdapSearchEnumeration.createItem(LdapSearchEnumeration.java:111) at com.sun.jndi.ldap.LdapNamingEnumeration.nextAux(LdapNamingEnumeration.java:256) at com.sun.jndi.ldap.LdapNamingEnumeration.nextImpl(LdapNamingEnumeration.java:236) at com.sun.jndi.ldap.LdapNamingEnumeration.next(LdapNamingEnumeration.java:184) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:271) If a group contains a '/' we get this exception: org.springframework.ldap.UncategorizedLdapException: Operation failed; nested exception is javax.naming.NamingException: [LDAP: error code 1 - 000020D6: SvcErr: DSID-031006CC, problem 5012 (DIR_ERROR), data 0]; remaining name 'cn=Website Feedback/Support, ou=Groups, dc=ad, dc=atlassian, dc=com' javax.naming.NamingException: [LDAP: error code 1 - 000020D6: SvcErr: DSID-031006CC, problem 5012 (DIR_ERROR), data 0 remaining name 'cn=Website Feedback/Support, ou=Groups, dc=ad, dc=atlassian, dc=com' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3025) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737) at com.sun.jndi.ldap.LdapCtx.c_lookup(LdapCtx.java:993) at com.sun.jndi.toolkit.ctx.ComponentContext.c_resolveIntermediate_nns(ComponentContext.java:152) at com.sun.jndi.toolkit.ctx.AtomicContext.c_resolveIntermediate_nns(AtomicContext.java:342) at com.sun.jndi.toolkit.ctx.ComponentContext.p_resolveIntermediate(ComponentContext.java:381) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:360) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321) at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248) at org.springframework.ldap.LdapTemplate$4.executeSearch(LdapTemplate.java:227) If you could shed any light onto this or point us in the right direction we will continue to investigate. Cheers, Justin

    Spring JIRA | 10 years ago | Justin Koke
    javax.naming.NamingException: [LDAP: error code 1 - 000020D6: SvcErr: DSID-031006CC, problem 5012 (DIR_ERROR), data 0 remaining name 'cn=Website Feedback/Support, ou=Groups, dc=ad, dc=atlassian, dc=com'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    LDAP-50: BadLdapGrammarException when a group or principal contains a '\' in its name

    GitHub | 10 years ago | spring-issuemaster
    javax.naming.NamingException: [LDAP: error code 1 - 000020D6: SvcErr: DSID-031006CC, problem 5012 (DIR_ERROR), data 0 remaining name 'cn=Website Feedback/Support, ou=Groups, dc=ad, dc=atlassian, dc=com'
  6. 0

    Hi Guys, Here is the relevant issue that we have created in Crowd: http://jira.atlassian.com/browse/CWD-183 A quick summary: If a group contains a '\' we get the following exception: javax.naming.NamingException: problem generating object using object factory [Root exception is org.springframework.ldap.BadLdapGrammarException: Failed to parse DN; nested exception is org.springframework.ldap.support.TokenMgrError: Lexical error at line 1, column 22. Encountered: "\\" (92), after : ""]; remaining name 'dc=ad,dc=atlassian,dc=com' at com.sun.jndi.ldap.LdapSearchEnumeration.createItem(LdapSearchEnumeration.java:111) at com.sun.jndi.ldap.LdapNamingEnumeration.nextAux(LdapNamingEnumeration.java:256) at com.sun.jndi.ldap.LdapNamingEnumeration.nextImpl(LdapNamingEnumeration.java:236) at com.sun.jndi.ldap.LdapNamingEnumeration.next(LdapNamingEnumeration.java:184) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:271) If a group contains a '/' we get this exception: org.springframework.ldap.UncategorizedLdapException: Operation failed; nested exception is javax.naming.NamingException: [LDAP: error code 1 - 000020D6: SvcErr: DSID-031006CC, problem 5012 (DIR_ERROR), data 0]; remaining name 'cn=Website Feedback/Support, ou=Groups, dc=ad, dc=atlassian, dc=com' javax.naming.NamingException: [LDAP: error code 1 - 000020D6: SvcErr: DSID-031006CC, problem 5012 (DIR_ERROR), data 0 remaining name 'cn=Website Feedback/Support, ou=Groups, dc=ad, dc=atlassian, dc=com' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3025) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737) at com.sun.jndi.ldap.LdapCtx.c_lookup(LdapCtx.java:993) at com.sun.jndi.toolkit.ctx.ComponentContext.c_resolveIntermediate_nns(ComponentContext.java:152) at com.sun.jndi.toolkit.ctx.AtomicContext.c_resolveIntermediate_nns(AtomicContext.java:342) at com.sun.jndi.toolkit.ctx.ComponentContext.p_resolveIntermediate(ComponentContext.java:381) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:360) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321) at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248) at org.springframework.ldap.LdapTemplate$4.executeSearch(LdapTemplate.java:227) If you could shed any light onto this or point us in the right direction we will continue to investigate. Cheers, Justin

    Spring JIRA | 10 years ago | Justin Koke
    javax.naming.NamingException: [LDAP: error code 1 - 000020D6: SvcErr: DSID-031006CC, problem 5012 (DIR_ERROR), data 0 remaining name 'cn=Website Feedback/Support, ou=Groups, dc=ad, dc=atlassian, dc=com'

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.NamingException

      [LDAP: error code 1 - 000020D6: SvcErr: DSID-03100690, problem 5012 (DIR_ERROR), data 0 ]; remaining name 'DC=com,DC=yyy,DC=xxx,ou=Test']

      at weblogic.security.ldaprealm.LDAPDelegate.getUserAttrs()
    2. weblogic.security.ldaprealm
      LDAPRealm.getUser
      1. weblogic.security.ldaprealm.LDAPDelegate.getUserAttrs(LDAPDelegate.java:377)
      2. weblogic.security.ldaprealm.LDAPDelegate.userExists(LDAPDelegate.java:384)
      3. weblogic.security.ldaprealm.LDAPRealm.getUser(LDAPRealm.java:57)
      3 frames
    3. weblogic.security.acl
      FileRealm.loadMembers
      1. weblogic.security.acl.CachingRealm.getUserEntry(CachingRealm.java:806)
      2. weblogic.security.acl.CachingRealm.getUser(CachingRealm.java:670)
      3. weblogic.security.acl.internal.FileRealm.getPrincipalFromAnyRealm(FileRealm.java:1003)
      4. weblogic.security.acl.internal.FileRealm.ensureRequiredObjectsExist(FileRealm.java:952)
      5. weblogic.security.acl.internal.FileRealm.loadMembers(FileRealm.java:1202)
      5 frames
    4. weblogic.security
      SecurityService.initialize
      1. weblogic.security.SecurityService.initializeRealm(SecurityService.java:281)
      2. weblogic.security.SecurityService.initialize(SecurityService.java:123)
      2 frames
    5. weblogic.t3.srvr
      T3Srvr.run
      1. weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
      2. weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
      2 frames
    6. weblogic
      Server.main
      1. weblogic.Server.main(Server.java:35)
      1 frame