Difference between revisions of "stoney core: Global Searches"

From stoney cloud
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Search Selection)
(UID Search)
Line 9: Line 9:
 
* Numerical value (integer): Start a search for a '''uid''' (unique identifier)
 
* Numerical value (integer): Start a search for a '''uid''' (unique identifier)
 
* Alphanumerical value (non-integer): Start a search for either '''displayName''' or '''gecos'''.
 
* Alphanumerical value (non-integer): Start a search for either '''displayName''' or '''gecos'''.
 
== UID Search ==
 
The following example shows you the UID search with 400 as the search parameter:
 
<pre>
 
ldapsearch -H ldaps://ldapm.tombstone.ch -b "dc=foss-cloud,dc=org" -s sub -x -D "cn=Manager,dc=foss-cloud,dc=org" \
 
-W "(&(sstBelongsToResellerUID=4000000)(sstBelongsToCustomerUID=4000001)(uid=400*))"
 
</pre>
 
 
Do not forget to restrict the search according to the person who is currently logged in.
 
  
 
== Reseller Search ==
 
== Reseller Search ==

Revision as of 09:34, 28 July 2013

Overview

The main search field in the upper right corner searches the whole directory and gives first results while typing (actual search starts after entering three characters). The following example shows, that after typing four letters, we have four results (each containing the first four letters “Müll”):

  • Two customers “Peter Müller” and “Stefan Müller”.
  • One reseller “Müller & Co GmbH”.
  • One service “Online Backup 10 Gigabyte (Hausi Müller)”.

Search Selection

After the user has entered the first three characters, we do a first search selection:

  • Numerical value (integer): Start a search for a uid (unique identifier)
  • Alphanumerical value (non-integer): Start a search for either displayName or gecos.

Reseller Search

Customer Search

Person (People) Search