My Oracle Support Banner

OUD 12c Multi-valued Attributes are not Returned in the Same Order as Created (Doc ID 2827508.1)

Last updated on DECEMBER 28, 2021

Applies to:

Oracle Unified Directory - Version 12.2.1.4.210406 and later
Information in this document applies to any platform.

Symptoms

Multi-value attributes are not returned in the same order as created

example:

Create a user and search user to view all attributes
./ldapsearch -p <PORT> -D "cn=<DS_ADMIN>" -w <PASSWORD> -b "cn=first,ou=people,dc=<DOMAIN>,dc=com" -s sub "objectclass=*"
dn: cn=First,ou=People,dc=<DOMAIN>,dc=com
sn: First
userPassword: <PASSWORD>
cn: First
objectClass: top
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
givenName: First
uid: First




Add multiple values to the CN attribute -- Second, third and fourth (one at a time), then search user again.
The cn values are not returned in the order created.

./ldapsearch -p <PORT> -D "cn=<DS_ADMIN>" -w <PASSWORD> -b "cn=first,ou=people,dc=<DOMAIN>,dc=com" -s sub "objectclass=*"
dn: cn=First,ou=People,dc=<DOMAIN>,dc=com
sn: First
userPassword:<PASSWORD>
cn: second
cn: third
cn: fourth
cn: First
objectClass: top
objectClass: organizationalPerson
objectClass: person
objectClass: inetOrgPerson
uid: First

Changes

 

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
Changes
Cause
Solution
References


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