340
Novell eDirectory 8.8 Administration Guide
n
ov
do
cx (e
n)
22
Ju
n
e 20
09
If the -f option is specified, ldapmodify reads the modifications from a file. If the -f option is not
specified, ldapmodify reads the modifications from stdin.
TIP:
Output from the ldap utilities is sent to stdout. If the utility exits before you can view the
output, redirect the output to a file, for example, ldapmodify [options] >
out.txt
.
NOTE:
Refer to
“Common Options for All LDAP Tools” on page 336
for more details on common
options.
ldapmodrdn
The ldapmodrdn modifies the relative distinguished name of an entry. It can also move the entry to a
new container. It has the following syntax:
ldapmodrdn [-r] [-n] [-v] [-c] [-C] [-l] [-M] [-s newsuperior] [-d debuglevel]
[-e key filename] [-D binddn] [[-W]|[-w passwd]] [-h ldaphost] [-p ldapport]
[-Z[Z]] [-f file] [dn newrdn]
NOTE:
On a NetWare server, the utility is called lmodrdn dn <newrdn>).
Output from the ldap utilities is sent to stdout. If the utility exits before you can view the output,
redirect the output to a file, for example, ldapmodrdn [options] >
out.txt
.
Option
Description
-a
Adds new entries. The default for ldapmodify is to modify existing entries. If
invoked as ldapadd, this flag is always set.
-r
Replaces existing values by default.
-c
Continuous operation mode. Errors are reported, but ldapmodify will continue with
modifications. The default is to exit after reporting an error.
-f
file
Reads the entry modification information from an LDIF file instead of from
standard input. The maximum length of a record is 4096 lines.
-F
Forces the application of all changes regardless of the contents of input lines that
begin with replica:. (By default, replica: lines are compared against the LDAP
server host and port in use to decide if a replog record should actually be applied.)
Option
Description
-c
Continuous operation mode. Errors are reported, but ldapmodify will
continue with modifications. The default is to exit after reporting an error.
-f
file
Reads the entry modification information from the file instead of from
standard input or the command line. Make sure that there are no blank
lines between the old RDN and new RDN, or the -f option will fail.
-r
Removes old RDN values from the entry. The default is to keep old
values.
-s
newsuperior
Specifies the distinguished name of the container to which the entry is
moving.
Summary of Contents for EDIRECTORY 8.8 SP5
Page 4: ...4 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 72: ...72 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 118: ...118 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 130: ...130 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 188: ...188 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 222: ...222 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 240: ...240 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 264: ...264 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 290: ...290 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 322: ...322 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 540: ...540 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 548: ...548 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...
Page 616: ...616 Novell eDirectory 8 8 Administration Guide novdocx en 22 June 2009...