1
<?xml version="1.0" encoding="iso-8859-1"?>
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
3
<refentry id="ldbsearch.1">
6
<refentrytitle>ldbsearch</refentrytitle>
7
<manvolnum>1</manvolnum>
12
<refname>ldbsearch</refname>
13
<refpurpose>Search for records in a LDB database</refpurpose>
18
<command>ldbsearch</command>
19
<arg choice="opt">-h</arg>
20
<arg choice="opt">-s base|one|sub</arg>
21
<arg choice="opt">-b basedn</arg>
22
<arg chioce="opt">-i</arg>
23
<arg choice="opt">-H LDB-URL</arg>
24
<arg choice="opt">expression</arg>
25
<arg choice="opt">attributes</arg>
30
<title>DESCRIPTION</title>
32
<para>ldbsearch searches a LDB database for records matching the
33
specified expression (see the ldapsearch(1) manpage for
34
a description of the expression format). For each
35
record, the specified attributes are printed.
42
<title>OPTIONS</title>
48
Show list of available options.</para></listitem>
52
<term>-H <ldb-url></term>
54
LDB URL to connect to. See ldb(7) for details.
59
<term>-s one|sub|base</term>
60
<listitem><para>Search scope to use. One-level, subtree or base.</para></listitem>
65
<listitem><para>Read search expressions from stdin. </para></listitem>
69
<term>-b basedn</term>
70
<listitem><para>Specify Base DN to use.</para></listitem>
78
<title>ENVIRONMENT</title>
81
<varlistentry><term>LDB_URL</term>
82
<listitem><para>LDB URL to connect to (can be overrided by using the
83
-H command-line option.)</para></listitem>
90
<title>VERSION</title>
92
<para>This man page is correct for version 4.0 of the Samba suite.</para>
96
<title>SEE ALSO</title>
98
<para>ldb(7), ldbedit(1)</para>
103
<title>AUTHOR</title>
105
<para> ldb was written by
106
<ulink url="http://samba.org/~tridge/">Andrew Tridgell</ulink>.
110
If you wish to report a problem or make a suggestion then please see
111
the <ulink url="http://ldb.samba.org/"/> web site for
112
current contact and maintainer information.
115
<para>This manpage was written by Jelmer Vernooij.</para>