libcli/auth: avoid using transactions a chainlock is enough
authorStefan Metzmacher <metze@samba.org>
Wed, 27 Mar 2013 07:43:18 +0000 (08:43 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 28 Mar 2013 13:52:14 +0000 (14:52 +0100)
commitadbe6cba005a2060b0f641e91b500574f4637a36
treef3846688cf61aeac6724cfcf8778abc0179ea8c7
parent40d783c397ea21d03d1ea7130a438dd8c0d817f1
libcli/auth: avoid using transactions a chainlock is enough

We're just writting a single record into a CLEAR_IF_FIRST|TDB_NOSYNC
tdb.

We just need to make sure we lock the record between reading and writting.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Mar 28 14:52:14 CET 2013 on sn-devel-104
libcli/auth/schannel_state_tdb.c