On Tue, 30 Jul 2013, Stefan (metze) Metzmacher wrote: > I guess you're missing a TALLOC_FREE(lck); here. > That will release the lock on the tdb level. Ah brilliant - that's worked a treat! Thanks!