r25068: Older samba3 DCs will return DCERPC_FAULT_OP_RNG_ERROR for every opcode on the
[Samba.git] / source / lib / ldb / man / ldbsearch.1.xml
blobed3749b9207c1a5f6a5f009ac913190e498a71d5
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">
5 <refmeta>
6         <refentrytitle>ldbsearch</refentrytitle>
7         <manvolnum>1</manvolnum>
8 </refmeta>
11 <refnamediv>
12         <refname>ldbsearch</refname>
13         <refpurpose>Search for records in a LDB database</refpurpose>
14 </refnamediv>
16 <refsynopsisdiv>
17         <cmdsynopsis>
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>
26         </cmdsynopsis>
27 </refsynopsisdiv>
29 <refsect1>
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.
36         </para>
38 </refsect1>
41 <refsect1>
42         <title>OPTIONS</title>
44         <variablelist>
45                 <varlistentry>
46                 <term>-h</term>
47                 <listitem><para>
48                 Show list of available options.</para></listitem>
49                 </varlistentry>
51                 <varlistentry>
52                         <term>-H &lt;ldb-url&gt;</term>
53                         <listitem><para>
54                                 LDB URL to connect to. See ldb(7) for details.
55                         </para></listitem>
56                 </varlistentry>
58                 <varlistentry>
59                         <term>-s one|sub|base</term>
60                         <listitem><para>Search scope to use. One-level, subtree or base.</para></listitem>
61                 </varlistentry>
63                 <varlistentry>
64                         <term>-i</term>
65                         <listitem><para>Read search expressions from stdin. </para></listitem>
66                 </varlistentry>
68                 <varlistentry>
69                         <term>-b basedn</term>
70                         <listitem><para>Specify Base DN to use.</para></listitem>
71                 </varlistentry>
72                 
73         </variablelist>
74         
75 </refsect1>
77 <refsect1>
78         <title>ENVIRONMENT</title>
80         <variablelist>
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>
84                 </varlistentry>
85         </variablelist>
86         
87 </refsect1>
89 <refsect1>
90         <title>VERSION</title>
92         <para>This man page is correct for version 4.0 of the Samba suite.</para>
93 </refsect1>
95 <refsect1>
96         <title>SEE ALSO</title>
98         <para>ldb(7), ldbedit(1)</para>
100 </refsect1>
102 <refsect1>
103         <title>AUTHOR</title>
105         <para> ldb was written by 
106                  <ulink url="http://samba.org/~tridge/">Andrew Tridgell</ulink>.
107         </para>
109         <para>
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.
113         </para>
115         <para>This manpage was written by Jelmer Vernooij.</para>
116         
117 </refsect1>
119 </refentry>