summaryrefslogtreecommitdiff
path: root/lib/param
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2013-04-11 17:12:16 +0930
committerJeremy Allison <jra@samba.org>2013-04-13 02:01:02 +0200
commit41333f92d0c78e44a524f2248f5ae641ad59abf3 (patch)
tree7c66421c6c6056b14c2596ce1761784de60a9094 /lib/param
parented6a4e04e1f8a0ca952e37577bfdc9731d6ef93d (diff)
downloadsamba-41333f92d0c78e44a524f2248f5ae641ad59abf3.tar.gz
samba-41333f92d0c78e44a524f2248f5ae641ad59abf3.tar.bz2
samba-41333f92d0c78e44a524f2248f5ae641ad59abf3.zip
ntdb: remove --disable-ntdb.
Remove DISABLE_NTDB option, and --disable-ntdb from waf build. This just means that it will always get built: it isn't used by default yet. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Apr 13 02:01:02 CEST 2013 on sn-devel-104
Diffstat (limited to 'lib/param')
-rw-r--r--lib/param/util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/param/util.c b/lib/param/util.c
index 29266c493d..8c3badfcb9 100644
--- a/lib/param/util.c
+++ b/lib/param/util.c
@@ -206,11 +206,9 @@ char *lpcfg_private_db_path(TALLOC_CTX *mem_ctx,
{
const char *extension = ".tdb";
-#ifndef DISABLE_NTDB
if (lpcfg_use_ntdb(lp_ctx)) {
extension = ".ntdb";
}
-#endif
return talloc_asprintf(mem_ctx, "%s/%s%s",
lpcfg_private_dir(lp_ctx), name, extension);