1 | '\" t
|
---|
2 | .\" Title: ldbsearch
|
---|
3 | .\" Author: [see the "AUTHOR" section]
|
---|
4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
---|
5 | .\" Date: 08/02/2011
|
---|
6 | .\" Manual: User Commands
|
---|
7 | .\" Source: Samba 3.5
|
---|
8 | .\" Language: English
|
---|
9 | .\"
|
---|
10 | .TH "LDBSEARCH" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
|
---|
11 | .\" -----------------------------------------------------------------
|
---|
12 | .\" * set default formatting
|
---|
13 | .\" -----------------------------------------------------------------
|
---|
14 | .\" disable hyphenation
|
---|
15 | .nh
|
---|
16 | .\" disable justification (adjust text to left margin only)
|
---|
17 | .ad l
|
---|
18 | .\" -----------------------------------------------------------------
|
---|
19 | .\" * MAIN CONTENT STARTS HERE *
|
---|
20 | .\" -----------------------------------------------------------------
|
---|
21 | .SH "NAME"
|
---|
22 | ldbsearch \- Search for records in a LDB database
|
---|
23 | .SH "SYNOPSIS"
|
---|
24 | .HP \w'\ 'u
|
---|
25 | ldbsearch [\-h] [\-s\ base|one|sub] [\-b\ basedn] [\-i] [\-H\ LDB\-URL] [expression] [attributes]
|
---|
26 | .SH "DESCRIPTION"
|
---|
27 | .PP
|
---|
28 | ldbsearch searches a LDB database for records matching the specified expression (see the ldapsearch(1) manpage for a description of the expression format)\&. For each record, the specified attributes are printed\&.
|
---|
29 | .SH "OPTIONS"
|
---|
30 | .PP
|
---|
31 | \-h
|
---|
32 | .RS 4
|
---|
33 | Show list of available options\&.
|
---|
34 | .RE
|
---|
35 | .PP
|
---|
36 | \-H <ldb\-url>
|
---|
37 | .RS 4
|
---|
38 | LDB URL to connect to\&. See ldb(7) for details\&.
|
---|
39 | .RE
|
---|
40 | .PP
|
---|
41 | \-s one|sub|base
|
---|
42 | .RS 4
|
---|
43 | Search scope to use\&. One\-level, subtree or base\&.
|
---|
44 | .RE
|
---|
45 | .PP
|
---|
46 | \-i
|
---|
47 | .RS 4
|
---|
48 | Read search expressions from stdin\&.
|
---|
49 | .RE
|
---|
50 | .PP
|
---|
51 | \-b basedn
|
---|
52 | .RS 4
|
---|
53 | Specify Base DN to use\&.
|
---|
54 | .RE
|
---|
55 | .SH "ENVIRONMENT"
|
---|
56 | .PP
|
---|
57 | LDB_URL
|
---|
58 | .RS 4
|
---|
59 | LDB URL to connect to (can be overrided by using the \-H command\-line option\&.)
|
---|
60 | .RE
|
---|
61 | .SH "VERSION"
|
---|
62 | .PP
|
---|
63 | This man page is correct for version 4\&.0 of the Samba suite\&.
|
---|
64 | .SH "SEE ALSO"
|
---|
65 | .PP
|
---|
66 | ldb(7), ldbedit(1)
|
---|
67 | .SH "AUTHOR"
|
---|
68 | .PP
|
---|
69 | ldb was written by
|
---|
70 | Andrew Tridgell\&.
|
---|
71 | .PP
|
---|
72 | If you wish to report a problem or make a suggestion then please see the
|
---|
73 | : http://ldb.samba.org/
|
---|
74 | web site for current contact and maintainer information\&.
|
---|
75 | .PP
|
---|
76 | This manpage was written by Jelmer Vernooij\&.
|
---|