r12209: Fix some issues with XML entities.
[samba.git] / source / lib / ldb / man / ldbsearch.1.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="ldbsearch.1">
4
5 <refmeta>
6         <refentrytitle>ldbsearch</refentrytitle>
7         <manvolnum>1</manvolnum>
8 </refmeta>
9
10
11 <refnamediv>
12         <refname>ldbsearch</refname>
13         <refpurpose>Search for records in a LDB database</refpurpose>
14 </refnamediv>
15
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>
28
29 <refsect1>
30         <title>DESCRIPTION</title>
31
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>
37
38 </refsect1>
39
40
41 <refsect1>
42         <title>OPTIONS</title>
43
44         <variablelist>
45                 <varlistentry>
46                 <term>-h</term>
47                 <listitem><para>
48                 Show list of available options.</para></listitem>
49                 </varlistentry>
50
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>
57
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>
62
63                 <varlistentry>
64                         <term>-i</term>
65                         <listitem><para>Read search expressions from stdin. </para></listitem>
66                 </varlistentry>
67
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>
76
77 <refsect1>
78         <title>ENVIRONMENT</title>
79
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>
88
89 <refsect1>
90         <title>VERSION</title>
91
92         <para>This man page is correct for version 4.0 of the Samba suite.</para>
93 </refsect1>
94
95 <refsect1>
96         <title>SEE ALSO</title>
97
98         <para>ldb(7), ldbedit</para>
99
100 </refsect1>
101
102 <refsect1>
103         <title>AUTHOR</title>
104
105         <para> ldb was written by 
106                  <ulink url="http://samba.org/~tridge/">Andrew Tridgell</ulink>.
107         </para>
108
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>
114
115         <para>This manpage was written by Jelmer Vernooij.</para>
116         
117 </refsect1>
118
119 </refentry>