I have debian PDC server and 2 win xp clients,I try to send message to the xp client from samba server with " smbclient -M hostname " but always error?

please help
Who is Participating?
ClintSwineyConnect With a Mentor Commented:
What is the error?
linuxdebianAuthor Commented:
smbclient -M hotsname
Unknown parameter encountered:"SO_RCVBUF"
Ignoring unknow.......
connection to hostname failed
linuxdebianAuthor Commented:
Unknown parameter encountered: "SO_RCVBUF"
Ignoring unknown parameter "SO_RCVBUF"
Connection to xx failed. Error NT_STATUS_BAD_NETWORK_NAME
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

ClintSwineyConnect With a Mentor Commented:
Is the Messenger Service turned on at the Windows XP workstation you are trying to Message? It's turned off by default. To turn it on click Start -> Run -> Type in  "services.msc" -> find Messenger, change it from Disabled to Automatic. Then click Start.

smbclient -M hotsname

linuxdebianAuthor Commented:
yes  services enabled on xp machine
AbhisekSanyalConnect With a Mentor Commented:
  I am taking a big leap here, but this could very well be possible-
In your debian system, open the file "/etc/samba/smb.conf". Now, search for SO_RCVBUF.
Typically, the smb.conf file has a setting like the following (Note the # in front of the SO_RCVBUF line) -

#         SO_RCVBUF=8192 SO_SNDBUF=8192
   socket options = TCP_NODELAY

I am suspecting that someone has removed the # and it is now -

   socket options = TCP_NODELAY
This could be resulting in your problem. The correct setting would be

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

Hope that helps
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.