LDBMODIFY(1) System Administration tools LDBMODIFY(1)

# [NAME](#NAME)

ldbmodify - Modify records in a LDB database

# [SYNOPSIS](#SYNOPSIS)

.HP 240u

**ldbmodify** \[-H LDB-URL] \[ldif-file]

# [DESCRIPTION](#DESCRIPTION)

.PP ldbmodify changes, adds and deletes records in a LDB database. The changes that should be made to the LDB database are read from the specified LDIF-file. If - is specified as the filename, input is read from stdin.

.PP For now, see [ldapmodify(1)](/man/os/ldb/ldapmodify.1) for details on the LDIF file format.

# [OPTIONS](#OPTIONS)

.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), ldbedit

# [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 This manpage was written by Jelmer Vernooij.

# [NOTES](#NOTES)

1\.

Andrew Tridgell

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

08/30/2026 LDB 1.1

---

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