source: branches/samba-3.2.x/docs-xml/manpages-3/ldbsearch.1.xml@ 929

Last change on this file since 929 was 203, checked in by Herwig Bauernfeind, 16 years ago

Missing 3.2.2 client and HOWTO files

File size: 2.8 KB
Line 
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">
4
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.2</refmiscinfo>
11</refmeta>
12
13
14<refnamediv>
15 <refname>ldbsearch</refname>
16 <refpurpose>Search for records in a LDB database</refpurpose>
17</refnamediv>
18
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>
31
32<refsect1>
33 <title>DESCRIPTION</title>
34
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>
40
41</refsect1>
42
43
44<refsect1>
45 <title>OPTIONS</title>
46
47 <variablelist>
48 <varlistentry>
49 <term>-h</term>
50 <listitem><para>
51 Show list of available options.</para></listitem>
52 </varlistentry>
53
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>
60
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>
65
66 <varlistentry>
67 <term>-i</term>
68 <listitem><para>Read search expressions from stdin. </para></listitem>
69 </varlistentry>
70
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>
79
80<refsect1>
81 <title>ENVIRONMENT</title>
82
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>
91
92<refsect1>
93 <title>VERSION</title>
94
95 <para>This man page is correct for version 4.0 of the Samba suite.</para>
96</refsect1>
97
98<refsect1>
99 <title>SEE ALSO</title>
100
101 <para>ldb(7), ldbedit(1)</para>
102
103</refsect1>
104
105<refsect1>
106 <title>AUTHOR</title>
107
108 <para> ldb was written by
109 <ulink url="http://samba.org/~tridge/">Andrew Tridgell</ulink>.
110 </para>
111
112 <para>
113If you wish to report a problem or make a suggestion then please see
114the <ulink url="http://ldb.samba.org/"/> web site for
115current contact and maintainer information.
116 </para>
117
118 <para>This manpage was written by Jelmer Vernooij.</para>
119
120</refsect1>
121
122</refentry>
Note: See TracBrowser for help on using the repository browser.