ldbsearch(1)

ldbsearch1

Search for records in a ldb database

Usage

ldbsearch [-h] [{-s base | one | sub}] [-b basedn] [-i] [-H LDB-URL] [expression] [attributes]

Overview

ldbsearch searches a LDB database for records matching the specified expression (see the ldapsearch(1) manpage for a description of the expression format). For each record, the specified attributes are printed.

Options

-h

Show list of available options.

-H <ldb-url>

LDB URL to connect to. See ldb(3) for details.

-s one|sub|base

Search scope to use. One-level, subtree or base.

-i

Read search expressions from stdin.

-b basedn

Specify Base DN to use.

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.

Notes

1.

Andrew Tridgell

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

Releases

10 releases since Debian 5.0 (Lenny); the text changed 9 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13
  10. Arch

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.

From ldb 2:4.25.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.