s3 swat: Add XSRF protection to wizard page
[Samba.git] / docs-xml / manpages-3 / ldbsearch.1.xml
blob318b8d3c3ceb7cf21bdcfe1403195c94f9bea132
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         <refmiscinfo class="source">Samba</refmiscinfo>
9         <refmiscinfo class="manual">User Commands</refmiscinfo>
10         <refmiscinfo class="version">3.4</refmiscinfo>
11 </refmeta>
14 <refnamediv>
15         <refname>ldbsearch</refname>
16         <refpurpose>Search for records in a LDB database</refpurpose>
17 </refnamediv>
19 <refsynopsisdiv>
20         <cmdsynopsis>
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>
29         </cmdsynopsis>
30 </refsynopsisdiv>
32 <refsect1>
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.
39         </para>
41 </refsect1>
44 <refsect1>
45         <title>OPTIONS</title>
47         <variablelist>
48                 <varlistentry>
49                 <term>-h</term>
50                 <listitem><para>
51                 Show list of available options.</para></listitem>
52                 </varlistentry>
54                 <varlistentry>
55                         <term>-H &lt;ldb-url&gt;</term>
56                         <listitem><para>
57                                 LDB URL to connect to. See ldb(7) for details.
58                         </para></listitem>
59                 </varlistentry>
61                 <varlistentry>
62                         <term>-s one|sub|base</term>
63                         <listitem><para>Search scope to use. One-level, subtree or base.</para></listitem>
64                 </varlistentry>
66                 <varlistentry>
67                         <term>-i</term>
68                         <listitem><para>Read search expressions from stdin. </para></listitem>
69                 </varlistentry>
71                 <varlistentry>
72                         <term>-b basedn</term>
73                         <listitem><para>Specify Base DN to use.</para></listitem>
74                 </varlistentry>
75                 
76         </variablelist>
77         
78 </refsect1>
80 <refsect1>
81         <title>ENVIRONMENT</title>
83         <variablelist>
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>
87                 </varlistentry>
88         </variablelist>
89         
90 </refsect1>
92 <refsect1>
93         <title>VERSION</title>
95         <para>This man page is correct for version 4.0 of the Samba suite.</para>
96 </refsect1>
98 <refsect1>
99         <title>SEE ALSO</title>
101         <para>ldb(7), ldbedit(1)</para>
103 </refsect1>
105 <refsect1>
106         <title>AUTHOR</title>
108         <para> ldb was written by 
109                  <ulink url="http://samba.org/~tridge/">Andrew Tridgell</ulink>.
110         </para>
112         <para>
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.
116         </para>
118         <para>This manpage was written by Jelmer Vernooij.</para>
119         
120 </refsect1>
122 </refentry>