Originally Posted by nagendrar
I am sending message from linux to windows system as follows
echo "test"|smbclient -M <IP Add>
But I am getting "session request failed" message .
It would be helpful if you could copy-and-paste the entire transaction. I'd like to know if the remote machine is responding or not even being contacted. One thing you can certainly try is to add the port number via the -p flag.
echo "test"|smbclient -M -p 139 <IP Add>
If you google a search term 'smb session request failed
' you will get useful troubleshooting information. Always copy-and-paste full transactions whenever possible in your posting. Unless it's like a mile long or whatever.