ldb files

simo idra at samba.org
Sat Nov 25 13:53:43 GMT 2006

On Sat, 2006-11-25 at 14:02 +0100, Stefan (metze) Metzmacher wrote:
> Hash: SHA1
> > 
> > so ltdb_key() -> ldb_dn_get_casefold() is the problem...
> > 
> > Here's a possible fix for it...
> but it messes up the index records for binary values e.g. objectSid
> with base64 values

It is not correct for many reasons.
I changed the code in ldb_dn to gain performances, it make no sense to
rebuild linearized each time.

however the bug is not in this code, but in the previous code.

Linearized is the form you use to display the DN
Casefold is the form you must use to save indexes and compare strings.

So the solution is to add the proper attribute handler for DN type


Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org

More information about the samba-technical mailing list