X

Error (-50) when connecting to SMB shares (#2): More fixes

Error (-50) when connecting to SMB shares (#2): More fixes

CNET staff
2 min read

We continue to report on a recurring "Error -50" message (with failure to connect) when attempting to mount SMB shares over a local network, or transfer files to/from said shares. This issue has a number of potential causes, but some clear-cut and straightforward potential fixes (some of which are posted in yesterday's coverage).

Try re-applying Security Update 2007-004 1.1 One of the more common causes for this issue, manifest in recent weeks, is a version mismatch of the mount_smbfs program located in /sbin/ and the smbfs.kext kernel extension located in /System/Library/Extensions/. This mismatch can occur if you applied Security Update 2007-004 then re-applied the Mac OS X 10.4.9 combo updater.

As smartly pointed out by MacFixIt reader Alain, this mismatch will generate a log entry similar to:

  • May 22 21:03:44 (nameofcomputer) kernel[0]: mount version mismatch: kernel=103700, mount=103600

The simple solution is to re-apply Security Update 2007-004 1.1, available from Apple's download page, which will update the files to the correct, current (1.3.7) versions.

Modify IRPStackSize values on Windows end MacFixIt reader Colin McPhail points us to an article at DSL Reports describing how to modify IRPStackSize values on Windows systems serving SMB shares -- a change that appears to resolve -50 errors on the Mac OS X end for many users.

As described by DSL Reports:

"An IRPStackSize value, controls the amount of physical storage space and RAM are available for applications. This value may be incorrect, with regard to your network. You will find IRPStackSize in Windows NT, 2000 and XP. The value ranges from 11-15 for NT and 2000 and from 11-20 for XP (these are conservative value ranges as the software vendor reports higher ranges, but warns, setting the values too high results in wasted system resources.) A value setting of less than 11 in NT and 2000, and less than 12 in XP may cause the infamous 'not enough storage space' or 'not enough memory' errors [Ed.- these may display as -50 errors on the Mac OS X side] when attempting to open/retrieve file folders on your other networked computers."

For full instructions on changing the values, see these instructions.

Feedback? Late-breakers@macfixit.com.

Previous coverage:

Resources

  • Apple's download page
  • these instructions
  • Late-breakers@macfixit.com
  • Error (-50) when connectin...
  • More from Late-Breakers