Previous Topic: Use Auto-Registered Attributes in an Object

Next Topic: Use Both Auto-Registered Attributes and Extensible Attributes

Example: Using Auto-Registered Attributes

The following schema definition defines the object class autoOrganization, which inherits from the organization object class.

The organization object class must contain the attribute organizationName and may contain any attribute in the organizationalAttributeSet. These requirements are inherited by the object class autoOrganization. In addition, it must contain the attribute description and may contain any other attribute that is not defined in the DSA's schema.

schema set object-class myprefix:2 = {
name = autoOrganization
subclass-of organization
may-contain
	auto-register-attributes
must-contain
	description
};