![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Скачать руководство пользователя страница 58](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675058.webp)
Managing Entries From the Command Line
58
Netscape Directory Server Administrator’s Guide • August 2002
To create a database suffix (such as
dc=example,dc=com
) using
ldapmodify
you
must bind to the directory as the Directory Manager.
Adding Entries Using ldapmodify
Here is a typical example of how to use the
ldapmodify
utility to add entries to the
directory. Suppose that:
•
You want to create the entries specified in the file
new.ldif
.
•
You have created a database administrator who has the authority to modify the
entries, and whose distinguished name is
cn=Directory Manager,
dc=example,dc=com
•
The database administrator’s password is
King-Pin
.
•
The server is located on
cyclops
.
•
The server uses port number
845
.
In this example, the LDIF statements in the
new.ldif
file do not specify a change
type. They follow the format defined in “LDIF File Format,” on page 499.
To add the entries, you must enter the following command:
ldapmodify -a -D "cn=Directory Manager,dc=example,dc=comd" -w
King-Pin -h cyclops -p 845 -f new.ldif
The following table describes the
ldapmodify
parameters used in the example:
Table 2-2
Description of ldapmodify Parameters Used for Adding Entries
Parameter Name
Description
-
a
Specifies that the modify operation will add new entries to the
directory.
-D
Specifies the distinguished name with which to authenticate
to the server. The value must be a DN recognized by the
Directory Server, and it must also have the authority to
modify the entries.
-
w
Specifies the password associated with the distinguished
name specified in the
-D
parameter.
-h
Specifies the name of the host on which the server is running.
-
p
Specifies the port number that the server uses.
Содержание NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Страница 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Страница 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Страница 44: ...Starting the Server in Referral Mode 44 Netscape Directory Server Administrator s Guide August 2002...
Страница 78: ...Maintaining Referential Integrity 78 Netscape Directory Server Administrator s Guide August 2002...
Страница 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Страница 162: ...Enabling and Disabling Read Only Mode 162 Netscape Directory Server Administrator s Guide August 2002...
Страница 278: ...Setting Resource Limits Based on the Bind DN 278 Netscape Directory Server Administrator s Guide August 2002...
Страница 336: ...Troubleshooting Replication Related Problems 336 Netscape Directory Server Administrator s Guide August 2002...
Страница 396: ...Configuring LDAP Clients to Use SSL 396 Netscape Directory Server Administrator s Guide August 2002...
Страница 418: ...Monitoring Database Link Activity 418 Netscape Directory Server Administrator s Guide August 2002...
Страница 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Страница 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Страница 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Страница 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Страница 512: ...Storing Information in Multiple Languages 512 Netscape Directory Server Administrator s Guide August 2002...
Страница 532: ...Searching an Internationalized Directory 532 Netscape Directory Server Administrator s Guide August 2002...
Страница 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...