Changes

stoney core: Global Searches

625 bytes added, 08:59, 28 July 2013
/* Numerical value (integer) Search */
== Reseller Search ==
=== Numerical value (integer) Search ===
The following example shows you the UID numerical value (integer) search (uid search) with '''400''' (400 *) as the search parameter:
<pre>
ldapsearch -H ldaps://ldapm.tombstone.ch \
printing of the LDIF version. The default is to use an extended
version of LDIF.
</pre>
 
=== Alphanumerical value (non-integer) Search ===
The following example shows you the alphanumerical value (non-integer) search with '''res''' (res*) as the search parameter:
<pre>
ldapsearch -H ldaps://ldapm.tombstone.ch \
-b "ou=reseller,dc=foss-cloud,dc=org" \
-s sub \
-D "cn=Manager,dc=foss-cloud,dc=org" \
-W -x -LLL \
"(&(sstBelongsToResellerUID=4000000)(o=res*))" o
</pre>
 
Do not forget to restrict the search according to the person who is currently logged in.
 
The result(s):
<pre>
dn: uid=4000000,ou=reseller,dc=foss-cloud,dc=org
o: Reseller Ltd.
</pre>
SLB, editor, reviewer
3,368
edits