summaryrefslogtreecommitdiffstats
path: root/source3/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
commit82290216ad827c9f8f74ffd3aa6a37dca28174e1 (patch)
tree6638d14cbfbffac25e9d8a9a7578194ee44f2879 /source3/nameserv.c
parent6e64355770c43e5bf6aa9896cb87f3cfaad11f1b (diff)
downloadsamba-82290216ad827c9f8f74ffd3aa6a37dca28174e1.tar.gz
samba-82290216ad827c9f8f74ffd3aa6a37dca28174e1.tar.xz
samba-82290216ad827c9f8f74ffd3aa6a37dca28174e1.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) (This used to be commit fa1305d1894a28331ba80d9de038ebf31ba902d6)
Diffstat (limited to 'source3/nameserv.c')
-rw-r--r--source3/nameserv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nameserv.c b/source3/nameserv.c
index 96bb1c0eac8..ccd0ef379cb 100644
--- a/source3/nameserv.c
+++ b/source3/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);
}
}
}