Go to main content

man pages section 1: User Commands

Exit Print View

Updated: July 2017
 
 

ldbsearch (1)

Name

ldbsearch - Search for records in a LDB database

Synopsis

ldbsearch [-h] [-s base|one|sub] [-b basedn] [-i] [-H LDB-URL]
[expression] [attributes]

Description

System Administration tools                                       LDBSEARCH(1)



NAME
       ldbsearch - Search for records in a LDB database

SYNOPSIS
       ldbsearch [-h] [-s base|one|sub] [-b basedn] [-i] [-H LDB-URL]
                 [expression] [attributes]

DESCRIPTION
       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.

OPTIONS
       -h
           Show list of available options.

       -H <ldb-url>
           LDB URL to connect to. See ldb(3) for details.

       -s one|sub|base
           Search scope to use. One-level, subtree or base.

       -i
           Read search expressions from stdin.

       -b basedn
           Specify Base DN to use.

ENVIRONMENT
       LDB_URL
           LDB URL to connect to (can be overrided by using the -H
           command-line option.)

VERSION
       This man page is correct for version 1.1 of LDB.


ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:


       +---------------+-----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
       +---------------+-----------------------+
       |Availability   | service/network/samba |
       +---------------+-----------------------+
       |Stability      | Volatile              |
       +---------------+-----------------------+
SEE ALSO
       ldb(3), ldbedit(1)

AUTHOR
       ldb was written by Andrew Tridgell[1].

       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.

       This manpage was written by Jelmer Vernooij.

NOTES
        1. Andrew Tridgell
           http://samba.org/~tridge/


       This software was built from source available at
       https://java.net/projects/solaris-userland.  The original community
       source was downloaded from
       https://download.samba.org/pub/samba/stable/samba-4.4.14.tar.gz

       Further information about this software can be found on the open source
       community website at http://www.samba.org/.



LDB 1.1                           06/02/2017                      LDBSEARCH(1)