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
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
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCo
at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.ja

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 *