Searching for all children of an entry in sorted order - PingDirectory - 9.3

PingDirectory 9.3

bundle
pingdirectory-93
ft:publication_title
PingDirectory 9.3
Product_Version_ce
PingDirectory 9.3 (Latest)
category
Product
pd-93
pingdirectory
ContentType_ce
To search for all children of an entry in the appropriate subtree, run the ldapsearch command.
  • To sort the resulting entries by the server in ascending order, use sn.
  • To sort the orders in descending order, use givenName.

For this example, the ldapsearchcommand searches for children in the ou=People,dc=example,dc=com subtree.

$ bin/ldapsearch --baseDN ou=People,dc=example,dc=com \ 
  --searchScope sub --sortOrder sn,-givenName '(objectclass=*)'