Changes

stoney core: Global Searches

104 bytes added, 09:49, 12 August 2013
/* Numerical value (integer) People Search */
== Person (People) Search ==
=== Numerical value (integer) People Search ===
The following example shows you the numerical value (integer) search (uid search) with '''400''' (*400*) as the search parameter and the attributes '''o''' (for the organisation) and '''sstIsActive''' as the return values:
<pre>
ldapsearch -H ldaps://ldapm.tombstone.ch \
-D "cn=Manager,dc=foss-cloud,dc=org" \
-W -x -LLL \
"(&(sstBelongsToResellerUID=4000000)(uid=*400*))" o sn givenName sstIsActive
</pre>
sn: Guldentops
sstIsActive: FALSE
 
dn: uid=4000080,ou=people,dc=foss-cloud,dc=org
givenName: Tatiana
sn: Eichenberger
sstIsActive: TRUE
</pre>
SLB, editor, reviewer
3,368
edits