My Oracle Support Banner

OAM Integrated with OID 11g (up to - Ldapsearches Return No Results Or Partial Results / OAM Policy Related Functionality Intermittent Failing / OAM 10g API Reports Missing Policies (Doc ID 1408607.1)

Last updated on NOVEMBER 01, 2019

Applies to:

Oracle Internet Directory - Version to [Release 11g]
COREid Access - Version and later
Information in this document applies to any platform.


Oracle Internet Directory (OID) 11g integrated with Oracle Access Manager (OAM).

Scenario 1

Basic ldapsearches return nothing / no data / no results, for example:

ldapsearch -h <OID_HOSTNAME> -p <OID_LDAP_NONSSL_PORT> -D "cn=orcladmin" -q -s base "ou=<ADMIN_USER>,dc=<COMPANY>,dc=com" "objectclass=*"

Or, OAM returns 'Invalid Credentials' for some OID users randomly or intermittently.  An OID debug log may sometimes show searches with filter such as below returning nentries=0:


Whereas a few seconds apart, the log shows the same search with same filter returning nentries=1.

The following workaround resolves this problem:

- Create an ldif (text) file with the following:

Afterwards, all searches worked fine and users can login to Oracle Access Manager (OAM) without problems.

Scenario 2

Manually exported all OAM config and policy data from a working OID via ldifwrite to an ldif file, then bulkloaded the data into a newly installed OID 11g with restore option.

Verified the data is the same on the exported and imported OIDs using different methods, i.e., oidcmprec with compare option, ldif file comparison tools, etc.

Even though the data is confirmed to be the same, OAM using OID 11g does not work correctly; there are intermittent problems with OAM functionality and the policies do not work as they should, for example, a user type may not get authenticated, or a functionality behaves as if the policies were not correct.  Also, an OAM API to validate the policies ( consistently reports missing policies.

If importing the same data into another OID instead, OAM does not have any such problems and continues to work as in the original environment.




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.