On 29/09/2021 17:40, Jeremy Allison wrote:> On Wed, Sep 29, 2021 at 05:03:54PM +0200, Gilles via samba wrote: >> Hello, >> >> From Debian 9 running Samba 4-5-16, I'd like to send a pop-up message >> to a Windows (7) host, but none of the following works: >> >> smbclient -M \\WIN-PC "test" >> smbclient -M //WIN-PC "test" >> smbclient -M ////WIN-PC "test" >> smbclient -M '\\WIN-PC' "test" >> >> Would someone have a working example? >> >> FWIW, the Windows host is running a Comodo firewall. Would I need to >> allow connection to a given TCP/UDP port? > > -M messaging is an SMB1-only thing I believe. Is the Windows7 box > running an SMB1 server ?I don't know what an SMB1 server is. Is it a service I need to run on the Windows host?
Jeremy Allison
2021-Sep-29 16:02 UTC
[Samba] [smbclient] Fails sending pop-up message with -M
On Wed, Sep 29, 2021 at 05:52:17PM +0200, Gilles via samba wrote:>On 29/09/2021 17:40, Jeremy Allison wrote: >>On Wed, Sep 29, 2021 at 05:03:54PM +0200, Gilles via samba wrote: >>>Hello, >>> >>>From Debian 9 running Samba 4-5-16, I'd like to send a pop-up >>>message to a Windows (7) host, but none of the following works: >>> >>>smbclient -M \\WIN-PC "test" >>>smbclient -M //WIN-PC "test" >>>smbclient -M ////WIN-PC "test" >>>smbclient -M '\\WIN-PC' "test" >>> >>>Would someone have a working example? >>> >>>FWIW, the Windows host is running a Comodo firewall. Would I need >>>to allow connection to a given TCP/UDP port? >> >>-M messaging is an SMB1-only thing I believe. Is the Windows7 box >>running an SMB1 server ? > >I don't know what an SMB1 server is. Is it a service I need to run on >the Windows host?Yes, but you really shouldn't :-). https://techcommunity.microsoft.com/t5/storage-at-microsoft/stop-using-smb1/ba-p/425858