1LDBSEARCH(1)              System Administration tools             LDBSEARCH(1)
2
3
4

NAME

6       ldbsearch - Search for records in a LDB database
7

SYNOPSIS

9       ldbsearch [-h] [-s base|one|sub] [-b basedn] [-i] [-H LDB-URL]
10                 [expression] [attributes]
11

DESCRIPTION

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

OPTIONS

19       -h
20           Show list of available options.
21
22       -H <ldb-url>
23           LDB URL to connect to. See ldb(3) for details.
24
25       -s one|sub|base
26           Search scope to use. One-level, subtree or base.
27
28       -i
29           Read search expressions from stdin.
30
31       -b basedn
32           Specify Base DN to use.
33

ENVIRONMENT

35       LDB_URL
36           LDB URL to connect to (can be overridden by using the -H
37           command-line option.)
38

VERSION

40       This man page is correct for version 1.1 of LDB.
41

SEE ALSO

43       ldb(3), ldbedit(1)
44

AUTHOR

46       ldb was written by Andrew Tridgell[1].
47
48       If you wish to report a problem or make a suggestion then please see
49       the http://ldb.samba.org/ web site for current contact and maintainer
50       information.
51
52       This manpage was written by Jelmer Vernooij.
53

NOTES

55        1. Andrew Tridgell
56           https://www.samba.org/~tridge/
57
58
59
60LDB 1.1                           03/29/2023                      LDBSEARCH(1)
Impressum