• Use ldapsearch to search all entries in the Directory Server. The filter "(objectclass=*)" matches all entries. If the --searchScope option is not specified, the command defaults to a search scope of sub:
    $ bin/ldapsearch --baseDN dc=example,dc=com \ 
      --searchScope sub "(objectclass=*)"