Gigaset N870 IP PRO Installation, Configuration And Operation page 98

Multicell system
Table of Contents

Advertisement

Gigaset N870 IP PRO / ALL UK en / A31008-XXXXX-XXXX-X-XX / LDAP_example.fm / 8/14/18
LDAP directory – configuration example
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
=
!=
>=
<=
~
*
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=%))
OR operation:
Combined
operation:
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)"
98
www.internetvoipphone.co.uk | sales@internetvoipphone.co.uk | 0333 014 4343
Meaning
Equality
Negation
Greater than
Less than
Proximity (LDAP server dependent) (attribute1~=abc)
Wildcard
Searches for entries in which the first name and e-mail address begin with the
characters entered by the user.
(|(displayName=%)(sn=%))
Searches for entries in which the display name or surname begins with the
characters entered by the user.
(|(&(displayName=%)(mail=%))(&(sn=%)(mail=%)))
Searches for entries in which the display name and e-mail address or the sur-
name and e-mail address begin with the characters entered by the user.
ASCII code
(
\28
)
\29
<
\3c
>
\3e
/
\2f
\
\2a
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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents