Does Ldapsearch Query Return Results In An Expected Order? (Doc ID 1638071.1)

Last updated on JULY 01, 2016

Applies to:

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

Goal

Let's assume to have these entries:

uid=jsmith,dc=example,dc=com
uniqueIdentifier=a00001,uid=jsmith,dc=example,dc=com
$ ldapsearch -h hostname -p 3060 -b "uid=jsmith,dc=example,dc=com" objectclass=*

would return first the "parent"

uid=jsmith,dc=example,dc=com

entry and then the "child"?

uniqueIdentifier=a00001,uid=jsmith,dc=example,dc=com

Solution

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 hundreds of Community platforms