summaryrefslogtreecommitdiff
path: root/source4/cluster/local.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/cluster/local.c')
-rw-r--r--source4/cluster/local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cluster/local.c b/source4/cluster/local.c
index 0a294b4d1d..c62c5cf405 100644
--- a/source4/cluster/local.c
+++ b/source4/cluster/local.c
@@ -53,7 +53,7 @@ static struct tdb_wrap *local_tdb_tmp_open(struct cluster_ops *ops,
char *path = smbd_tmp_path(mem_ctx, lp_ctx, dbname);
struct tdb_wrap *w;
w = tdb_wrap_open(mem_ctx, path, 0, flags,
- O_RDWR|O_CREAT, 0600);
+ O_RDWR|O_CREAT, 0600, lp_ctx);
talloc_free(path);
return w;
}