Emmanuel Lecharny wrote:
Dave Bothwell a écrit :


...


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

Good find ! But you are lucky :) It has been fixed last saturday ... (https://issues.apache.org/jira/browse/DIRSERVER-823) What you can do is to get a nighty build or build the server from the source. (nighty builds are *temporarily* available from http://www.iktek.com/index.jsp?rubrique=ads)

Might want to switch to 1.0.1-SNAPSHOTs for now or wait for 1.0.1 to be released here in a few days thanks to Emmanuel's hard work.

(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.

uh ? Where did you found this syntax? Isn't it possible that it's an artifact you get from logs?

AFAIK, those [0] are simply not allowed...

These are scan counts from the optimizer which is inserted into the filter nodes. The jdbm backend uses these to determine the best way to evaluate the filter on the entries in the partition.

Cheers,
Alex
begin:vcard
fn:Alex Karasulu
n:Karasulu;Alex
org:Apache Software Foundation;Apache Directory
adr:;;1005 N. Marsh Wind Way;Ponte Vedra ;FL;32082;USA
email;internet:[EMAIL PROTECTED]
title:Member, V.P.
tel;work:(904) 791-2766
tel;fax:(904) 808-4789
tel;home:(904) 808-4789
tel;cell:(904) 315-4901
note;quoted-printable:AIM: alexokarasulu=0D=0A=
	MSN: [EMAIL PROTECTED]
	Yahoo!: alexkarasulu=0D=0A=
	IRC: aok=0D=0A=
	PGP ID: 1024D/4E1370F8 BBCC E8D8 8756 2D51 C3D4 014A 3662 F96F 4E13 70F8=0D=0A=
	
x-mozilla-html:FALSE
url:http://people.apache.org/~akarasulu
version:2.1
end:vcard

Reply via email to