LDBDEL(1) System Administration tools LDBDEL(1)

# [NAME](#NAME)

ldbdel - Command-line program for deleting LDB records

# [SYNOPSIS](#SYNOPSIS)

.HP 168u

**ldbdel** \[-h] \[-H LDB-URL] \[dn] \[...]

# [DESCRIPTION](#DESCRIPTION)

.PP ldbdel deletes records from an [ldb(3)](/man/os/ldb/ldb.3) database. It deletes the records identified by the dn's specified on the command-line.

.PP ldbdel uses either the database that is specified with the -H option or the database specified by the LDB\_URL environment variable.

# [OPTIONS](#OPTIONS)

.PP -h

Show list of available options.

.RE

.PP -H &lt;ldb-url&gt;

LDB URL to connect to. See [ldb(3)](/man/os/ldb/ldb.3) for details.

.RE

# [ENVIRONMENT](#ENVIRONMENT)

.PP LDB\_URL

LDB URL to connect to (can be overridden by using the -H command-line option.)

.RE

# [VERSION](#VERSION)

.PP This man page is correct for version 1.1 of LDB.

# [SEE ALSO](#SEE_ALSO)

.PP [ldb(3)](/man/os/ldb/ldb.3), ldbmodify, ldbadd, [ldif(5)](/man/os/ldb/ldif.5)

# [AUTHOR](#AUTHOR)

.PP ldb was written by **Andrew Tridgell**\[1].

.PP If you wish to report a problem or make a suggestion then please see the **http://ldb.samba.org/** web site for current contact and maintainer information.

.PP ldbdel was written by Andrew Tridgell.

.PP This manpage was written by Jelmer Vernooij.

# [NOTES](#NOTES)

1\.

Andrew Tridgell

https://www.samba.org/~tridge/

10/10/2026 LDB 1.1

---

Document: ldbdel(1) from ldb 2.9.2-r8 (Chainguard OS)
Source: https://gitlab.com/samba-team/samba.git
