![Netscape NETSCAPE DIRECTORY SERVER 6.02 Administrator'S Manual Download Page 80](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-02/netscape-directory-server-6-02_administrators-manual_1674673080.webp)
Creating and Maintaining Suffixes
80
Netscape Directory Server Administrator’s Guide • May 2002
6.
Click OK to create the new sub suffix.
The suffix appears automatically under its root suffix in the Data tree in the left
navigation pane.
Creating Root and Sub Suffixes From the Command Line
Use the
ldapmodify
command-line utility to add new suffixes to your directory
configuration file. The suffix configuration information is stored in the
cn=mapping
tree,cn=config
entry.
For example, you want to add a new root suffix to the configuration file using the
ldapmodify
utility. First, type the following to change to the directory containing
the utility:
cd /usr/netscape/servers/shared/bin
Then, run
ldapmodify
as follows:
ldapmodify -a -h example1 -p 389 -D "cn=directory manager" -w secret
The
ldapmodify
utility binds to the server and prepares it to add an entry to the
configuration file.
Next, you create the root suffix entry for
example.com
Corporation as follows:
dn: cn="dc=example,dc=com",cn=mapping tree,cn=config
objectclass: top
objectclass: extensibleObject
objectclass: nsMappingTree
nsslapd-state: backend
nsslapd-backend: UserData
cn: dc=example,dc=com
NOTE
Avoid creating entries under the
cn=config
entry in the
dse.ldif
file. The
cn=config
entry in the simple, flat
dse.ldif
configuration
file is not stored in the same highly scalable database as regular
entries. As a result, if many entries, and particularly entries that are
likely to be updated frequently, are stored under
cn=config
,
performance will probably suffer.
However, although we recommend you do not store simple user
entries under
cn=config
for performance reasons, it can be useful to
store special user entries such as the Directory Manager entry or
Replication Manager (supplier bind DN) entry under
cn=config,
as
this allows you to centralize configuration information.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.02
Page 1: ...Administrator s Guide Netscape Directory Server Version6 02 May 2002 ...
Page 16: ...16 Netscape Directory Server Administrator s Guide May 2002 ...
Page 20: ...20 Netscape Directory Server Administrator s Guide May 2002 ...
Page 74: ...Maintaining Referential Integrity 74 Netscape Directory Server Administrator s Guide May 2002 ...
Page 138: ...Using Referrals 138 Netscape Directory Server Administrator s Guide May 2002 ...
Page 432: ...Miscellaneous Tuning Tips 432 Netscape Directory Server Administrator s Guide May 2002 ...
Page 434: ...434 Netscape Directory Server Administrator s Guide May 2002 ...
Page 468: ...PTA Plug In Syntax Examples 468 Netscape Directory Server Administrator s Guide May 2002 ...
Page 488: ...488 Netscape Directory Server Administrator s Guide May 2002 ...
Page 528: ...Examples of LDAP URLs 528 Netscape Directory Server Administrator s Guide May 2002 ...