[Samba] smbclient -M/session request failed

Malte.Neubecker at computacenter.com Malte.Neubecker at computacenter.com
Tue Apr 22 14:21:43 GMT 2003


Hi Folks!

I try to send a popup via "smbclient -M" from a sun (SunOS 5.8, Samba
2.0.7, hostname "sonne") to a WinXP (hostname "dezntmneubeck_x") but it
fails. Both machines are in the same physical network. All I get are the
following lines:

root at sonne(1017)/> smbclient -s /usr/local/samba/lib/smb.conf -M dezntmneubeck_x
added interface ip=193.102.105.71 bcast=193.102.105.255 nmask=255.255.255.0
session request failed

I succeded to send a popup from the mentioned Sun to other XP machines.
They are clones from my dezntmneubeck_x and differ in name, IP Number,
Windows SID and some user specific settings, not related to the network or
services.
I also succeded to send a popup from other WinPC's to my XP dezntmneubeck_x
via "c:> net send".

Maybe, a debug helps to analyse it:
root at sonne(1018)/> smbclient -s /usr/local/samba/lib/smb.conf -M dezntmneubeck_x -d 10
added interface ip=193.102.105.71 bcast=193.102.105.255 nmask=255.255.255.0
Client started (version 2.2.2).
resolve_lmhosts: Attempting lmhosts lookup for name dezntmneubeck_x<0x20>
startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error was No such file or directory
resolve_hosts: Attempting host lookup for name dezntmneubeck_x<0x20>
Connecting to 193.102.105.140 at port 139
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 25200
Could not test socket option SO_SNDLOWAT.
Could not test socket option SO_RCVLOWAT.
Could not test socket option SO_SNDTIMEO.
Could not test socket option SO_RCVTIMEO.
write_socket(4,76)
write_socket(4,76) wrote 76
Sent session request
got smb length of 1
size=1
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
root at sonne(1019)/>

Do you have in idea how to make it run?
Thanks in advance.

Mit freundlichen Gruessen - Yours sincerely

Malte Neubecker
Administrator
Support Services
CC CompuNet AG & Co. oHG
A part of Computacenter plc
Europaring 34-40, 50170 Kerpen, Germany
Phone: +49 (0) 2273 597-8487, Fax: +49 (0) 2273 597-222, Mobile: +49 (0)
172 8167940
E-Mail : Malte.Neubecker at computacenter.com
Visit us on the Internet: http://www.computacenter.com


This email is confidential. If you are not the intended recipient,
you must not disclose or use the information contained in it.
If you have received this mail in error, please tell us
immediately by return email and delete the document.





More information about the samba mailing list