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>
8
<refmiscinfo class="source">Samba</refmiscinfo>
9
<refmiscinfo class="manual">User Commands</refmiscinfo>
10
<refmiscinfo class="version">3.4</refmiscinfo>
15
<refname>ldbsearch</refname>
16
<refpurpose>Search for records in a LDB database</refpurpose>
21
<command>ldbsearch</command>
22
<arg choice="opt">-h</arg>
23
<arg choice="opt">-s base|one|sub</arg>
24
<arg choice="opt">-b basedn</arg>
25
<arg chioce="opt">-i</arg>
26
<arg choice="opt">-H LDB-URL</arg>
27
<arg choice="opt">expression</arg>
28
<arg choice="opt">attributes</arg>
33
<title>DESCRIPTION</title>
35
<para>ldbsearch searches a LDB database for records matching the
36
specified expression (see the ldapsearch(1) manpage for
37
a description of the expression format). For each
38
record, the specified attributes are printed.
45
<title>OPTIONS</title>
51
Show list of available options.</para></listitem>
55
<term>-H <ldb-url></term>
57
LDB URL to connect to. See ldb(7) for details.
62
<term>-s one|sub|base</term>
63
<listitem><para>Search scope to use. One-level, subtree or base.</para></listitem>
68
<listitem><para>Read search expressions from stdin. </para></listitem>
72
<term>-b basedn</term>
73
<listitem><para>Specify Base DN to use.</para></listitem>
81
<title>ENVIRONMENT</title>
84
<varlistentry><term>LDB_URL</term>
85
<listitem><para>LDB URL to connect to (can be overrided by using the
86
-H command-line option.)</para></listitem>
93
<title>VERSION</title>
95
<para>This man page is correct for version 4.0 of the Samba suite.</para>
99
<title>SEE ALSO</title>
101
<para>ldb(7), ldbedit(1)</para>
106
<title>AUTHOR</title>
108
<para> ldb was written by
109
<ulink url="http://samba.org/~tridge/">Andrew Tridgell</ulink>.
113
If you wish to report a problem or make a suggestion then please see
114
the <ulink url="http://ldb.samba.org/"/> web site for
115
current contact and maintainer information.
118
<para>This manpage was written by Jelmer Vernooij.</para>