My Oracle Support Banner

OID Groups Do Not Show Unique Members in ldapsearch Command Result (Doc ID 2435670.1)

Last updated on OCTOBER 17, 2019

Applies to:

Oracle Internet Directory - Version 11.1.1 to 12.2.1.3.180621 [Release 11g to 12c]
Information in this document applies to any platform.

Symptoms

OID groups do not show unique members in ldapasearch command result  .

Unique members were added but sometimes they do not show up on the ldapsearch result.

$ ldapsearch -h <OID_HOSTNAME> -p <PORT> -D cn=orcladmin -w <PASSWORD> -b "cn=<GROUPNAME>,cn=groups,dc=<COMPANY>,dc=com" -s base "objectclass=*" uniquemember

Result:

 

 

ccn=<GROUPNAME>,cn=groups,dc=<COMPANY>,dc=com

    

When try to add the same user back and it fails with below error.

Modify Failed. Host='<OID_HOSTNAME>' Details: [LDAP: error code 20 - uniquemember attribute has duplicate value.]


After the the Error message  ldapsearch command returns the unique members of the group correctly .

$ldapsearch -h <OID_HOSTNAME> -p <PORT> -D cn=orcladmin -w <PASSWORD> -b "cn=<GROUPNAME>,cn=groups,dc=<COMPANY>,dc=com" -s base "objectclass=*" uniquemember

Result:

cn=<GROUPNAME>,cn=groups,dc=<COMPANY>,dc=com

uniquemember=cn=<USERNAME1>

uniquemember=cn=<USERNAME2>
uniquemember=cn=<USERNAME3>

 

Cause

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
Symptoms
Cause
Solution


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