Netscape DIRECTORY SERVER 6.02 Configuration Manual page 217

Configuration, command, and file reference
Hide thumbs Also See for NETSCAPE DIRECTORY SERVER 6.02:
Table of Contents

Advertisement

Causes the utility to check every attribute value to determine whether the
-b
value is a valid file reference. If the value is a valid file reference, then the
content of the referenced file is used as the attribute value. This is often used
for specifying a path to a file containing binary data, such as JPEG. For
example, if you wanted to add a jpegPhoto attribute, then specify the -b
option on the ldapmodify call. In the LDIF you provide to ldapmodify,
include something like the following:
jpegPhoto: /tmp/photo.jpeg
ldapmodify reads the contents of the photo.jpeg file into the jpegPhoto
attribute that you are placing on the entry.
On Windows, the format of this option is exactly the same (including the
forward slashes, except that you can specify a drive letter). For example:
jpegPhoto: c:\tmp\photo.jpeg
As an alternative to the -b option, you can you can use the :< URL specifier
notation, which is in fact simpler to use. For example:
jpegphoto:< file:///tmp/myphoto.jpg
Although the official notation requires three ///, the use of one / is tolerated.
For further information on the LDIF format see Chapter 4, "Managing
Directory Entries" in the Netscape Directory Server Administrator's Guide.
Specifies that the utility run in continuous operation mode. Errors are
-c
reported, but the utility continues with modifications. The default is to quit
after reporting an error.
Lists all available ldapmodify options.
-H
Manage smart referrals. Causes the server not to return the smart referral
-M
contained on the entry, but to instead apply the modification request directly
to the entry. Use this option if you are attempting to add, change, or delete a
directory entry that contains a smart referral. For more information about
smart referrals, see Chapter 3, "Configuring Directory Databases" in the
Netscape Directory Server Administrator's Guide.
Specifies that the entries are not to be actually modified, but that ldapmodify
-n
is to show what it would do with the specified input.
Specifies the maximum number of referral hops to follow. For example, -O 2.
-O
Specifies that referrals are not to be followed automatically.
-R
Specifies that the utility is to run in verbose mode.
-v
Specifies the LDAP version number to be used on the operation. For example,
-V
-V 2. LDAP v3 is the default. You can not perform an LDAP v3 operation
against a Directory Server that only supports LDAP v2.
Chapter 7
Command-Line Utilities
ldapmodify
217

Advertisement

Table of Contents
loading

Table of Contents