Problem with smbclient
mad at gams.co.at
Tue Sep 28 12:54:54 GMT 1999
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
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
If I try now to do
echo "Test PopupMessage with full Hostname" |smbclient -M
it does not work any more.
The output of samba is
"session request failed"
I have tried this with samba-2.0.4b and samba-2.0.5a and it did not
Later I tried it with samba 1.9.18p10 and it surprisingly worked.
Here is a part of the output of samba-2.0.4b with debug level 50:
Derived broadcast address 172.16.1.255
Added interface ip=172.16.1.1 bcast=172.16.1.255 nmask=255.255.255.0
Client started (version 2.0.4b).
resolve_name: Attempting lmhosts lookup for name
resolve_name: Attempting host lookup for name win95test1.no.domain<0x20>
Connecting to 172.16.1.17 at port 139
write_socket(3,76) wrote 76
Sent session request
got smb length of 1 << I have noticed that samba-1.9.18p10 writes here:
'got smb length of 0'
size=1 << and here size = 0
session request failed
Is anybody already experienced in that problem ???
Thanks in advance!
Martin Deinhofer mailto:mad at gams.at
g.a.m.s. edv dienstleistungen gmbh +43 1 895 84 99-22
stiegergasse 15-17 ; 1150 Wien http://www.gams.at
More information about the samba