LDBRENAME(1) System Administration tools LDBRENAME(1)

# [NAME](#NAME)

ldbrename - Edit LDB databases using your favorite editor

# [SYNOPSIS](#SYNOPSIS)

.HP 240u

**ldbrename** \[-h] \[-o options] {olddn} {newdn}

# [DESCRIPTION](#DESCRIPTION)

.PP ldbrename is a utility that allows you to rename trees in an LDB database based by DN. This utility takes two arguments: the original DN name of the top element and the DN to change it to.

# [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

.PP -o options

Extra ldb options, such as modules.

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

# [NOTES](#NOTES)

1\.

Andrew Tridgell

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

08/30/2026 LDB 1.1

---

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