« The Amazon blogging thing, or, not every company is the same | Main | Best April Fool's Day Joke »

Active Directory / Open Directory integration overview

I recently finished doing an AD/OD integration project, and thanks to the very good folks at afp548.com, it went smashingly well. I found their paper on the subject easy to follow, thanks to the differentiation of Mac OS X 10.4 and Mac OS X 10.3 where appropriate. After seeing that a member of the Mac-Mgrs list was having some problems, I sent them a very basic rundown of the steps I had followed, which pretty much mirror the paper.

Evidently, my mad numerical listing skillz are madder than I thought. I've sent out quite a few copies of that email, and so I'm just going to post the steps here. Now, some points:

Okay, so dire warnings given, it's up to you to take them seriously or not. As for the meat...

Technorati Tags: , , , , , , ,

  1. Get the Open Directory master working correctly for all the services you'll want it to use.
  2. In the Active Directory management tools, delete the machine account that is in there now, and all the DNS entries for that machine.
  3. Recreate the Active Directory machine account, and the fwd/reverse DNS entries for it.
  4. Bind the server to Active Directory. Once that's done, make sure that Active Directory appears above LDAP in the authentication pane in Directory Access.
  5. From the command line, run: sudo kerberosautoconfig -u That will regenerate your edu.mit.kerberos file. If you have a "can't find it error" remove the LDAP entry from the authentication pane in Directory Access, hit apply, re-run sudo kerberosautoconfig -u, then put the LDAP entry back in Directory Access, making sure that Active Directory is on top.
  6. If this is an Open Directory master, ignore that silly "Join Kerberos" message, it doesn't really apply here.
  7. In Workgroup Manager, enable "Show All Records" in the prefs, then click on the Bullseye tab. Make sure you're auth'd to LDAP, then in the dropdown pick "config". Select the KerberosClient item, and in the inspector, change the RecordName to KerberosClient_DONOTUSE. This will keep Open Directory from trying to push down conflicting kerb records. You ONLY want the Active Directory kerb info on the clients. Save these changes.
  8. From the command line, run: sudo dsconfigad -enablesso This will tie in all the services on the Open Directory Master to use Active Directory for authentication. Go ahead and reboot, even though you really don't have to. I like to here, it's cleaner.
  9. In Workgroup Manager, bring up the Active Directory users, and add them to your Open Directory groups. This allows you to apply MCX policies to them. You can also add Active Directory groups to Open Directory groups as well.
  10. Now go ahead and bind the clients to both the Open Directory Master and Active Directory. I usually do Open Directory first. Again, make sure that Active Directory is first in the Authentication pane in Directory Access. Run sudo kerberosautoconfig -u on the clients, and then reboot. At that point, you should be able to log into a client, and get tickets, etc.
  11. In Workgroup Manager, set up your computer lists and policies with the bound client.
That's it. Again, this is not a complete, detailed howto. It's not even close. There may be one someday, but this ain't it.
Categories:     Mac Matters, Network Notes, Technology, Windows
Posted by John C. Welch at 10:21 | Permalink



Comments

Warning for Notes users: The commenting system uses HTML.
I know this will be scary for some of you, especially Notes fans. However, open standards, rah-rah.
If you want to use less-than or greater-than signs, or other similar charachters that HTML reserves,
you'll simply have to learn to do it the HTML way. Luckily, HTML is kind of popular, no matter what
your re-educators have told you, and you can easily find help on the intertubes.
digital.forest Where Internet solutions grow

There, a PayPal Button.

 
Use this code for your Macworld tickets!
Family
The Artwork of Melissa Findley
Diane Francis @ the National Post Eric Francis @ the Calgary Sun

Apple Amazon Links
Apple Mac OS X Server 10.5 [Unlimited]

Apple Mac OS X Server 10.5 [10-Client]

Apple Mac OS X 10.5 Leopard

Apple Mac OS X 10.5 Leopard [5-User Family Pack]

Amazon Book Links
Legacy of Ashes: The History of the CIA

The Donnas: Bitchin'

Wizards at War (The Young Wizards, Book 8)

The Demon's Sermon on the Martial Arts

The Collected Stories of Arthur C. Clarke

JavaScript and Ajax for the Web, Sixth Edition

Awakening Warrior: Revolution in the Ethics of Warfare

FOB Links

Mac Web Writers

Techie Links

Review Victims