Previous Topic: set name-binding Command

Next Topic: set oid-prefix Command

set object-class Command

The set object-class command defines an object class.

An object class is a fundamental part of the schema, and essential to the directory.

This command has the following format:

set object-class OID = {
name		= DN
ldap-names 	= DN
subclass-of	DN
kind		= structural | auxiliary | abstract
must-contain attribute-list
may-contain	attribute-list
description = "description"

Examples: set object-class Command

set object-class x500oc:5 = {
name	=	organizationalUnit
subclass-of	top
kind	= 	structural
must-contain	organizationalUnitName
may-contain	organizationalAttributeSet
description = 	"X.500 Organizational Unit Object Class"
set object-class caOclass:0 = {
name =	caOrgPerson
subclass-of 	organizationalPerson
kind = 	structural
may-contain 	caAttributeSet

description = "CA Organizational Person Object Class" };

More information:

Set Up Schemas


Copyright © 2009 CA. All rights reserved. Email CA about this topic