EasyManuals Logo

Red Hat DIRECTORY SERVER 7.1 User Manual

Default Icon
334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #246 background imageLoading...
Page #246 background image
ldapmodify
246 Red Hat Directory Server Configuration, Command, and File Reference • May 2005
Option Description
-b 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.
-c 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.
-H Lists all available ldapmodify options.
-M 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.
-n Specifies that the entries are not actually to be modified but that ldapmodify
is to show what it would do with the specified input.
-O Specifies the maximum number of referral hops to follow. For example, -O 2.
-R Specifies that referrals are not to be followed automatically.
-v 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 2. LDAP v3 is the default. You can not perform an LDAP v3 operation
against a Directory Server that only supports LDAP v2.

Table of Contents

Other manuals for Red Hat DIRECTORY SERVER 7.1

Questions and Answers:

Question and Answer IconNeed help?

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

Red Hat DIRECTORY SERVER 7.1 Specifications

General IconGeneral
BrandRed Hat
ModelDIRECTORY SERVER 7.1
CategoryServer
LanguageEnglish

Related product manuals