Assigning Class of Service
You create a second template entry for the manager Sue Jacobs as follows:
dn:cn=Sue Jacobs,cn=data,dc=example,dc=com
objectclass: top
objectclass: LDAPsubentry
objectclass: extensibleobject
objectclass: cosTemplate
departmentNumber: 71776
The definition entry looks in the target entries (the entries under
dc=example,dc=com
attribute is specified in the
entry). The
cn=Carla Fuentes,cn=data,dc=example,dc=com
Jacobs,cn=data,dc=example,dc=com
depending upon the manager.
Example of a Classic CoS
You want to create a classic CoS that automatically generates postal codes using a
combination of the template DN and the attribute specified in the
attribute.
First, you add a new classic CoS definition entry to the
using
ldapmodify -a -D "cn=directory manager" -w secret -h host -p 389
The
ldapmodify
the configuration file.
Next, you add the indirect CoS definition to the
follows:
dn: cn=classicCoS,dc=example,dc=com
objectclass: top
objectclass: LDAPsubentry
objectclass: cosSuperDefinition
objectclass: cosClassicDefinition
cosTemplateDn: cn=exampleUS,cn=data,dc=example,dc=com
cosSpecifier: employeeType
cosAttribute: postalCode override
186
Netscape Directory Server Administrator's Guide • May 2002
) for entries containing the
attribute of the target entry can point to one of two templates,
manager
as follows:
ldapmodify
utility binds to the server and prepares it to add information to
manager
cosIndirectSpecifier
. The department number is different
attribute (because this
attribute of the definition
and
cn=Sue
cosSpecifier
dc=example,dc=com
dc=example,dc=com
suffix,
root suffix as
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.02 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers