ldapsearch(1) -x -b '' -s base -LLL supportedSASLMechanisms
LDAP search tool
-x     Use simple authentication instead of SASL.
-b searchbase
       Use searchbase as the starting point for the search instead of the default.
-s {base|one|sub|children}
       Specify the scope of the search to be one of base, one, sub, or children to specify a base object,
       one-level, subtree, or children search.  The default is sub.  Note: children scope requires LDAPv3
       subordinate feature extension.
-L     Search results are display in LDAP Data Interchange Format  detailed  in  ldif(5).   A  single  -L
       restricts the output to LDIFv1.
        A second -L disables comments.  A third -L disables printing of the LDIF version.  The default is
       to use an extended version of LDIF.
source manpages: ldapsearch