diff options
author | Michael Adam <obnox@samba.org> | 2014-01-27 17:25:54 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-02-07 16:06:07 +0100 |
commit | 85235d03c1030a8bd510232a068da7f933ceb268 (patch) | |
tree | feb4099442aba40d29e07941fa1899ca8412cf73 /libcli/auth | |
parent | 4eb57bd6e7e9cdb6de5cb7510267a71917cfe393 (diff) | |
download | samba-85235d03c1030a8bd510232a068da7f933ceb268.tar.gz |
libcli: use DBWRAP_LOCK_ORDER_NONE when opening schannel_store.tdb
Make lack of lock order checking more visible.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'libcli/auth')
-rw-r--r-- | libcli/auth/schannel_state_tdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcli/auth/schannel_state_tdb.c b/libcli/auth/schannel_state_tdb.c index 2219540b1c6..2d3481d66f8 100644 --- a/libcli/auth/schannel_state_tdb.c +++ b/libcli/auth/schannel_state_tdb.c @@ -49,7 +49,8 @@ struct db_context *open_schannel_session_store(TALLOC_CTX *mem_ctx, db_sc = dbwrap_local_open(mem_ctx, lp_ctx, fname, 0, TDB_CLEAR_IF_FIRST|TDB_NOSYNC, O_RDWR|O_CREAT, - 0600, 0, DBWRAP_FLAG_NONE); + 0600, DBWRAP_LOCK_ORDER_NONE, + DBWRAP_FLAG_NONE); if (!db_sc) { DEBUG(0,("open_schannel_session_store: Failed to open %s - %s\n", |