directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Bothwell <dbothw...@eprimepoint.com>
Subject Search filter bug and question
Date Wed, 07 Feb 2007 23:53:40 GMT
Hello directory developers,

I have recently completed a custom partition, which I developed in 
version 0.9.3 and ported to version 1.0.0. I believe I have uncovered a 
bug (1) and, I also have a separate question (2) both are in regards to 
filters. First the bug:

(1)

Using JXplorer I entered a filter in the search dialog:

(|(&(!(sn=*ton*))(cn=*b*))(uid>=a))

when the filter was received at myCustomPartition’s search function it read

(| (! (sn=*ton*) ) (cn=*b*) (0.9.2342.19200300.100.1.1>=a) )

I believe it should read:

(| (& (! (sn=*ton*) ) (cn=*b*) ) (0.9.2342.19200300.100.1.1>=a) )

It appears the AND operator and associated parentheses are being 
stripped away.

(2)

My question has to do with the filter statement:

(| (objectClass=groupOfNames)[0] (objectClass=groupOfUniqueNames)[0] )[0]

I have not been able to hunt down information about the [0] syntax, 
which appears to be new to version 1.0.0. If someone can enlighten me or 
perhaps point me in the direction of the appropriate RFC I would greatly 
appreciate it.

Also, I would like to thank Alex and the rest of the team for all their 
hard work. It is a pleasure working with your product.

dbothwell@eprimepoint.net


Mime
View raw message