OUD - Order of Attribute Subtypes Changed in Search Response
(Doc ID 2026473.1)
Last updated on DECEMBER 14, 2022
Applies to:Oracle Unified Directory - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
When retrieving attributes in an ldapsearch, the order of attribute subtypes changes based on how the attributes are requested.
For example, when all attributes are requested (no specific attributes are requested at the end of the ldapsearch) the attribute subtypes are displayed in one way but when specifying certain attributes to be returned at the end of an ldapsearch, the attribute subtype order displayed changes.
Product：Oracle Unified Directory 188.8.131.52
OS: Linux 64-bit
1 Add an attribute with subtypes to an user entry:
2. Search without specifying attributes:
# ./ldapsearch -p LDAP_PORT -D "cn=DS_ADMIN" -w <PASSWORD> -b "dc=SUFFIX_DN" "(uid=USER.1)"
cn;lang-ja;phonetic:value ***<<--- Order of subtypes are not changed.
3. Search specifying the attribute with subtypes as a returned attributes:
# ./ldapsearch -p LDAP_PORT -D "cn=DS_ADMIN" -w <PASSWORD> -b "dc=SUFFIX_DN" "(uid=USER.1)" 'cn;lang-ja;phonetic'
cn;phonetic;lang-ja:value ***<<--- Here is the issue. Order of subtypes are changed.
In ODSEE, this issue did not occur.
If there is a client application that depends on the order of the attribute subtypes displayed in a search result, the application will not work.
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