Use ldapsearch to search the cn=schema
entry. The base DN is specified as cn=schema, and the
filter "(objectclass=*)" matches all entries. The command uses
a special attribute "+" to return all operational attributes:
$ bin/ldapsearch --baseDN cn=schema \
--searchScope base "(objectclass=*)" "+"