summaryrefslogtreecommitdiff
path: root/source4/nbt_server/wins
diff options
context:
space:
mode:
Diffstat (limited to 'source4/nbt_server/wins')
-rw-r--r--source4/nbt_server/wins/winsdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/nbt_server/wins/winsdb.c b/source4/nbt_server/wins/winsdb.c
index 3a73b9897c..8ed55dca1a 100644
--- a/source4/nbt_server/wins/winsdb.c
+++ b/source4/nbt_server/wins/winsdb.c
@@ -677,6 +677,6 @@ failed:
struct ldb_context *winsdb_connect(TALLOC_CTX *mem_ctx)
{
- return ldb_wrap_connect(mem_ctx, lp_wins_url(), system_session(mem_ctx),
- NULL, 0, NULL);
+ return ldb_wrap_connect(mem_ctx, lock_path(mem_ctx, lp_wins_url()),
+ system_session(mem_ctx), NULL, 0, NULL);
}