git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eb57bd
)
libcli: use DBWRAP_LOCK_ORDER_NONE when opening schannel_store.tdb
author
Michael Adam
<obnox@samba.org>
Mon, 27 Jan 2014 16:25:54 +0000
(17:25 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 7 Feb 2014 15:06:07 +0000
(16:06 +0100)
Make lack of lock order checking more visible.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
libcli/auth/schannel_state_tdb.c
patch
|
blob
|
history
diff --git
a/libcli/auth/schannel_state_tdb.c
b/libcli/auth/schannel_state_tdb.c
index 2219540b1c6a1fb25f45c707ede6ad89f2c0e497..2d3481d66f847305af5fad04c236961448ae21c9 100644
(file)
--- 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",