Nov
27

Automounting SBS Shares on a Macintosh

By Q

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.

  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.
  3. In the Server Address field, enter smb://servername, where servername is the NetBIOS name of your SBS server.
  4. If prompted, enter the username and password for the account on the SBS server.
  5. Select the sharename from the dropdown list and click OK.
  6. The volume will connect and a window will open for the share.

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.

  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.
  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.
  8. Select the volume shortcut and click Add.
  9. The shortcut will now appear in the Login Items list.
  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.

A version of this post with screen shots has been posted at smallbizserver.net ( http://www.smallbizserver.net/Default.aspx?tabid=260).

Categories : How To, Mac, SBS

6 Comments

1

Thanks Eriq! My MAC knowledge is pretty rusty. It’s was 7.X and 8.X when I was supporting them nearly full time. Recently a client bought a MAC OS 10.4. I’ve been looking for that check box. Good to know that what I thought I remembered was correct. Now, I’ve tossed that uesless info into the recyclings bin and added the current stuff to my brain.

2

Great tip. Its been really annoying not having that functionality.

3

Is there special configuration needed to have shares automatically pass AD credintials to SMB shares. I have tried adding 10.4 Macs to the domain, and they work fine for logging onto the machine, but once I try to access a share it ask for credentials again. Of course I just enter the same credentials that I used to login to the machine (and into the domain) and it works. What is the deal?

4

Verify that you are using the domain\username format of the AD account when logging on to the Mac. In the setups I have done, this has worked flawlessly.

One item to note – if the local account name on the Mac is the same as the account name on the domain (i.e., jondough on the Mac and domain\jondough in AD) you will not be able to log in to AD from the Mac. I did not notice this until I changed the password on the domain account (both accounts had the same password up until that point) and it refused to log me in. After a little digging, I realized that though I thought I was logging in with AD credentials, I had been logging in with local credentials.

Easiest way to test is to log in on the Mac with a different AD account name (preferably a user that has not logged on to that Mac before) and try setting up the automount that way.

Just a hunch…

5

I have a 2000 Primary Domain Controller, and a 2003 Exchange and File Server.
I can get connected to the 2000 server, authenticate, see and connect to the shares.
But, when I try the same info to connect to the 2003 shares, I get wrong user name or password. Same Domain.
Ideas?

6

The only time I’ve seen a “wrong username or password” error when the correct username and password is being used is when SMB is not set properly on the server the Mac is trying to connect to. This assumes, of course, that the server running Exchange is a DC and/or a member of the domain. Check the post that talks about disabling SMB signing and make sure you have a GPO in place that disables SMB signing for the entire domain. It’s possible that SMB signing may have been turned off manually on the 2000 DC and not the 2003 server running Exchange.

-Q

Leave a Comment