![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 84](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675084.webp)
Creating and Maintaining Suffixes
84
Netscape Directory Server Administrator’s Guide • August 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
serverRoot
/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.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...