summaryrefslogtreecommitdiff
path: root/source4/wrepl_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-18 11:33:33 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-18 05:39:54 +0200
commit5954a37997a786a8808ee2544b594a0c90f1c893 (patch)
tree5e3749df18bb4249c218d1c40889300a29465770 /source4/wrepl_server
parent9d49945ff037e46f5083dc88816acafc2343a77c (diff)
downloadsamba-5954a37997a786a8808ee2544b594a0c90f1c893.tar.gz
lib/param: Remove parameters for wins and spoolss databases
This removes the smb.conf parameters per-database, replacing these with hard-coded database names in well known (and configurable) directories. The wins.ldb is now always in the "state dir", rather than being in both state and lock dir (ie, a bug). Less smb.conf parameters means less parameters to try and sync up between the loadparm subsystems. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 18 05:39:54 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/wrepl_server')
-rw-r--r--source4/wrepl_server/wrepl_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/wrepl_server/wrepl_server.c b/source4/wrepl_server/wrepl_server.c
index 064e11472cb..e28afc6fe5a 100644
--- a/source4/wrepl_server/wrepl_server.c
+++ b/source4/wrepl_server/wrepl_server.c
@@ -39,7 +39,7 @@ static struct ldb_context *wins_config_db_connect(TALLOC_CTX *mem_ctx,
struct loadparm_context *lp_ctx)
{
return ldb_wrap_connect(mem_ctx, ev_ctx, lp_ctx, lpcfg_private_path(mem_ctx,
- lp_ctx, lpcfg_wins_config_url(lp_ctx)),
+ lp_ctx, "wins_config.ldb"),
system_session(lp_ctx), NULL, 0);
}