LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba issue: "session request failed" (https://www.linuxquestions.org/questions/linux-networking-3/samba-issue-session-request-failed-79223/)

amaze 08-05-2003 11:34 AM

Samba issue: "session request failed"
 
Hi,

I am having a serious problem trying to get my linux box to send "net send" messages using smbclient.

Certain events trigger a bash script which will then "net send" messages to various computers on our network.

---------------------------------------------------------------------------

THIS IS THE SYNTAX I USE:

echo "test message" | smbclient -M pc1-bagu4-4-cust36.bagu.cable.ntl.com -I 81.97.21.36


THIS IS THE OUTPUT:

Serverzone is -3600
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = cendlaa1
doing parameter server string = Samba Server
doing parameter log level = 1
doing parameter log file = /usr/local/samba/var/log.%m
doing parameter max log size = 50
doing parameter security = user
doing parameter hosts deny = ALL
doing parameter hosts allow = 69.xx.xxx.xxx
doing parameter interfaces = 69.xx.xxx.xxx (*THIS IS MY LOCALHOST)
doing parameter bind interfaces only = yes
doing parameter local master = no
pm_process() returned Yes
load_client_codepage: loading codepage 850.
load_unicode_map: loading unicode map for codepage 850.
load_unicode_map: loading unicode map for codepage ISO8859-1.
added interface ip=69.xx.xxx.xxx bcast=69.10.132.255 nmask=255.255.255.0
Client started (version 2.2.7-security-rollup-fix).
Connecting to 81.97.21.36 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 = 43689
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
Sent session request
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@vix dev]#
---------------------------------------------------------------------------

Has anyone got any ideas for this, I'm really starting to run out of ideas! I have trawled though google & groups but to no avail.

Any help would be REALLY appreciated.

Thanks Oliver :)

amaze 08-07-2003 04:09 AM

Someone must have a inkling? I would really appreciate it as im really lost for ideas! :(

unSpawn 08-07-2003 02:33 PM

//moderator.note: crosspost.
Please refrain from crossposting.
FUP to: http://www.linuxquestions.org/questi...threadid=79224


All times are GMT -5. The time now is 09:16 PM.