summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-10-27 18:28:06 +0000
committerJeremy Allison <jra@samba.org>1997-10-27 18:28:06 +0000
commit6fc83d5c36ab92a832d32ebbeab5111086826e10 (patch)
tree5643fcc35c29dca3527e4618aaeb35bd77862912
parenta030c938787cdaeaf1ac729a02aa791db5472d13 (diff)
downloadsamba-6fc83d5c36ab92a832d32ebbeab5111086826e10.tar.gz
samba-6fc83d5c36ab92a832d32ebbeab5111086826e10.tar.bz2
samba-6fc83d5c36ab92a832d32ebbeab5111086826e10.zip
Fixed bug where we are a WINS server but not a domain master
browser. We were doing a name query instead of a name status. Jeremy. (This used to be commit 4021a1bf553a20b518595f621f828d8279d05303)
-rw-r--r--source3/nameannounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nameannounce.c b/source3/nameannounce.c
index ef23e87e58..03fab914de 100644
--- a/source3/nameannounce.c
+++ b/source3/nameannounce.c
@@ -459,7 +459,7 @@ is one of our interfaces.\n", work->work_group, inet_ntoa(nr->ip_flgs[0].ip) ));
for workgroup %s\n", name, type, inet_ntoa(nr->ip_flgs[0].ip), work->work_group ));
queue_netbios_packet(wins_client_subnet, ClientNMB,
- NMB_QUERY,NAME_STATUS_DOM_SRV_CHK,
+ NMB_STATUS,NAME_STATUS_DOM_SRV_CHK,
name, type, 0,0,0,
work->work_group,NULL,
False, False, nr->ip_flgs[0].ip, nr->ip_flgs[0].ip, 0);