'\" t .\" Title: ldbsearch .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.75.2 .\" Date: 01/14/2010 .\" Manual: User Commands .\" Source: Samba 3.3 .\" Language: English .\" .TH "LDBSEARCH" "1" "01/14/2010" "Samba 3\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ldbsearch \- Search for records in a LDB database .SH "SYNOPSIS" .HP \w'\ 'u ldbsearch [\-h] [\-s\ base|one|sub] [\-b\ basedn] [\-i] [\-H\ LDB\-URL] [expression] [attributes] .SH "DESCRIPTION" .PP 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\&. .SH "OPTIONS" .PP \-h .RS 4 Show list of available options\&. .RE .PP \-H .RS 4 LDB URL to connect to\&. See ldb(7) for details\&. .RE .PP \-s one|sub|base .RS 4 Search scope to use\&. One\-level, subtree or base\&. .RE .PP \-i .RS 4 Read search expressions from stdin\&. .RE .PP \-b basedn .RS 4 Specify Base DN to use\&. .RE .SH "ENVIRONMENT" .PP LDB_URL .RS 4 LDB URL to connect to (can be overrided by using the \-H command\-line option\&.) .RE .SH "VERSION" .PP This man page is correct for version 4\&.0 of the Samba suite\&. .SH "SEE ALSO" .PP ldb(7), ldbedit(1) .SH "AUTHOR" .PP ldb was written by Andrew Tridgell\&. .PP If you wish to report a problem or make a suggestion then please see the : http://ldb.samba.org/ web site for current contact and maintainer information\&. .PP This manpage was written by Jelmer Vernooij\&.