Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
ldapdelete(1)
Edit
PageHistory
Diff
Info
LikePages
LDAPDELETE !!!LDAPDELETE NAME SYNOPSIS DESCRIPTION OPTIONS EXAMPLE DIAGNOSTICS SEE ALSO BUGS AUTHOR ACKNOWLEDGEMENTS ---- !!NAME ldapdelete - LDAP delete entry tool !!SYNOPSIS __ldapdelete__ [[__-n__] [[__-v__] [[__-k__] [[__-K__] [[__-c__] [[__-M[[M]__] [[__-d__ ''debuglevel''] [[__-f__ ''file''] [[__-D__ ''binddn''] [[__-W__] [[__-w__ ''passwd''] [[__-H__ ''ldapuri''] [[__-h__ ''ldaphost''] [[__-P__ ''2''|''3''] [[__-p__ ''ldapport''] [[__-O__ security-properties__]__ [[__-U__ ''authcid''] [[__-x__] [[__-I__] [[__-Q__] [[__-X__ ''authzid''] [[__-Y__ ''mech''] [[__-Z[[Z]__] [[''dn'']... !!DESCRIPTION ''ldapdelete'' is a shell-accessible interface to the ldap_delete(3) library call. __ldapdelete__ opens a connection to an LDAP server, binds, and deletes one or more entries. If one or more ''DN'' arguments are provided, entries with those Distinguished Names are deleted. Each ''DN'' should be provided using the LDAPv3 string representation as defined in RFC 2253. If no ''dn'' arguments are provided, a list of DNs is read from standard input (or from ''file'' if the -f flag is used). !!OPTIONS __-n__ Show what would be done, but don't actually delete entries. Useful for debugging in conjunction with -v. __-v__ Use verbose mode, with many diagnostics written to standard output. __-k__ Use Kerberos IV authentication instead of simple authentication. It is assumed that you already have a valid ticket granting ticket. This option only has effect if __ldapdelete__ is compiled with Kerberos support. __-K__ Same as -k, but only does step 1 of the Kerberos IV bind. This is useful when connecting to a slapd and there is no x500dsa.hostname principal registered with your Kerberos Domain Controller(s). __-c__ Continuous operation mode. Errors are reported, but __ldapdelete__ will continue with deletions. The default is to exit after reporting an error. __-M[[M]__ Enable manage DSA IT control. __-MM__ makes control critical. __-d__ ''debuglevel'' Set the LDAP debugging level to ''debuglevel''. __ldapdelete__ must be compiled with LDAP_DEBUG defined for this option to have any effect. __-f__ ''file'' Read a series of lines from ''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 ''file''. __-x__ Use simple authentication instead of SASL. __-D__ ''binddn'' Use the Distinguished Name ''binddn'' to bind to the LDAP directory. __-W__ Prompt for simple authentication. This is used instead of specifying the password on the command line. __-w__ ''passwd'' Use ''passwd'' as the password for simple authentication. __-H__ ''ldapuri'' Specify URI(s) referring to the ldap server(s). __-h__ ''ldaphost'' Specify an alternate host on which the ldap server is running. Deprecated in favor of -H. __-p__ ''ldapport'' Specify an alternate TCP port where the ldap server is listening. Deprecated in favor of -H. __-P__ ''2''|''3'' Specify the LDAP protocol version to use. __-r__ Do a recursive delete. If the DN specified isn't a leaf, its children, and all their children are deleted down the tree. No verification is done, so if you add this switch, ldapdelete will happily delete large portions of your tree. Use with care. __-O__ ''security-properties'' Specify SASL security properties. __-I__ Enable SASL Interactive mode. Always prompt. Default is to prompt only as needed. __-Q__ Enable SASL Quiet mode. Never prompt. __-U__ ''authcid'' Specify the authentication ID for SASL bind. The form of the identity depends on the actual SASL mechanism used. __-X__ ''authzid'' Specify the requested authorization ID for SASL bind. ''authzid'' must be one of the following formats: __dn:__'''' or __u:__'''' __-Y__ ''mech'' Specify the SASL mechanism to be used for authentication. If it's not specified, the program will choose the best mechanism the server knows. __-Z[[Z]__ Issue StartTLS (Transport Layer Security) extended operation. If you use __-ZZ__, the command will require the operation to be successful. !!EXAMPLE The following command: ldapdelete will attempt to delete the entry named with commonName !!DIAGNOSTICS Exit status is 0 if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error. !!SEE ALSO ldap.conf(5), ldapadd(1), ldapmodify(1), ldapmodrdn(1), ldapsearch(1), ldap(3), ldap_delete(3) !!BUGS There is no interactive mode, but there probably should be. !!AUTHOR The OpenLDAP Project !!ACKNOWLEDGEMENTS __OpenLDAP__ is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). __OpenLDAP__ is derived from University of Michigan LDAP 3.3 Release. ----
5 pages link to
ldapdelete(1)
:
ldapadd(1)
ldapmodify(1)
ldapmodrdn(1)
ldapsearch(1)
Man1l
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.