My Oracle Support Banner

Using OID ldapcompare on User Attributes Other than Userpassword Fails with: ldap_compare_s: Insufficient access error (Doc ID 1054508.1)

Last updated on OCTOBER 17, 2019

Applies to:

Oracle Internet Directory - Version 10.1.2 and later
Information in this document applies to any platform.


Executing ldapcompare with user other than cn=orcladmin on user attributes results in:
ldap_compare_s: Insufficient access error

ldapcompare -h <OID_HOSTNAME> -p <OID_PORT -D 'cn=<USERNAME1>,cn=users,dc=<COMPANY>,dc=com' -w <PASSWORD>   -b "cn=<USERNAME2>,cn=users,dc=<COMPANY>,dc=com" -a uid -v '<USERNAME2>'

The above statement works correctly when running ldapcompare on the attribute 'userpassword'.


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.