Changes

stoney core: Global Searches

526 bytes added, 08:50, 28 July 2013
/* UID Search */
<pre>
ldapsearch -H ldaps://ldapm.tombstone.ch \
-b "ou=reseller,dc=foss-cloud,dc=org" \ -s sub -x \ -D "cn=Manager,dc=foss-cloud,dc=org" \ -W -x \ "(&(sstBelongsToResellerUID=4000000)(sstBelongsToCustomerUID=4000001)(uid=400*))"o
</pre>
<pre>
-H: ldapuri
Specify URI(s) referring to the ldap server(s).
-b: searchbase
Use searchbase as the starting point for the search instead of
the default.
-s: base|one|sub
Specify the scope of the search to be one of base, one, or sub
to specify a base object, one-level, or subtree search. The
default is sub.
-D: binddn
Use the Distinguished Name binddn to bind to the LDAP directory.
-W: Prompt for simple authentication. This is used instead of spec-
ifying the password on the command line.
-x Use simple authentication instead of SASL.
</pre>
SLB, editor, reviewer
3,368
edits