OIM – LDAP: error code 32 – Parent entry not found in the directory.

This error will be thrown when we create a user and the corresponding LDAP container with dynamic rule does not exist, with exception trace :

Caused By: javax.naming.NameNotFoundException: [LDAP: error code 32 - LDAP
Error 32 : [LDAP: error code 32 - Parent entry not found in the directory.]];
remaining name 'cn=testuser10
testuser10,cn=samples,cn=in,dc=us,dc=example,dc=com'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3066)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:788)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirCo
ntext.java:319)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCo
mpositeDirContext.java:248)
at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.ja
va:183)

To resolve this issue, create the missing container in LDAP server that matches the container specified in the LDAPContainerRules.xml file.

Leave a Reply

Your email address will not be published. Required fields are marked *