LDIF Update Statements
Table 2-4
Parameter Name
-h
-p
For full information on
Server Configuration, Command, and File Reference.
Using Special Characters
When using the Directory Server command-line client tools, you may need to
specify values that contain characters that have special meaning to the
command-line interpreter (such as space [ ], asterisk [*], backslash [\], and so
forth). When this situation occurs, enclose the value in quotation marks (""). For
example:
-D "cn=Barbara Jensen,ou=Product Development,dc=example,dc=com"
Depending on the command-line utility you use, you should use either single or
double quotation marks for this purpose. Refer to your operating system
documentation for more information.
In addition, if you are using DNs that contain commas, you must escape the
commas with a backslash (\). For example:
-D "cn=Patricia Fuentes,ou=people,o=example.com Bolivia\,S.A."
To delete user Patricia Fuentes from the
would enter the following command:
ldapdelete -D "cn=Directory Manager,dc=example,dc=com" -w
King-Pin -h cyclops -p 845 "cn=Patricia
Fuentes,ou=People,o=example.com Bolivia\,S.A."
LDIF Update Statements
Use LDIF update statements to define how
directory. In general, LDIF update statements are a series of statements that:
•
Specify the distinguished name of the entry to be modified.
62
Netscape Directory Server Administrator's Guide • December 2003
Description of ldapdelete Parameters Used for Deleting Entries (Continued)
Description
Specifies the name of the host on which the server is running.
Specifies the port number that the server uses.
ldapdelete
parameters, refer to the Netscape Directory
example.com Bolivia, S.A.
should change your
ldapmodify
tree, you
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers