Red Hat DIRECTORY SERVER 7.1 Configuration page 246

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

Advertisement

ldapmodify
Option
-b
-c
-H
-M
-n
-O
-R
-v
-V
246
Red Hat Directory Server Configuration, Command, and File Reference • May 2005
Description
Causes the utility to check every attribute value to determine whether the
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.
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 Red Hat Directory Server Administrator's Guide.
Specifies that the utility run in continuous operation mode. Errors are
reported, but the utility continues with modifications. The default is to quit
after reporting an error.
Lists all available ldapmodify options.
Manages smart referrals. Causes the server not to return the smart referral
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 Red
Hat Directory Server Administrator's Guide.
Specifies that the entries are not actually to be modified but that ldapmodify
is to show what it would do with the specified input.
Specifies the maximum number of referral hops to follow. For example, -O 2.
Specifies that referrals are not to be followed automatically.
Specifies that the utility is to run in verbose mode.
Specifies the LDAP version number to be used on the operation. For example,
-V 2. LDAP v3 is the default. You can not perform an LDAP v3 operation
against a Directory Server that only supports LDAP v2.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTORY SERVER 7.1 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents