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

Re: filter questioin

wenjie.zhao@sbamc.alcatel.com.cn writes:


I subscribe to this crowded NS for quite a long time!
Now comes a little question: I fould openLDAP v2.0.7 (solaris 7 local)
doesn't support the following filter:

'(attriName1 > atrriName2)'

while it supports filters like '(!(attriName1 = attriName2))' .
Do you know from which version the '>' or '<' filter is added?
Or did I wrote something in a wrong way?

OOOps: I note that you're trying to use a sort of relational
filter; LDAP only supports AVA filters, i.e. you can assert
a value of an attribute, not relations among attributes.

"(!(a1=a2))" is treated as "a1 != 'a2'", that is the right hand side
is treated as a literal string, not an attribute name.

Again, see RFC 2254


Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:pierangelo.masarati@polimi.it
via La Masa 34, 20156 Milano, Italy | http://www.aero.polimi.it/~masarati