![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Скачать руководство пользователя страница 59](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675059.webp)
Managing Entries From the Command Line
Chapter
2
Creating Directory Entries
59
For full information on
ldapmodify
parameters, refer to the Netscape Directory
Server Configuration, Command, and File Reference.
Modifying Entries Using ldapmodify
Here is a typical example of how to use the
ldapmodify
utility to modify entries
that are present in the directory. Suppose that:
•
You want to modify entries as specified in the file
modify_statements
.
•
You have created a database administrator that 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
.
To modify the entries, you must first create the
modify_statements
file with the
appropriate LDIF update statements, and then enter the following command:
ldapmodify -D "cn=Directory Manager,dc=example,dc=com" -w King-Pin
-h cyclops -p 845 -f modify_statements
The following table describes the
ldapmodify
parameters used in the example:
-f
Optional parameter that specifies the file containing the LDIF
update statements used to define the modifications. If you do
not supply this parameter, the update statements are read
from
stdin
. For information on supplying LDIF update
statements from the command line, refer to “Providing Input
From the Command Line,” on page 55
Table 2-3
Description of ldapmodify Parameters Used for Modifying Entries
Parameter Name
Description
-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.
Table 2-2
Description of ldapmodify Parameters Used for Adding Entries (Continued)
Parameter Name
Description
Содержание 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...