---
name: "ldbadd"
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/ldbadd"
---

# ldbadd(1)

Command-line utility for adding records to an LDB

## NAME

ldbadd - Command-line utility for adding records to an LDB

## SYNOPSIS

**ldbadd** \[-h\] \[-H LDB-URL\] \[ldif-file1\] \[ldif-file2\] \[...\]

## DESCRIPTION

ldbadd adds records to an [ldb(3)](/ldb/3.md) database. It reads the [ldif(5)](/ldif/5.md) files specified on the command line and adds the records from these files to the LDB database, which is specified by the -H option or the LDB\_URL environment variable.

If - is specified as a ldb file, the ldif input is read from standard input.

## OPTIONS

- \-h

  Show list of available options.

- \-H \<ldb-url\>

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

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