My Oracle Support Banner

"Error occurred while looking up the entity in LDAP" Failure when Attempting to Create User in New OIM LDAPSync Instance (Doc ID 2391103.1)

Last updated on OCTOBER 08, 2021

Applies to:

Identity Manager - Version to [Release 11g]
Information in this document applies to any platform.


Needed an different realm like dc=oid,dc=example,dc=com from old realm of dc=prod,dc=test1,dc=company,dc=com.

Created the new realm using oidrealm tool and enabled ldapsync to this realm.

Unable to create user in OIM as it throws below error.

... [oim_server_host1] [ERROR] [] [oracle.iam.platform.entitymgr.provider.ldap] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] ... [APP: oim#] An error occurred while looking up the entity in LDAP, and the corresponding error is - {0}[[
  at javax.naming.InitialContext.getURLScheme(
  at javax.naming.InitialContext.getURLOrDefaultInitCtx(
  at oracle.iam.platform.entitymgr.provider.ldap.LDAPUtil.getAttributes(
  at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.lookup(
  at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntity(
  at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntity(
  at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.createEntity(
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(


The OVD log shows conflict:

REQUEST dn=cn=Users,cn=testAccounts,dc=prod,dc=test1,dc=company,dc=com suffix=dc=oid,dc=example,dc=com



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.