Problem with smbclient
Matthew Vanecek
mev0003 at unt.edu
Tue Sep 28 13:32:52 GMT 1999
Martin Deinhofer wrote:
>
> Hi!
>
> I have a problem with smbclient and the option -M.
> I'd like to send Winpop Messages to my Windows Clients.
>
> I have noticed that command only works with short hostnames.
> I have for example a win95test1.no.domain host. Name resolution is done
> by
> bind 8 on the samba box.
>
> if I do
> echo "Test PopupMessage" |smbclient -M win95test1
>
> it works. (The winpopup.exe program is of course started on the Win95
> box)
>
> If I try now to do
>
> echo "Test PopupMessage with full Hostname" |smbclient -M
> win95test1.no.domain
>
There are a couple of things that could be wrong. Number 1 is not
looking at the man page for smbclient. There are options in there for
passing the IP address, etc, for the NetBios name you are connecting to.
Number 2, your lmhosts on the samba side is not set up properly. Try
setting it up, and if that doesn't work, try the options you find in the
man page (I think -B <ip> is the operative one here). /etc/lmhosts has
the following format:
FQDN NetBios name
your.machine.com your
HTH,
--
Matthew Vanecek
Course of Study: http://www.unt.edu/bcis
Visit my Website at http://people.unt.edu/~mev0003
For answers type: perl -e 'print
$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
*****************************************************************
For 93 million miles, there is nothing between the sun and my shadow
except me. I'm always getting in the way of something...
More information about the samba
mailing list