From 16bf14adf1b78f7ec4d3d267d500258fdf399627 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 16 Dec 1997 09:20:34 +0000 Subject: Added Lanman announce patch from Jacco de Leeuw . Also added code to stop old Samba servers that announce the workgroup name as master browser name when they are a local master browser. Jeremy. (This used to be commit 3605da055737e2cc0fbfffe7772721943a5be8bd) --- source3/nmbd/nmbd.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/nmbd/nmbd.c') 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; @@ -288,6 +291,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. -- cgit