Error (-50) when connecting to SMB shares
An ongoing problem through recent versions of Mac OS X is a recurring "Error -50" message (with failure to connect) when attempting to mount SMB shares over a local network.
We've previously offered the following solutions to this problem, though a number of users have not found success in applying them:
Modify smb.conf file Open the file /usr/local/samba/lib/smb.conf in a text editor, or type sudo vi /etc/smb.conf in the Terminal (located in Applications/Utilities) open the file in the built-in vi text editor.
Find the line encrypt passwords = yes. This line determines whether or not your Mac will encrypt passwords before sending them. Depending on the configuration of the SMB server to which you are connecting, this line either needs to be commented (disabled) or uncommented (enabled). You can make it commented by putting a semi-colon (;) in front of it, or make it uncommented by removing the semi-colon.
You can also manipulate SMB settings through a GUI with the freeware utility SharePoints.
Re-establishing keychain passwords Deleting then re-entering passwords associated with specific servers can resolve some SMB networking issues. A good way to test whether or not this workaround will bear fruit is to create a new user account (as described in this tutorial) and check for access to the problematic SMB server. If it works, your keychain passwords may be to blame. Go back to the original account, and launch Keychain Access (located in Applications/Utilities). Look for any items that might be related to your SMB server. Delete, then re-establish them.
Try using "Connect to Server" instead of browsing Select the "Go" menu in the Finder and scroll down to the "Connect to Server" option (also accessible through the keyboard combination Command-K) then type SMB://[server name], rather than attempting to browse for servers in the Finder.
Enable CIFS on the server Ask your system administrator to enable CIFS on the server, and attempt to connect via that protocol instead of SMB.
Enable AFP server Ask your system administrator to enable AFP (Apple filesharing protocol) on the server, and attempt to connect via that protocol instead of SMB. AFP is generally faster when accepting access from Macs in any case.
Upgrade to Mac OS X 10.4.x (Tiger) For some users, Mac OS X 10.4.x is able to connect to the same SMB shares that Mac OS X 10.3.x is not.
Upgrade server to Windows 2003 Some users have experienced SMB connection issues when connecting to SMB-enabled Windows 200 servers, but not when connecting to Windows 2003 servers.
Don't block UDP port traffic If you have a Firewall enabled, use the following process to un-block UDP port traffic:
* Open System Preferences
* Select the "Sharing" pane
* Select the "Firewall" tab
* Click the "Advanced..." button
* Turn off the option to the "Block UDP traffic"
As such, we're seeking further input on this issue. If you've experienced a -50 error when attempting to mount SMB shares, please let us know the circumstances and any potential resolution.
Note that a separate -50 error sometimes occurs when attempting to download purchased music from the iTunes Store.
No comments:
Post a Comment