r25446: Merge some changes I made on the way home from SFO:
[bbaumbach/samba-autobuild/.git] / source4 / cluster / local.c
index be6d857d7b885a28241e05c621fafede0554a168..2abe422d5a9478e3d0617170c8759833cc5564c2 100644 (file)
@@ -58,7 +58,7 @@ static struct tdb_wrap *local_tdb_tmp_open(struct cluster_ops *ops,
                                           TALLOC_CTX *mem_ctx, const char *dbname, 
                                           int flags)
 {
-       char *path = smbd_tmp_path(mem_ctx, dbname);
+       char *path = smbd_tmp_path(mem_ctx, global_loadparm, dbname);
        struct tdb_wrap *w;
        w = tdb_wrap_open(mem_ctx, path, 0, flags,
                          O_RDWR|O_CREAT, 0600);