svn commit: samba r26488 - in branches/SAMBA_4_0: source/dsdb/samdb/ldb_modules testprogs/ejs

Andrew Bartlett abartlet at samba.org
Mon Dec 17 10:25:29 GMT 2007


On Mon, 2007-12-17 at 11:06 +0100, Stefan (metze) Metzmacher wrote:
> Andrew Bartlett schrieb:
> > On Mon, 2007-12-17 at 09:48 +0100, Stefan (metze) Metzmacher wrote:
> >>> It turns out that AD puts search attributes onto the wire in the
> >>> reverse order to what Samba does.  This complicates exact value
> >>> matching, so this is skipped for now.
> >> What do you exatly mean with "search attributes" here?
> > 
> > Sorry, on a search, the attribute values are returned in a reverse order
> > to what the index in the ranged result (ie foo;range=1-4) would
> > indicate, and reverse compared with the order in which they were added.
> 
> Wouldn't that indicate they're added in front at write time?...

No, I don't think it does. 

> > The ranges still work 'right', but the results appear to be reversed
> > before going onto the wire.
> 
> ...So we don't need to change them at search time?

Yeah, when writing to the wire apparently...

Everything works as expected, except the order on the wire.  If you ask
for 1-4, then the very first thing added is missing.  

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20071217/4ae98307/attachment.bin


More information about the samba-technical mailing list