Problem with smbclient
Martin Deinhofer
mad at gams.co.at
Tue Sep 28 12:54:54 GMT 1999
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
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
work.
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
win95test1.no.domain<0x20>
resolve_name: Attempting host lookup for name win95test1.no.domain<0x20>
Connecting to 172.16.1.17 at port 139
write_socket(3,76)
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
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
session request failed
Is anybody already experienced in that problem ???
Thanks in advance!
mad
--
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
mailing list