[PATCH] make schannel.tdb TDB_CLEAR_IF_FIRST

simo idra at samba.org
Mon Jun 28 06:39:14 MDT 2010

On Mon, 2010-06-28 at 14:30 +0200, Volker Lendecke wrote:
> On Mon, Jun 28, 2010 at 08:26:41AM -0400, simo wrote:
> > When I converted this schannel DB from ldb to tdb I realized the
> > transaction is necessary to avoid races IIRC. Otherwise I would have
> > removed it already.
> Transactions are slightly overkill for this I think. Normal
> tdb_chainlock would also have done it IMHO.

You may be right.


Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>

More information about the samba-technical mailing list