
338
Novell eDirectory 8.8 Administration Guide
n
ov
do
cx (e
n)
11
Ju
ly 20
08
Example
The command ldapdelete "cn=Delete Me, o=University of Michigan, c=US" will attempt to delete
the entry named with the commonName Delete Me directly below the University of Michigan
organizational entry. In this case, it would be necessary to supply a binddn and passwd for the
deletion to be allowed (see the -D and -w options).
ldapmodify
The ldapmodify utility modifies the attributes of an existing entry or adds new entries. It has the
following syntax:
ldapmodify [-a] [-c] [-C] [-M] [-P] [-r] [-n] [-v] [-F] [-l limit] [-M[M]] [-d
debuglevel] [-e key filename] [-D binddn] [[-W]|[-w passwd]] [-h ldaphost] [-p
ldap-port] [-P version] [-Z[Z]] [-f file]
NOTE:
On a NetWare server, the utility is called lmodify.
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 334
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>).
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.)
Summary of Contents for EDIRECTORY 8.8 SP3
Page 4: ...novdocx en 11 July 2008...
Page 72: ...72 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 120: ...120 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 132: ...132 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 190: ...190 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 238: ...238 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 262: ...262 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 288: ...288 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 320: ...320 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 348: ...348 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 388: ...388 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 492: ...492 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 586: ...586 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 599: ...The eDirectory Management Toolbox 599 novdocx en 11 July 2008 Click Help for details...
Page 600: ...600 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 614: ...614 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...