Icon explained    
Articles marked with this logo are 'subscriber' only articles. Click here to become a subscriber
Small Business Server articles and howto's    

Current Articles | Search

Automounting SMB Shares on a Macintosh
By Eriq Neale :: 1 Comments :: :: SBS 2003, Macintosh integration, Public articles
TERMS
This document and what comes with it are provided as-is with blunt warning: Use at your own risk, buyer beware. You break your system; you own the resolution as well. We have no liability for what you do, or can't do, or fail to do with this information. Your entire protection is to start over again with a protected backup, or from protected system. If you don't want to accept this idea, please don't use this document.
Anyone who has used a Macintosh in a network environment for several years will remember a feature from OS 9 and earlier versions that allowed you to save logon credentials for a network volume. This would allow users to have those network volumes automatically mount on the Mac desktop when the user logged in on the Mac. As with many other features of the new operating system, this functionality changed with the release of OS X. As a result, there is no longer a simple checkbox that a user can enable to have a network volume automatically mount when the user logs in.

There are several ways to recover this functionality, however. This document details one of the simpler methods. Given the intended audience for this document, there are several assumptions being made.
  1. The Macintosh is running Mac OS 10.4 or later.
  2. The server providing the network volumes is running SBS 2003.
  3. The Macintosh is accessing shares on the SBS server through SMB, not Appletalk.
First, you need to be able to mount the server share on the Macintosh. Follow these steps to mount the volume.
 
1. Bring the Finder to the foreground by clicking on the Mac desktop or selecting the Finder icon in the Dock (see Figure 1).

 
Figure 1

2. Open the Connect to Server dialog by pressing Command-K (Apple key + K) on the keyboard, or by selecting Connect to Server from the Go menu (see Figure 2).

 
Figure 2

3. In the Server Address field, enter smb://servername, where servername is the NetBIOS name of your SBS server (see Figure 3).

 
Figure 3

4. If prompted, enter the username and password for the account on the SBS server (see Figure 4).

 
Figure 4

5. Select the sharename from the dropdown list and click OK (see Figure 5).

 
Figure 5
 
6. The volume will connect and a window will open for the share (see Figure 6.) 

 
Figure 6
 
Now that you have connected to the volume, a shortcut to the volume will appear in the Recent Servers folder of the user profile. This shortcut (located in the user's home folder under Library -> Recent Servers) can be used to connect to the volume again at any time by double-clicking on the shortcut. 
 
If you want to have this volume automatically mount when you log in, follow these steps to add the shortcut to the Login Items configuration for the user profile. These steps assume that the user has an admin account on the Macintosh.
 
1. Open System Preferences from the Apple Menu (see Figure 7).

 
Figure 7

2. Click Accounts in the System area.

3. Click the lock in the lower left corner of the Accounts window to unlock the control panel.

4. Enter the password for the account and click OK.

5. Select the Login Items tab (see Figure 8).

 
Figure 8

6. Click the + beneath the item list to add a new item.

7. Browse to the Recent Servers folder by clicking the Home Folder icon in the left-hand pane, then select Library, then select Recent Servers (see Figure 9).

 
Figure 9

8. Select the volume shortcut and click Add (see Figure 10).

 
Figure 10

9. The shortcut will now appear in the Login Items list (see Figure 11).

 

10. Close the System Preferences window.
 
Notes:
  • You can only edit the Login Items for the account that is logged in. If you have multiple accounts on the Macintosh, you cannot modify the Login Items for those other accounts without logging into that account first.
  • Only users with local admin rights on the Macintosh can modify the Login Items settings for their account.
  • If you have configured the Macintosh to join the Active Directory domain for your SBS server, you can log in to the Mac using domain credentials instead of using a local Macintosh account. Using domain credentials to log in will eliminate the need to enter a username and password every time you connect to a share on the SBS server

Comments
By Steven French @ Tuesday, December 05, 2006 9:06 PM
I am having an issue with a Mac connecting to SBS shared folders.

Mac OS 10.4.8 – was able to bind to the domain successfully, but am not able to connect to any of the shared folders. I get an error that says invalid user name or password. I have Eriq Neal’s book SBS 2003 Unleashed (very good book – super helpful), but am not still running in to this one issue.

We are running SBS 2003 SP1 – all security updates are current.

Any help would be great.

Not sure if this is the right place to post - please direct me if I need to be in another area.

Thanks

You must be logged in to post a comment. You can login here