My Oracle Support Banner

ODSEE - Some Custom Attributes Are Not Shown In Ordered Ldapsearch (Doc ID 2394992.1)

Last updated on MAY 11, 2018

Applies to:

Oracle Directory Server Enterprise Edition - Version and later
Information in this document applies to any platform.


When running ldapsearch without specifying what columns to show, ldapsearch output is containing all the not null attributes (including custom attributes).
However, when specifying particular attributes to be shown in some particular order, sometimes, some attributes are not shown.


Good ldapsearch output:
./ldapsearch -p 2389 -s sub -b ou=People,dc=example,dc=com -D "cn=directory manager" -w Welcome1 'ldlguid=c4896ab5a0687fc532ffcae698cb51d6'

Bad ldapsearch output:

ldapsearch -p 2389 -s sub -b ou=People,dc=example,dc=com -D "cn=directory manager" -w Welcome1 'ldlguid=c4896ab5a0687fc532ffcae698cb51d6' ldlsnprefix ldlpostalcity ldlpostalcode ldlpreferences ldlbidstandortleben ldlbadpwdcount cn ldlmailprimary ldlpostalstreet ldlpwdcontrol ldltelephonenumbermobile ldlgruppeleben ldltelephonenumberprimary ldlbidtyp ldlbadpwdtime ldlvisitoraddress ldlfacsimiletelephonenumber ldlaltsecurityidentities ldlorganisationsnr ldlpwdhistory ldlbidstandortsach ldlguid ldlexplicitmemberof ldlpostaladdress ldlbidzahlstelleleben ldlvertretungsnummer ldlstruktureinheitfachlichnr ldlstruktureinheitdisziplinarischnr ldlpwdlastset ldlpwd ldlbenslart ldlgn ldlgivenname ldlsn ldlmemberof ldluseraccountcontrol ldlformofaddress ldlbensl ldlsachbearbeiternummer ldlorganisationseinheitbez ldlbuchungskreisnr ldlbenslgueltigkeitsbeginn


Normally, the order of the requested attribute should not influence the existence of attributes in the result.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

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