Searching the root DSE and schema entry
The LDAP service supports schema-publishing, which means the directory includes a schema entry that you can use to retrieve the directory schema. Use the ldapsearch utility provided with Notes® and Domino® or use another LDAP V3-compliant LDAP search tool to search the root directory server entry (DSE) to determine the name of this schema entry and to retrieve other information about the Domino® LDAP directory -- for example, to retrieve the LDAP versions, extensions, and controls supported.
When you search the root DSE or the schema entry you can specify whether to return values for operational attributes. An operational attribute is an attribute that is used for directory administration.
Searching the root DSE
To search the root DSE, use one of the following ldapsearch commands:
To return the values of all attributes, specify one of the following:
ldapsearch -h hostname -b
'' -s base "(objectclass=*)"
ldapsearch -h hostname -b
"" -s base "(objectclass=*)" * +
To return only the values of non-operational attributes, specify:
ldapsearch -h hostname -b
"" -s base "(objectclass=*)" *
To return only the values of operational attributes, specify:
ldapsearch -h hostname -b
"" -s base "(objectclass=*)" +
Searching the schema entry
To search the schema entry to retrieve the directory schema, use one of the following ldapsearch commands.
To return only the values of non-operational attributes, specify:
ldapsearch
-h hostname -b "cn=schema" -s base "(objectclass=subschema)"
*
To return only the values of operational attributes, specify:
ldapsearch -h hostname -b
"cn=schema" -s base "(objectclass=subschema)" +
To return the values of all attributes, specify:
ldapsearch -h hostname -b
"cn=schema" -s base "(objectclass=subschema)" * +
The easiest way to see the schema is to open the All Schema Documents views in the Domino® LDAP Schema database (SCHEMA.NSF).