32
Services
Maxwell 10 / en / A31008-N4001-R102-1-20 / web_configurator.fm / 22.01.2014
Te
mplat
e
A4, V
e
rsion 1, 0
3.04.2012
Filter
Using the filter, you can define criteria against which specific entries can be searched in the LDAP
database. One filter consists of one or more search criteria. A search criterion contains the query for
an LDAP attribute, e. g. sn=%. The percent symbol (%) is a placeholder for the user entry.
LDAP name filter
The name filter
decides which attribute is used for the search.
Example: (sn=%)
The percent symbol (%) is replaced by the name or part of the name entered by the user. If a user
enters the letter "A" for example, all entries in which the attribute
sn
begins with "A" are searched
for in the LDAP database . If the user then enters a "b", entries are searched in which the
sn
attrib-
ute begins with "Ab".
LDAP number filter
The number filter stipulates the criteria for the automatic completion of telephone numbers.
Example: (|(telephoneNumber=%)(mobile=%))
The percent symbol (%) is then replaced by the part of the telephone number entered by the user.
When dialling, if a user enters the numbers "123" for example, all telephone numbers (office and
mobile) that begin with "123" are searched for in the LDAP database. The telephone number is
completed with the addition of information from the database.
Multiple criteria can be connected using logical AND (&) and/or OR (|) operators. The logical operators
"&" and "|" are placed before the search criteria. The search criterion must be placed in brackets and
the whole expression must be terminated with a bracket again. AND and OR operations can also be
combined.
Examples:
AND operation:
(& (givenName=%) (mail=%))
Searches for entries in which the first name
and
mail address begin with the
letters entered by the user.
OR operation:
(| (cn=%) (sn=%))
Searches for entries in which the common name
or
surname begin with the
letters entered by the user.
Combined operation:
(|(& (givenName=%) (mail=%))(& (sn=%) (mail=%)))
Searches for entries in which the first name
and
mail address
or
the sur-
name
and
mail address begin with the letters entered by the user.