Chapter 5. Managing Entries with Roles, Class of Service, and Views

 

CoS Type

 

 

CoS definition

 

 

 

 

 

 

 

 

Pointer CoS

 

 

 

 

 

 

 

 

objectclass: top

 

 

 

 

 

objectclass: cosSuperDefinition

 

 

 

 

 

objectclass: cosPointerDefinition

 

 

 

 

 

cosTemplateDn:DN_string

 

 

 

 

 

cosAttribute:list_of_attributes

 

 

 

 

 

qualifier

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Indirect CoS

 

 

 

 

 

 

 

 

objectclass: top

 

 

 

 

 

objectclass: cosSuperDefinition

 

 

 

 

 

objectclass: cosIndirectDefinition

 

 

 

 

 

cosIndirectSpecifier:attribute_name

 

 

 

 

 

cosAttribute:list_of_attributes

 

 

 

 

 

qualifier

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Classic CoS

 

 

 

 

 

 

 

 

objectclass: top

 

 

 

 

 

objectclass: cosSuperDefinition

 

 

 

 

 

objectclass: cosClassicDefinition

 

 

 

 

 

cosTemplateDn:DN_string

 

 

 

 

 

cosSpecifier:attribute_name

 

 

 

 

 

cosAttribute:list_of_attributes

 

 

 

 

 

qualifier

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 5.4. CoS Definitions

CoS definition entries are operational entries and are not returned by default with regular searches. This means that if a CoS is defined under ou=People,dc=example,dc=com, for example, the following ldapsearch command will not return them:

ldapsearch -s sub -b ou=People,dc=example,dc=com “(objectclass=*)”

To return the CoS definition entries, add the ldapSubEntry object class to the CoS definition entries. For example:

dn: cn=pointerCoS,ou=People,dc=example,dc=com

objectclass: top

objectclass: cosSuperDefinition

objectclass: cosPointerDefinition

objectclass: ldapSubEntry

cosTemplateDn: cn=exampleUS,ou=data,dc=example,dc=com

cosAttribute: postalCode override

Then use a special search filter, (objectclass=ldapSubEntry), with the search. This filter can

156

Page 176
Image 176
HP UX Red Hat Direry Server Software CoS Definitions, CoS Type CoS definition, Pointer CoS, Indirect CoS, Classic CoS