[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Question about ldap filter

Jason Voorhees wrote:
Hi there:

I'm trying to understand how ldap filters work. Based on this simple
logic expression:

EXPR_1 (or) EXPR_2

if EXPR1 returns TRUE, will slapd still try to evaluate EXPR2? or will
slapd evaluate EXPR2 anyway even if EXPR_1 is true?

I think that while the ldap filter is bigger then performance is worse,

could somebody explain me a little about this logic of evaluation in
ldap filters?

As far as I understand the code, test_filter() stops filtering, returning success, at the first occurrence of TRUE.


Ing. Pierangelo Masarati OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it