summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r--source3/nmbd/nmbd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 11cd50cd76..86f01d8e79 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -47,6 +47,9 @@ extern char **my_netbios_names;
/* are we running as a daemon ? */
static BOOL is_daemon = False;
+/* have we found LanMan clients yet? */
+BOOL found_lm_clients = False;
+
/* what server type are we currently */
time_t StartupTime = 0;
@@ -289,6 +292,13 @@ static void process(void)
announce_my_server_names(t);
/*
+ * Send out any LanMan broadcast announcements
+ * of our server names.
+ * (nmbd_sendannounce.c)
+ */
+ announce_my_lm_server_names(t);
+
+ /*
* If we are a local master browser, periodically
* announce ourselves to the domain master browser.
* This also deals with syncronising the domain master