Crash in CLEAR_IF_FIRST handling in tdb

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Oct 2 08:59:53 MDT 2012

On Tue, Oct 02, 2012 at 04:35:30PM +0200, Volker Lendecke wrote:
> Under
> find a patchset that for me fixes a crash in winbind in tdb.
> For the explanation, see the second patch from the top.

Just found out -- the change to tdb_have_extra_locks might
not be necessary. In a former version I was using
tdb_lockall for this purpose, but that does not work because
it does more than its name indicates -- it also does the
transaction recovery. This causes hickups for new databases.

Question here -- My feeling is that the transaction handling
in tdb_lockall is wrongly placed. Isn't that a bit of an
layering violation?



SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen, mailto:kontakt at

More information about the samba-technical mailing list