SMB over SSH failing to connect with "…
Imported from the Apple Support Forums via the Wayback Machine 🔗
About two months ago I had my computer set up to connect to samba shares on my home PC over SSH. Here's how that worked...
1. On my Mac I set up a localhost alias at 127.0.0.2.
2. I connect to SSH and tunnel the port 445 (smb)
3. Connect to smb://127.0.0.2 or use mount_smbfs
It worked fine, no problems.
Now, although I don't think anything has changed... this has stopped working. I can still connect to the shares locally and I can still connect via SSH, but when I try to connect via the previously described method I get the following errors.
If I try to connect through the "Connect to Server..." then I get this in the Console:
6/21/10 11:53:25 AM /System/Library/CoreServices/NetAuthAgent.app/Contents/MacOS/NetAuthAgent1208 smb_mount: mount failed to 127.0.0.2/Shared : syserr = RPC struct is bad
Or if I try to connect through mount_smbfs I get:
mount_smbfs: mount error: /Volumes/Shared: RPC struct is bad
Oddly enough, connecting through the smbclient command seems to work fine.
Things I've tried:
• Restarted "server" service on remote PC.
• Restarted remote PC.
• Restarted Macbook Pro
• Create a /etc/nsmb.conf and use minauth to turn NTLMv2 off (and I tried messing with some other settings)
• On the computer I'm trying to connect to, "Disable NetBIOS over TCP/IP" then set it back to the default setting.
• Create a new user on remote PC and add it to the share and tried connecting.
• Set passwords on remote machine to never expire.
I just don't know what else to do! I kind of doubt that anyone on here will be able to help me but I thought it was worth a shot..
3 replies
Sign in or join Beachball Help to reply.
- 0
- 0
- 0