summaryrefslogtreecommitdiffstats
path: root/libcli/auth/schannel_state_tdb.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-01-27 16:38:25 +0100
committerStefan Metzmacher <metze@samba.org>2014-02-07 16:06:07 +0100
commit7e766a0a8ade1f018015684c22bda82595a33d38 (patch)
tree4509a8c1ad30a5f509f6cbbad094e7d975298844 /libcli/auth/schannel_state_tdb.c
parente4fbaadb5cadaa584f455d624eafe706703cda1a (diff)
downloadsamba-7e766a0a8ade1f018015684c22bda82595a33d38.tar.gz
samba-7e766a0a8ade1f018015684c22bda82595a33d38.tar.xz
samba-7e766a0a8ade1f018015684c22bda82595a33d38.zip
dbwrap: add dbwrap_flags argument to dbwrap_local_open()
To be consistent with db_open() and prepare for future possible extensions. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'libcli/auth/schannel_state_tdb.c')
-rw-r--r--libcli/auth/schannel_state_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/auth/schannel_state_tdb.c b/libcli/auth/schannel_state_tdb.c
index 6669b465b73..2219540b1c6 100644
--- a/libcli/auth/schannel_state_tdb.c
+++ b/libcli/auth/schannel_state_tdb.c
@@ -49,7 +49,7 @@ 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);
+ 0600, 0, DBWRAP_FLAG_NONE);
if (!db_sc) {
DEBUG(0,("open_schannel_session_store: Failed to open %s - %s\n",