[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: NOT filter question
It was changed in X.500:2000.
Just on a side note, it doesn't make sense to return TRUE.
Consider the filter: !(height<5)
If there is no height attribute, this, according to you, should evaluate to true. But this implies that height >= 5.
Say you were forming a volleyball team and you searched you company's directory for all employees at least 6' high. You then invite them to join a team. On the first day of training you turn up and they're all midgets!
Ron
-----Original Message-----
From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
Sent: Thursday, 2 September 2004 01:46
To: Ramsay, Ron
Cc: John McMeeking; ietf-ldapbis@OpenLDAP.org
Subject: RE: NOT filter question
X.501(93), 8.7.3:
>An AVA is:
>a) undefined, if any of the following hold:
>1) the attribute type is unknown,
CN is (presumed) known.
>2) the attribute type has no equality matching rule,
CN has an equality matching rule.
>3) the value does not conform to the data type indicated by the syntax of the assertion of the attribute's
>equality matching rule;
"bob" conforms to assertion syntax.
>b) true, if the entry contains an attribute of that type, one of whose values matches that value;
The entry doesn't contain CN.
>c) false, otherwise.
(CN=bob) is False. (!(CN=bob)) is True.
At 07:18 PM 8/31/2004, Ramsay, Ron wrote:
>Many (most?) LDAP servers evaluate it to true.
I would hope so.
Kurt