Managing Entries From the Command Line
For example:
dn: dc=example,dc=com
dn: ou=People, dc=example,dc=com
...
People subtree entries.
...
dn: ou=Group, dc=example,dc=com
...
Group subtree entries.
...
Creating a Root Entry From the Command Line
You can use the
database. For example, you might add the new root entry as follows:
prompt% ldapmodify -a -D "dn=directory manager" -w secret
The
ldapmodify
You create the new root object as follows:
dn: Suffix_Name
objectclass: newobjectclass
The DN corresponds to the DN of the root or sub-suffix contained by the database.
The newobjectclass value depends upon the type of object class you are adding to
the database. You may need to specify additional mandatory attributes depending
upon the root object you add.
NOTE
52
Netscape Directory Server Administrator's Guide • May 2002
command-line utility to create a new root entry in a
ldapmodify
utility binds to the server and prepares it to add an entry.
You can use this method only if you have one database per suffix. If
you create a suffix that is stored in several databases, you must use
the
utility with the
ldif2db
will hold the new entries. For information, refer to "Importing
From the Command Line," on page 143.
option to specify the database that
-n
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