Gigaset N670 IP PRO Installation, Configuration And Operation page 103

Hide thumbs Also See for N670 IP PRO:
Table of Contents

Advertisement

Filter format
A filter consists of one or more criteria. A criterion defines the LDAP attribute in which the
entered string is to be searched for, e.g. sn=%. The percent sign (%) is a placeholder for the user
input.
Operators
Following operators can be used to create filters:
Operator
Meaning
=
Equality
!=
Negation
>=
Greater than
<=
Less than
~
Proximity (LDAP server dependent) (attribute1~=abc)
*
Wildcard
Multiple criteria can be connected with logical AND (&) and/or OR operators (|). The logical oper-
ators "&" and "|" are placed in front of the criteria. The criterion must be placed in brackets and
the whole expression must be bracketed again. AND and OR operations can also be combined.
Examples
AND operation: (&(givenName=%)(mail=%))
Searches for entries in which the first name and e-mail address begin with the
characters entered by the user.
OR operation:
(|(displayName=%)(sn=%))
Searches for entries in which the display name or surname begins with the
characters entered by the user.
Combined
(|(&(displayName=%)(mail=%))(&(sn=%)(mail=%)))
operation:
Searches for entries in which the display name and e-mail address or the
surname and e-mail address begin with the characters entered by the user.
Special characters
It is also possible to find entries containing special characters. If you want to compare these char-
acters within an attribute string use backslash (\) and a 2-digit hex ASCII code as follows:
Special character
(
)
<
>
/
\
Example
(givenName=James \28Jim\29)
will find any entry with givenName attribute's value equal to "James (Jim)"
ASCII code
\28
\29
\3c
\3e
\2f
\2a
LDAP directory – configuration example
Example
(attribute1=abc)
(!(attribute1=abc))
(attribute1>=1000)
(attribute1<=1000)
(attr1=ab*) or (attr1=*c) or (attr1=*b*)
Special character
=
&
~
*
|
ASCII code
\3d
\26
\7e
\2a
\7c
103

Advertisement

Table of Contents
loading

Table of Contents