summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-12-24 07:10:04 +0000
committerJeremy Allison <jra@samba.org>1997-12-24 07:10:04 +0000
commit0c0777400fd4a2e0586761514345153c9ee218ed (patch)
tree4339eb77dd96d1e87b81a96054396443b760931a /source3/nmbd/nmbd.c
parent5f38824696c86c35f3f0a98af8e6d623c3d2fcb3 (diff)
downloadsamba-0c0777400fd4a2e0586761514345153c9ee218ed.tar.gz
samba-0c0777400fd4a2e0586761514345153c9ee218ed.tar.bz2
samba-0c0777400fd4a2e0586761514345153c9ee218ed.zip
Finally added the code Andrew wanted that will allow a Samba domain
master browser to use the *<1b> feature of the Samba WINS server to get a full workgroup list. nmbd.c: Added timed call to collect_all_workgroup_names_from_wins_server(). nmbd_browsesync.c: Meat of the code to implement collect_all_workgroup_names_from_wins_server(). nmbd_incomingdgrams.c: Fixed comment typo. Jeremy. (This used to be commit 1a3ab3e84a415a6d0d9b4cafb3f0f6e8cbe3fa69)
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r--source3/nmbd/nmbd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index de83c0f67e..da98fbfde3 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -384,6 +384,14 @@ static void process(void)
initiate_wins_processing(t);
/*
+ * If we are a domain master browser, attempt to contact the
+ * WINS server to get a list of all known WORKGROUPS/DOMAINS.
+ * This will only work to a Samba WINS server.
+ * (nmbd_browsesync.c)
+ */
+ collect_all_workgroup_names_from_wins_server(t);
+
+ /*
* Go through the response record queue and time out or re-transmit
* and expired entries.
* (nmbd_packets.c)