Changes

stoney core: Global Searches

202 bytes removed, 09:43, 12 August 2013
/* Backup */
=== Backup ===
==== Numerical value (integer) Backup Search ====
The following example shows you the numerical value (integer) search (uid search) with '''372''' (*372*) as the search parameter and the attributes '''uid''' (for the backup account uid), '''cn''' (common name, normally a combination of givenName and surname), '''gecos''' (the backup name), '''sstQuota''' 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=*372*))" uid cn gecos sstQuota sstIsActive
</pre>
dn: uid=3723707,ou=accounts,ou=backup,ou=services,dc=foss-cloud,dc=org
uid: 3723707
cn: Michael Eichenberger
gecos: Michael Eichenberger
sstIsActive: TRUE
dn: uid=3723708,ou=accounts,ou=backup,ou=services,dc=foss-cloud,dc=org
uid: 3723708
cn: Christian Wittkowski
gecos: Christian Wittkowski
sstIsActive: TRUE
==== Alphanumerical value (non-integer) Backup Search ====
The following example shows you the alphanumerical value (non-integer) search with '''mic''' (*mic*) as the search parameter and the attributes '''uid''' (for the backup account uid), '''cn''' (common name, normally a combination of givenName and surname), '''gecos''' (the backup name), '''sstQuota''' 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)(|(cn=*mic*)(gecos=*mic*)(givenName=mic*)))" uid cn gecos sstQuota sstIsActive
</pre>
SLB, editor, reviewer
3,368
edits