Previous Topic: Display the Naming Context

Next Topic: LDAP Programming in Perl

Display the Supported Schema

The subschema subentry is a virtual entry containing the schema being currently used by DSA.

Display the schema supported by this DSA

  1. Use the following command:
    ldapsearch -h hostname -p portnumber -s base -b "" objectclass="*" subschemaSubentry
    

    The information retrieved is the subentry that contains the schema information, for example:

    subschemaSubentry=cn=schema
    
  2. Perform another search from this base to retrieve the schema, for example:
    ldapsearch -h hostname -p portnumber -s base -b "cn=schema" objectclass="*"
    

    This returns the following information: