smbclient...

Eugen SAVIN seugen at abc.ro
Wed Jun 4 10:59:39 GMT 2003


Dear Sirs,

I want to make the smbclient code work with some other application, so
that I can easily send winpopup messages to some windows machines. The
problem is that we have diffrent C-classes, and we would like to send
the message based on the IP address and not the NetBios name.

Can you help me with this?

Thanks in advance.
Eugen.

Here is some smbclient debugging output:

Connecting to 193.231.240.2 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 = 16384
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
write_socket(3,72)
write_socket(3,72) wrote 72
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




More information about the samba-technical mailing list