diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/nbt_server/wins/winsdb.c | 4 | ||||
-rwxr-xr-x | source4/script/tests/selftest.sh | 4 |
2 files changed, 4 insertions, 4 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); } diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index 95f2b3e767..adf5d082f8 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -85,7 +85,7 @@ export PATH rm -rf $PREFIX/* mkdir -p $PRIVATEDIR $LIBDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $TLSDIR -cat >$PRIVATEDIR/wins.ldif<<EOF +cat >$LOCKDIR/wins.ldif<<EOF dn: name=TORTURE_26,CN=PARTNERS objectClass: wreplPartner name: TORTURE_26 @@ -156,7 +156,7 @@ echo -n "PROVISIONING..." --quiet --domain $DOMAIN --realm $REALM \ --adminpass $PASSWORD --root=$ROOT || exit 1 -./bin/ldbadd -H $PRIVATEDIR/wins.ldb < $PRIVATEDIR/wins.ldif >/dev/null || exit 1 +./bin/ldbadd -H $LOCKDIR/wins.ldb < $LOCKDIR/wins.ldif >/dev/null || exit 1 echo "DONE" |