summaryrefslogtreecommitdiff
path: root/source4/nbt_server/wins
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-12 09:03:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:41 -0500
commit0b5fe8f7e14565209fe4354a6990aa9df1854023 (patch)
treefadbea1b4c97de948ffd7cc357157d7cd3513c3b /source4/nbt_server/wins
parent2279d1ebfb0a750d92ca0c4a9dc9803c35c845d9 (diff)
downloadsamba-0b5fe8f7e14565209fe4354a6990aa9df1854023.tar.gz
samba-0b5fe8f7e14565209fe4354a6990aa9df1854023.tar.bz2
samba-0b5fe8f7e14565209fe4354a6990aa9df1854023.zip
r6750: some minor tweaks to the cldapd server
I can now join winxp -> samba4 DC using long name, and login. The nice thing is there are no delays now, as the client likes the replies it gets (This used to be commit 5aff7d36f3e535e305820ae42b023ae53cc0daf9)
Diffstat (limited to 'source4/nbt_server/wins')
-rw-r--r--source4/nbt_server/wins/winsserver.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/nbt_server/wins/winsserver.c b/source4/nbt_server/wins/winsserver.c
index 2212748777..abfb714e41 100644
--- a/source4/nbt_server/wins/winsserver.c
+++ b/source4/nbt_server/wins/winsserver.c
@@ -276,8 +276,10 @@ NTSTATUS nbtd_winsserver_init(struct nbtd_server *nbtsrv)
nbtsrv->winssrv = talloc(nbtsrv, struct wins_server);
NT_STATUS_HAVE_NO_MEMORY(nbtsrv->winssrv);
- nbtsrv->winssrv->max_ttl = lp_max_wins_ttl();
- nbtsrv->winssrv->min_ttl = lp_min_wins_ttl();
+ nbtsrv->winssrv->max_ttl = lp_max_wins_ttl();
+ nbtsrv->winssrv->min_ttl = lp_min_wins_ttl();
+ nbtsrv->winssrv->min_version = 0;
+ nbtsrv->winssrv->max_version = 0;
return winsdb_init(nbtsrv->winssrv);
}