summaryrefslogtreecommitdiffstats
path: root/source/nameserv.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-09-03 20:15:40 +0000
committerJeremy Allison <jra@samba.org>1997-09-03 20:15:40 +0000
commitfa1305d1894a28331ba80d9de038ebf31ba902d6 (patch)
tree5c1a8851be6c4718bb1f7e7eeb37c473de0cfc01 /source/nameserv.c
parent56e8e890eca736e43f26a72c32547dbfa73e5247 (diff)
downloadsamba-fa1305d1894a28331ba80d9de038ebf31ba902d6.tar.gz
samba-fa1305d1894a28331ba80d9de038ebf31ba902d6.tar.xz
samba-fa1305d1894a28331ba80d9de038ebf31ba902d6.zip
nameannounce.c
nameresp.c nameserv.c nameservreply.c proto.h : Removed broadcast and recurse parameters in the queue_netbios_pkt_wins() call - they are not needed as they should always be 'false' and 'true' respectively. Also fixed a bug with secure name registration (WINS server code). server.c: Finally fixed problem with error 267 being returned to Win95. It is needed by NT. This is a horrid fix and I would appreciate a better one :-). Jeremy (jallison@whistle.com)
Diffstat (limited to 'source/nameserv.c')
-rw-r--r--source/nameserv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/nameserv.c b/source/nameserv.c
index 96bb1c0eac8..ccd0ef379cb 100644
--- a/source/nameserv.c
+++ b/source/nameserv.c
@@ -103,7 +103,7 @@ void remove_name_entry(struct subnet_record *d, char *name,int type)
/* not a WINS server: we have to release them on the network */
queue_netbios_pkt_wins(ClientNMB,NMB_REL,NAME_RELEASE,
name, type, 0, 0,0,NULL,NULL,
- False, True, ipzero, ipzero);
+ ipzero, ipzero);
}
}
else
@@ -163,7 +163,7 @@ void add_my_name_entry(struct subnet_record *d,char *name,int type,int nb_flags)
queue_netbios_pkt_wins(ClientNMB,
re_reg ? NMB_REG_REFRESH : NMB_REG, NAME_REGISTER,
name, type, nb_flags, GET_TTL(0),0,NULL,NULL,
- False, True, ipzero, ipzero);
+ ipzero, ipzero);
}
}
else
@@ -308,7 +308,7 @@ for domain master on workgroup %s\n", myworkgroup));
NAME_QUERY_DOMAIN,
myworkgroup, 0x1b,
0, 0,0,NULL,NULL,
- False, True, ipzero, ipzero);
+ ipzero, ipzero);
}
}
}