Changes

stoney core: Global Searches

663 bytes added, 09:03, 28 July 2013
/* Customer Search */
== Customer Search ==
=== Numerical value (integer) Search ===
The following example shows you the numerical value (integer) search (uid search) with '''400''' (400*) as the search parameter and '''o''' (for the organisation) as the return value:
<pre>
ldapsearch -H ldaps://ldapm.tombstone.ch \
-b "ou=customers,dc=foss-cloud,dc=org" \
-s sub \
-D "cn=Manager,dc=foss-cloud,dc=org" \
-W -x -LLL \
"(&(sstBelongsToResellerUID=4000000)(sstBelongsToCustomerUID=4000001)(uid=400*))" o
</pre>
 
Do not forget to restrict the search according to the person who is currently logged in.
 
The result(s):
<pre>
dn: uid=4000001,ou=customers,dc=foss-cloud,dc=org
o: Customer Ltd.
</pre>
== Person (People) Search ==
[[Category:Selfcare]]
SLB, editor, reviewer
3,368
edits