Netscape DIRECTORY SERVER 7.0 Configuration Manual page 239

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

Advertisement

Option
Description
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 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
Manages smart referrals. Causes the server not to return the smart referral
-M
contained on the entry but, instead, to 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 actually to be 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
Chapter 7
Command-Line Utilities
ldapmodify
239

Advertisement

Table of Contents
loading

Table of Contents