How to get LDAP autodiscovery working?
Issue
- How to get LDAP autodiscovery working?
- What is the configuration needed to get LDAP autodiscovery working for JNDI LDAP providers?
- I am getting following issue when configuring LDAP autodiscovery as follows:
Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:
'DC=example,DC=com'
]; remaining name 'DC=example,DC=com'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3160) [rt.jar:1.8.0_65]
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3081) [rt.jar:1.8.0_65]
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2888) [rt.jar:1.8.0_65]
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1846) [rt.jar:1.8.0_65]
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1769) [rt.jar:1.8.0_65]
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1786) [rt.jar:1.8.0_65]
Environment
- Red Hat JBoss enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
