LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   getting session request failed whenever send the message using smbclient (https://www.linuxquestions.org/questions/linux-newbie-8/getting-session-request-failed-whenever-send-the-message-using-smbclient-771434/)

nagendrar 11-25-2009 05:20 AM

getting session request failed whenever send the message using smbclient
 
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 . How can I solve it? Please help.
Here <Ip Add> in network and reachable.

ThanQ,
Nagendra R

di11rod 11-28-2009 06:14 PM

Quote:

Originally Posted by nagendrar (Post 3769070)
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.

Emotional Friend


All times are GMT -5. The time now is 12:31 AM.