![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 190](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675190.webp)
Assigning Class of Service
190
Netscape Directory Server Administrator’s Guide • August 2002
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
) for entries containing the
manager
attribute (because this
attribute is specified in the
cosIndirectSpecifier
attribute of the definition
entry). The
manager
attribute of the target entry can point to one of two templates,
cn=Carla Fuentes,cn=data,dc=example,dc=com
and
cn=Sue
Jacobs,cn=data,dc=example,dc=com
. The department number is different
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
cosSpecifier
attribute.
First, you add a new classic CoS definition entry to the
dc=example,dc=com
suffix,
using
ldapmodify
as follows:
ldapmodify -a -D "cn=directory manager" -w secret -h host -p 389
The
ldapmodify
utility binds to the server and prepares it to add information to
the configuration file.
Next, you add the indirect CoS definition to the
dc=example,dc=com
root suffix as
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
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...