Table 6.18. additional ldapdelete options, Ldappasswd, Syntax – Red Hat 8.1 User Manual

Page 198: Ldappasswd-specific options

Advertising
background image

Table 6.18. Additional ldapdelete Options

Option

Description

-c

Specifies that the utility must run in continuous
operation mode. Errors are reported, but the utility
continues with deletions. The default is to quit
after reporting an error.

-f

Specifies the file containing the distinguished
names of entries to be deleted. For example:

-f modify_statements

Omit this option to supply the distinguished name
of the entry to be deleted directly to the
command-line.

-H

Lists all available ldapdelete options.

-M

Manages smart referrals. This causes the server
not to return the smart referral contained on the
entry but, instead, to delete the actual entry
containing the smart referral. For more information
about smart referrals, see the "Configuring
Directory Databases" chapter in the Directory
Server Administrator's Guide
.

-n

Specifies that the entries are not actually to be
deleted, but that ldapdelete 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

There is no maximum number of referral hops.

-R

Specifies that referrals are not to be followed
automatically. By default, the server follows
referrals.

-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

LDAPv3 is the default. An LDAPv3 operation
cannot be performed against a Directory Server
that only supports LDAPv2.

-Y

Specifies the proxy DN to use for the delete
operation. This argument is provided for testing
purposes. For more information about proxied
authorization, see the "Managing Access Control"
chapter in the Directory Server Administrator's
Guide
.

6.7. ldappasswd

Use ldappasswd to set or change user passwords in Directory Server.

Syntax
ldappasswd-specific Options
General ldappasswd Options
SASL Options
Examples

Syntax

ldappasswd [ options ] [ user ]

user is the authentication identity, typically a DN. If not specified, the distinguished name specified by the
-D option (bind name) is used.

ldappasswd-specific Options

198

Chapter 6. Command-Line Utilities

Advertising