mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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>
This commit is contained in:
parent
4eb57bd6e7
commit
85235d03c1
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user