summaryrefslogtreecommitdiff
path: root/source4/nbt_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-12 13:52:54 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-12 16:16:45 +0200
commit110bf317d8459d4b93f39f789a21b5e74f045ff7 (patch)
tree7b8681c9de9d58357fddca6e0688ed9250da3607 /source4/nbt_server
parent2ba1444fbde9e459f67292ba5cdc79191d6c35ee (diff)
downloadsamba-110bf317d8459d4b93f39f789a21b5e74f045ff7.tar.gz
samba-110bf317d8459d4b93f39f789a21b5e74f045ff7.tar.bz2
samba-110bf317d8459d4b93f39f789a21b5e74f045ff7.zip
s4:winsdb: place wins.ldb in "state dir" instead of "lock dir"
It's not only a cache as we also support static records. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 16:16:45 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/nbt_server')
-rw-r--r--source4/nbt_server/wins/winsdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nbt_server/wins/winsdb.c b/source4/nbt_server/wins/winsdb.c
index 4a1486092b..6727445437 100644
--- a/source4/nbt_server/wins/winsdb.c
+++ b/source4/nbt_server/wins/winsdb.c
@@ -975,7 +975,7 @@ static bool winsdb_check_or_add_module_list(struct tevent_context *ev_ctx,
flags |= LDB_FLG_NOSYNC;
}
- h->ldb = ldb_wrap_connect(h, ev_ctx, lp_ctx, lpcfg_lock_path(h, lp_ctx, lpcfg_wins_url(lp_ctx)),
+ h->ldb = ldb_wrap_connect(h, ev_ctx, lp_ctx, lpcfg_state_path(h, lp_ctx, lpcfg_wins_url(lp_ctx)),
NULL, NULL, flags);
if (!h->ldb) goto failed;