ldb for 3.0.24?

simo idra at samba.org
Wed Nov 29 16:40:25 GMT 2006


On Wed, 2006-11-29 at 09:46 -0600, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Stefan (metze) Metzmacher wrote:
> > it mostly depends on when 3.0.24 will be released.
> > 
> > The problems I see are:
> > 
> > We use hardcoded attribute_name to attribute_handler mappings.
> > The problem with it is that if we change them in the code,
> > the records for indexes are created under different DN's
> > if the attribute handler changes. We hit this problem in samba4
> > last week, we're the attribute handler for the 'member' attribute
> > was changed to use the ldb_canonicalise_dn() function instead of
> > ldb_default_copy(), the result was that the index record
> > for the member attribute changed from:
> >   "DN=@INDEX:MEMBER:CN=Administrator,CN=Users,DC=sernoxdom4,DC=mx,DC=base"
> > to
> > "DN=@INDEX:MEMBER:CN=ADMINISTRATOR,CN=USERS,DC=SERNOXDOM4,DC=MX,DC=BASE"
> 
> gahhh!!!  I'm know I'm going to get flamed for this but *this*
> kind of issue was exactly stability I voiced concerned over.

This was a bug, but was also an easy one to deal with.

> > And I think if we ship the current code with samba3, 
> > it will may hit a lot of people as the group_mapping.ldb
> > uses indexed records.
> >
> > And in the current implementation the LOCAL-DBSPEED test
> > says that tdb is 10 times faster than ldb.
> >
> 
> ok.  Based on that I'm going to pull ldb from 3.0.24.  We can
> leave it in SAMBA_3_0 for now, but if necessary, I'll pull
> it from there and go back to using Volker's original multi-index
> tdb patch.

Your call.

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



More information about the samba-technical mailing list