Adding Macs to an Active Directory Domain – Part One

We continue to add more and more Mac computers to our network.  Up until now, we have been happy to simply have the Macs be standalone machines, and haven’t wanted to undergo the learning curve to add them.  We are now at a point where managing user accounts and access has become difficult, and we want to move all of our Mac users onto network accounts.  Thus begins our journey into the abyss.

Starting out, the Mac integration seems simple enough.  Using the built-in Directory Utility, you are able to bind the Macs to the domain with very few issues.  Simply entering the fully qualified name of the active directory domain and clicking “Bind” should do the trick and add the machine to AD just like a Windows machine.

directory-utility-3

You are presented with several advanced options during this process.

directory-utility

Our first hurdle was determining what each of these options do.  In a nutshell, here were our findings (and our default settings above.)

  • Force local home directory:  This is something you will want to do, especially if you want applications to be available when users are off the network.  Not checking this box will place a ton of files on your server in the “network user home” directory.  That means that applications get installed here, the library folder is here, music is here, etc.  Not a good thing if you are a laptop user or are ever offline, and it creates more network traffic as well.
  • Use UNC path from AD:  Checking this box will map the AD user home folder upon login and will place it on the dock by default.  This is pretty useful if you have users who use their network folder a bunch.  In our situation, our network home folder in the windows environment was mapped to the user’s My Documents using Group Policy and offline files, so most of our users have a lot of documents there.
  • Default user shell:  Just leave it as it is.  /bin/bash works just fine.
  • Create mobile account at login:  This is the most tricky one. So we’ll talk about it later in detail.

Here is what show up under the mappings tab of Directory Utility.

directory-utility-1

Unless you really have a need to change anything here, it works great when left alone with the defaults.  And then we are left with the administrative tab.

directory-utility-2

The administrative tab is important for administering the machine.

  • Prefer this domain server: This is fine if you really want to set it, but is not really necessary in our case.
  • Allow administration by:  This is useful when the user is connected to the network and will allow the active directory network user account to make changes on the local machine… if they are a member of one of the groups added here.  In our testing, this seemed to only take effect at the GROUP level not at the user level, meaning we were unsuccessful in adding an individual user here for administration.  ALSO NOTE <ALERT> i.e. this is important! This seems to work fine when a user is connected to the network, however, what happens when the user is at home and can’t see the network?  Any guesses?  If you guessed that the user’s admin privileges are not cached and the user WILL NOT have administrative privileges when they are offline, you are correct.  Impact of this is that a network user goes home and while at their house needs to install an update, etc.  Because they can no longer see the network they will not be able to approve the update unless they have a second local user account with admin rights.  Not good, and probably confusing to the user.  This is a pretty major flaw in my opinion.

Mobile Accounts

Let’s talk a little more about creating mobile accounts. Creating the mobile account at login seems like a great thing to do.  In fact, it is the ONLY way that your users will be able to login using their network credentials when they are offline.  (Under Tiger, there was an option to cache credentials, which has now been replaced by Mobile Accounts.)  As we have previously mentioned though, if the user is offline they are no longer an admin, which really limits the ability of the user to administer the machine when off the network.  In addition, the mobile account user will be able to sync their folders between the network and the local machine.  This is great in theory, however not nearly as intuitive as Microsoft’s offline files, which automatically determined the latest version and save the appropriate one.  In the Mac implementation of sync, the user has to choose which version of the file to keep, which is dangerous in my opinion, and an extra burden on the user.  We choose NOT to sync the files for these reasons.

So where did we finally land on integrating our Macs with Active Directory?  Due to the limitations of offline administration and creating mobile accounts we decided to take a look at a few third party products.

Next time:  How we implemented Macs in Active Directory with Admitmac.

Twitter updates for the week of 2009-04-12

  • @LesBrown I’ll trade you lambs blood for a cup of queso. It’s the right thing to do. ;) in reply to LesBrown #
  • Leg of lamb is slowcooking right now for dinner… smells amazing. #
  • If no resurrection, our faith is in vain. But if the resurrection happened, then Jesus is the only thing that should matter to you. #
  • The tomb is empty, death has been defeated, He has risen, and the pivotal point of human history has occurred! He is Risen indeed! #
  • @clintmiller be careful @rhowell deals from the bottom of the deck. ;) in reply to clintmiller #
  • @svogan we looked at reviews and ended up with a D40. Much cheaper and easier to use with great quality pics. in reply to svogan #
  • http://twitpic.com/34pbg – Coloring Easter eggs with the girls. #
  • I’ve become a fan of Admitmac after trying to use the builtin Mac/AD tool. Their customer support rocks too. Made it easy 4 macs on network. #
  • Dear Uncle Sam, Thanks for the tax rebate. Good luck with that budget deficit. Hope that works out. thks, bye. #
  • Off to the Good News Club Easter Party at Canyon Creek Elementary! #
  • @jwshiflet Happy to talk about Mac stuff anytime. I’ve learned a ton in this process. in reply to jwshiflet #
  • Working through Mac/Active directory networking stuff still. Learning a ton about what to do and what to avoid. Lots of little details #fb #
  • headed to lunch with the great @clintmiller at JGs…. I’m hungry. #
  • Great reminder that God must go before us from 2Samuel 5 and Exodus 33. Staff prayer @watermarkchurch. #
  • RT @cgreentx: Drobo Pro announced. 8 Drive bays. Built in Gigabit Ethernet with iSCSI. Rack Mountable. Nice. #
  • Lots of discussions today around adding our Macs into Active Directory. Plenty of good reasons for and against. What say ye? #
  • @cgreentx Sorry the food was bad… I’ve never had bad food there. in reply to cgreentx #
  • Hello Monday…I’ve got three shots of espresso with your name on it. #fb #

Twitter updates for the week of 2009-04-05

Watermark’s childrens team bringing the story of Daniel to the good news club

The Watermark Childrens team came out today to present the story of Daniel to the Canyon Creek Good News Club.
Funny skit and then Bobby Rodriguez talked about being being Strong in the Lord. Kids had a blast. Thankful for our team of creative folks.

Posted via email from Scott’s posterous