ldapsearch — ldap Search Tool

Synopsis

/usr/bin/ldapsearch [-n][-u][-v][-t][-A][-B][-L][-R][-d debuglevel] 
  [-F sep][-S attr][-f file][-D binddn][-w passwd][-h ldaphost] 
  [-M authentication][-p ldapport][-b searchbase][-s scope][-a deref] 
  [-l time limit][-z size limit] filter [attrs....] 

Description

ldapsearch opens a connection to an LDAP server and binds and performs a search using the filter filter.

If ldapsearch finds one or more entries, the attributes specified by attrs are retrieved and the entries and values are printed to standard output. If no attrs are listed, all attributes are returned.

Options

-a deref Specify how aliases dereferencing ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.