Our thinking


Can’t connect to SMB shares on Mountain Lion Server after a reboot

It seems that when starting up the SMB service on OS X Mountain Lion Server, there is a race condition and some of the prerequisites may not get started up in time for SMB to properly initialise.

Fortunately, there’s a relatively easy fix over here:

http://oceansidecoding.wordpress.com/2012/06/13/smb-and-lion/

Essentially, if you touch the SMB preferences plist, then launchd restarts SMB. If this is done after the servers’s started up properly, then SMB initialises and everyone can connect.

touch /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist

The link above shows how to put this in a launchd plist so that 60 seconds after the system is stated up, the SMB service is restarted and everyone’s happy.

1 thought on “Can’t connect to SMB shares on Mountain Lion Server after a reboot

  1. Kai,

    Thank you so much. Your solution works. This is the end of many days of searching for the solution. I have copied your article and solution for future reference and will give name credit if I use it to help others.

    Ron Halstead

Leave a Reply

Your email address will not be published. Required fields are marked *