1 .TH LDAPDELETE 1 "10 November 1998" "OpenLDAP LDVERSION"
3 ldapdelete \- ldap delete entry tool
20 is a shell-accessible interface to the
25 opens a connection to an LDAP server, binds, and deletes one or more
26 entries. If one or more \fIdn\fP arguments are provided, entries with
27 those Distinguished Names are deleted. Each \fIdn\fP should be a
28 string-represented DN as defined in RFC 1779. If no \fIdn\fP arguments
29 are provided, a list of DNs is read from standard input (or from
30 \fIfile\fP if the -f flag is used).
34 Show what would be done, but don't actually delete entries. Useful for
35 debugging in conjunction with -v.
38 Use verbose mode, with many diagnostics written to standard output.
41 Use Kerberos authentication instead of simple authentication. It is
42 assumed that you already have a valid ticket granting ticket. This option
45 is compiled with KERBEROS defined.
48 Same as \-k, but only does step 1 of the kerberos bind. This is useful
49 when connecting to a slapd and there is no x500dsa.hostname principal
50 registered with your kerberos servers.
53 Continuous operation mode. Errors are reported, but
55 will continue with deletions. The default is to exit after
59 Set the LDAP debugging level to \fIdebuglevel\fP.
61 must be compiled with LDAP_DEBUG defined for this option to have any effect.
64 Read a series of lines from \fIfile\fP, performing one LDAP search for
65 each line. In this case, the \fIfilter\fP given on the command line
66 is treated as a pattern where the first occurrence of \fB%s\fP is
67 replaced with a line from \fIfile\fP.
70 Use \fIbinddn\fP to bind to the LDAP directory. \fIbinddn\fP should be
71 a string-represented DN as defined in RFC 1779.
74 Use \fIpasswd\fP as the password for simple authentication.
77 Specify an alternate host on which the ldap server is running.
80 Specify an alternate TCP port where the ldap server is listening.
82 The following command:
85 ldapdelete "cn=Delete Me, o=University of Michigan, c=US"
88 will attempt to delete the entry named with commonName "Delete Me"
89 directly below the University of Michigan organizational entry. Of
90 course it would probably be necessary to supply a \fIbinddn\fP and
91 \fIpasswd\fP for deletion to be allowed (see the -D and -w options).
93 Exit status is 0 if no errors occur. Errors result in a non-zero exit
94 status and a diagnostic message being written to standard error.
105 .IR "A String Representation of Distinguished Names",
108 ISODE Consortium, March 1995.
110 There is no interactive mode, but there probably should be.
113 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
115 is derived from University of Michigan LDAP 3.3 Release.