![Netscape NETSCAPE DIRECTORY SERVER 6.02 Скачать руководство пользователя страница 56](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-02/netscape-directory-server-6-02_administrators-manual_1674673056.webp)
Managing Entries From the Command Line
56
Netscape Directory Server Administrator’s Guide • May 2002
For full information on
ldapmodify
parameters, refer to the Netscape Directory
Server Configuration, Command, and File Reference.
Deleting Entries Using ldapdelete
Use the
ldapdelete
command-line utility to delete entries from the directory. This
utility opens a connection to the specified server using the distinguished name and
password you provide, and deletes the entry or entries.
You can only delete entries at the end of a branch. You cannot delete entries that
are branch points in the directory tree.
For example, of the following three entries:
ou=People,dc=example,dc=com
cn=Paula Simon,ou=People,dc=example,dc=com
cn=Jerry O’Connor,ou=People,dc=example,dc=com
you can delete only the last two entries. The entry that identifies the People subtree
can be deleted only if there aren’t any entries below it. If you want to delete
ou=People,dc=example,dc=com
, you must first delete Paula Simon and Jerry
O’Connor’s entries, and all other entries in that subtree.
Here is a typical example of how to use the
ldapdelete
utility. Suppose that:
•
You want to delete the entries identified by the distinguished names:
cn=Robert Jenkins,ou=People,dc=example,dc=com
and
cn=Lisa
Jangles, ou=People,dc=example,dc=com
.
-
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.
-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 51.
Table 2-3
Description of ldapmodify Parameters Used for Modifying Entries (Continued)
Parameter Name
Description
Содержание NETSCAPE DIRECTORY SERVER 6.02
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 02 May 2002 ...
Страница 16: ...16 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 20: ...20 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 40: ...Starting the Server in Referral Mode 40 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 74: ...Maintaining Referential Integrity 74 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 138: ...Using Referrals 138 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 258: ...Compatibility with Earlier Releases 258 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 274: ...Setting Resource Limits Based on the Bind DN 274 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 330: ...Solving Common Replication Conflicts 330 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 374: ...Attribute Name Quick Reference Table 374 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 390: ...Configuring LDAP Clients to Use SSL 390 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 412: ...Monitoring Database Link Activity 412 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 432: ...Miscellaneous Tuning Tips 432 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 434: ...434 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 468: ...PTA Plug In Syntax Examples 468 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 488: ...488 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 502: ...Storing Information in Multiple Languages 502 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 522: ...Searching an Internationalized Directory 522 Netscape Directory Server Administrator s Guide May 2002 ...
Страница 528: ...Examples of LDAP URLs 528 Netscape Directory Server Administrator s Guide May 2002 ...