To view the object classes on your Directory Server, use any of the following:

  • The Administrative Console Schema Editor
  • LDAP with the ldapsearch tool
  • A third-party tool
Note:

The Schema Editor displays all of the object classes on the directory server instance. It shows the basic properties that are required elements and the extra properties that are allowed within the object class.

To view object classes over LDAP:

  • To view an operational attribute, run ldapsearch.

    This example uses ldapsearch to view the multi-valued operational attribute objectClasses, which publishes the object class definitions on the Directory Server.

    Note:

    The attribute is stored in the subschema subentry.

    $ bin/ldapsearch --baseDN cn=schema --searchScope base \ 
    --dontWrap "(objectclass=*)" objectClasses
    dn: cn=schema
    objectClasses: ( 2.5.6.0 NAME 'top' ABSTRACT MUST objectClass X-ORIGIN 'RFC 4512' )
    objectClasses: ( 2.5.6.1 NAME 'alias' SUP top STRUCTURAL MUST aliasedObjectName 
      X-ORIGIN 'RFC 4512' )
    objectClasses: ( 2.5.6.2 NAME 'country' SUP top STRUCTURAL MUST c 
      MAY ( searchGuide $ description ) X-ORIGIN 'RFC 4519' )
    ...(more output)...