[Samba] smbclient -M

Adam Nielsen adam.nielsen at uq.edu.au
Sun Sep 13 19:40:02 MDT 2009

> # smbclient -M Client01
> Connection to Client01 failed. Error NT_STATUS_BAD_NETWORK_NAME
> but:
> # smbclient -L Client01 -U myuser
> Enter myuser's password: 
> Domain=[MYDOMAIN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

That's a bit odd.  What happens if you use an IP address instead?  Does
"nmblookup Client01" work?

Don't forget that you need the "Messenger" service running on the target
PC otherwise the message won't be sent (Start, Run, services.msc)


More information about the samba mailing list