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