Creating and Maintaining Suffixes
Click OK to create the new sub suffix.
6.
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
configuration file. The suffix configuration information is stored in the
cn=mapping tree,cn=config
NOTE
For example, you want to add a new root suffix to the configuration file using the
ldapmodify
the utility:
cd serverRoot/shared/bin
Then, run
ldapmodify -a -h example1 -p 389 -D "cn=directory manager" -w
secret
The
ldapmodify
configuration file.
Next, you create the root suffix entry for
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
To create a sub suffix for groups under this root suffix, you would do an
ldapmodify
84
Red Hat Directory Server Administrator's Guide • May 2005
command-line utility to add new suffixes to your directory
ldapmodify
Avoid creating entries under the
file. The
cn=config
file is not stored in the same highly scalable database as regular
entries. As a result, if many entries, particularly entries that are
likely to be updated frequently, are stored under
performance will probably suffer.
utility. First, type the following to change to the directory containing
, as follows:
ldapmodify
utility binds to the server and prepares it to add an entry to the
operation to add the following entry:
entry.
cn=config
entry in the simple, flat
example.com
entry in the
dse.ldif
configuration
dse.ldif
,
cn=config
Corporation, as follows:
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers