---
name: "ldbrename"
section: "1"
platform: "linux"
package: "ldb"
version: "2:4.25.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ldbrename"
---

# ldbrename(1)

Edit LDB databases using your favorite editor

## NAME

ldbrename - Edit LDB databases using your favorite editor

## SYNOPSIS

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

## DESCRIPTION

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

- \-h

  Show list of available options.

- \-H \<ldb-url\>

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

- \-o options

  Extra ldb options, such as modules.

## ENVIRONMENT

LDB\_URL

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

## VERSION

This man page is correct for version 1.1 of LDB.

## SEE ALSO

[ldb(3)](/ldb/3.md), ldbmodify, ldbdel, [ldif(5)](/ldif/5.md)

## AUTHOR

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

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.

This manpage was written by Jelmer Vernooij.

## NOTES

- 1\.

  Andrew Tridgell

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