PingDirectory

Searching for all immediate children for restricted return values

Steps

  • To search for all immediate children of restricted return values, run the ldapsearch tool.

    The special attribute "+" returns all operational attributes.

    Example:

    In this sample, the immediate children are ou=People,dc=example,dc=com, and the restricted returned values are sn and givenName.

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