
Understanding LDAP Services for Novell eDirectory
337
n
ov
do
cx (e
n)
11
Ju
ly 20
08
In this case, the command ldapadd -f /tmp/entrymods will add a new entry for B Jensen, using the
values from the file
/tmp/newentry
.
Assume that the file
/tmp/newentry
exists and has the following contents:
dn: cn=Barbara Jensen, o=University of Michigan, c=US
changetype: delete
In this case, the command ldapmodify -f /tmp/entrymods will remove B Jensen’s entry.
ldapdelete
The ldapdelete utility deletes the specified entry. It opens a connection to an LDAP server, binds,
and then deletes. It has the following syntax:
ldapdelete [-n] [-v] [-c] [-r] [-l] [-C] [-M] [-d debuglevel] [-e key filename]
[-f file] [-D binddn] [[-W]| [-w passwd]] [-h ldaphost] [-p ldapport] [-Z[Z]]
[dn]...
NOTE:
On a NetWare server, the utility is called ldelete.
The dn parameter is a list of distinguished names of the entries to be deleted.
It interacts with the -f option in the following ways:
If the -f option is missing from the command line and dn's are specified on the command line,
the utility deletes the specified entries.
If both dn and the -f option are in the command line, the utility reads the file for the dn's to
delete and ignores any dn's in the command line.
If both dn and the -f option are missing in the command line, the utility reads the dn 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, ldapdelete [options] >
out.txt
.
NOTE:
Refer to
“Common Options for All LDAP Tools” on page 334
for more details on common
options.
Option
Description
-c
Continuous operation mode. Errors are reported, but ldapdelete will continue
with deletions. The default is to exit after reporting an error.
-f
file
Reads a series of lines from the file, performing one LDAP search for each
line. In this case, the filter given on the command line is treated as a pattern,
where the first occurrence of %s is replaced with a line from the file.
-r
Delete recursively.
Содержание EDIRECTORY 8.8 SP3
Страница 4: ...novdocx en 11 July 2008...
Страница 72: ...72 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 120: ...120 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 132: ...132 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 190: ...190 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 238: ...238 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 262: ...262 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 288: ...288 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 320: ...320 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 348: ...348 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 388: ...388 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 492: ...492 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 586: ...586 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 599: ...The eDirectory Management Toolbox 599 novdocx en 11 July 2008 Click Help for details...
Страница 600: ...600 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 614: ...614 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...