Search for all immediate children of
ou=People,dc=example,dc=com. The attributes returned
are restricted to sn and givenName. The
special attribute "+" returns all operational attributes:
$ bin/ldapsearch --baseDN ou=People,dc=example,dc=com \
--searchScope one '(objectclass=*)' sn givenName "+"