diff options
author | Volker Lendecke <vl@samba.org> | 2015-03-12 12:39:37 +0000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2015-03-17 11:30:51 +0100 |
commit | b08117976d1d0a9e42b860f8971a4d9bc639bf4b (patch) | |
tree | 18fb62a178a1616b678055a280d3be8e004bc1a3 /source4/cluster/local.c | |
parent | 9943691093cc03a5b25a945041dd43e52929033d (diff) | |
download | samba-b08117976d1d0a9e42b860f8971a4d9bc639bf4b.tar.gz |
Remove callers of lp_use_ntdb
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source4/cluster/local.c')
-rw-r--r-- | source4/cluster/local.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/cluster/local.c b/source4/cluster/local.c index 18ee3d99d13..5ef58c91bf6 100644 --- a/source4/cluster/local.c +++ b/source4/cluster/local.c @@ -56,10 +56,7 @@ static struct db_context *local_db_tmp_open(struct cluster_ops *ops, char *path, *dbname; struct db_context *db; - if (lpcfg_use_ntdb(lp_ctx)) - dbname = talloc_asprintf(mem_ctx, "%s.ntdb", dbbase); - else - dbname = talloc_asprintf(mem_ctx, "%s.tdb", dbbase); + dbname = talloc_asprintf(mem_ctx, "%s.tdb", dbbase); path = smbd_tmp_path(tmp_ctx, lp_ctx, dbname); db = dbwrap_local_open(mem_ctx, lp_ctx, path, 0, flags, O_RDWR|O_CREAT, |