LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   "net rpc" "failed to connect to ipc$ share on" or "unable to find a suitable server" (https://www.linuxquestions.org/questions/linux-general-1/net-rpc-failed-to-connect-to-ipc%24-share-on-or-unable-to-find-a-suitable-server-4175524726/)

larieu 11-07-2014 04:13 PM

"net rpc" "failed to connect to ipc$ share on" or "unable to find a suitable server"
 
I've seen lots of queries which stop without a resolution in this matter

Scenario

linux system and peer to peer network (but I was able to reproduce in domain also)
from the linux machine you are able to use "net rpc" (and related) to almost all computers except one (some)


If you receive this apparently without any other problem from my experience problems are due the cases:

1. the firewall/anti-virus on the windows computer not let you in (usually port 137 139)
- temporary deactivate the firewall / anti-virus to see that this is the case

2. the windows computer has "simple sharing activated for windows XP"
- My computer > tools > folder options > second tab > last check

3. the windows computer missing the C$ share
- right click on my computer > manage (manage computer for new windows) > shares > add new share > point to My computer C > name C$ > description "Default Share" > check Administrators has full rights other users no privileges > finish

4. on new windows (7+) you need to add following registry

Quote:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]

"LocalAccountTokenFilterPolicy"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\UIPI]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\UIPI\Clipboard]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\UIPI\Clipboard\Exceptio nFormats]
5. the time difference between linux and windows machine is important ( month, years, or the time zone is wrongly set)

- most probably the windows machine ( while you are able to enter other remote ones) shoud be checked for time settings


All times are GMT -5. The time now is 02:48 AM.