Slashdot Mirror


Integrating Microsoft's AD into Apple's OD?

grag asks: "My workplace has started a migration to a unified authentication system using Microsoft's Active Directory, and Apple's Open Directory. We need to know if it is possible to place a Microsoft Active Directory server underneath a master Open Directory server in the hierarchy. The Microsoft server provides services only to our Accounting Department, and it seems to us that it should integrate to the Mac Server since all of our other departments use the Mac Server. Our network consists of fifty Macs connected to an Xserve running Mac OS X Server 10.3.6 Unlimited Client License. In addition, we have on a separate subnet five Windows boxes connected to a Microsoft Windows 2003 Server with a five-client license. Should I pursue this question or give up and place the Microsoft Server at the top of the hierarchy?"

19 of 53 comments (clear)

  1. Do your require AD for the Windows boxes by biglig2 · · Score: 2, Informative

    Or do you just require some sort of authentication mechanism?

    I ask since some software packages depend on and demand you use AD, but if you have none of that then things like e.g. Samba could be possible alternatives, and might be easier to integrate.

    I would hope that you wouldn't have to put the MS stuff at the top, since that would be a bad network design, but it wouldn't surprise me if you end up having to do this.

    --
    ~~~~~ BigLig2? You mean there's another one of me?
    1. Re:Do your require AD for the Windows boxes by MarcQuadra · · Score: 2, Informative

      If you need AD itself, and can't use SAMBA/OD, you've got to either run parallel systems or put AD on top. There's no way to slave AD off of OD for now, only the other way around.

      It would be cool if someone built an authentication/policy interface to OD for Windows though, or made some sort of AD-compatible transport and attribute mode for OpenLDAP.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
  2. Am I missing something? by aventius · · Score: 4, Informative

    Why not just use the server that everyone else uses (the XServe) for the accounting department as well... If its because the accounting department uses Windows.... well the XServe is capable of being the domain for Windows, Macs, and Linux Boxen.

    --
    [insert lame joke here]
  3. Fifty-Five nodes? by Jeremiah+Cornelius · · Score: 3, Informative
    Doesn't much matter!

    Sorry for that. Use AD - it is more flexible and will have more applications leverage the directory, as you grow.

    Populate the AD with the Apple Schema additions, and migrate your Mac info to AD - ditch OD. For fifty users, the headaches and over head of directory synchronization are not worth the trouble. Not even the education value is worth the complaints that you will endure on the way, if something goes awry.

    When you are huge, you can synch directories with MIIS. This is the cheapest Identity Management solution to play nice with all your parties - but still too much for your scale.

    --
    "Flyin' in just a sweet place,
    Never been known to fail..."
    1. Re:Fifty-Five nodes? by Jeremiah+Cornelius · · Score: 4, Informative
      C'mon, with the schema additions for *nix, AD looks like any LDAP to a pam/ldap client. That's all OD will ever look like.

      Adding Vintella or Centrify to the mix allows to to manage not just sign-on authentication, but fine-grained network and client policy with the native AD controls. This is something OD doesn't come close to.

      AD is the second best directory in the world - after NDS. NDS doesn't come close to the level of third-party application and tool support, any longer.

      --
      "Flyin' in just a sweet place,
      Never been known to fail..."
    2. Re:Fifty-Five nodes? by dbrutus · · Score: 4, Informative

      The Apple paper on AD/OD integration is a good place to start. I do question why you'd need Active Directory at all unless you have some sort of application that requires it and isn't fooled by Samba/LDAP.

  4. Uh, the details are in the link by elliotj · · Score: 4, Informative

    From the Apple site the poster linked to:
    "The Open Directory architecture makes it easy to integrate Mac OS X client and server systems to into your existing network infrastructure. It's compatible with other standards-based LDAP servers, and can even plug into environments that use proprietary services such as Microsoft's Active Directory"

    So it looks pretty straight forward. If Apple says it can be done, chances are: (1) they've done it, (2) they've got documentation telling you how to do it, (3) it is possible.

    I'd start by checking the white papers on that Apple page. Then browse through the Apple knowledge base. They use groups.google.com to see what other people are saying about it.

    1. Re:Uh, the details are in the link by jhealy1024 · · Score: 5, Informative

      So it looks pretty straight forward. If Apple says it can be done, chances are: (1) they've done it, (2) they've got documentation telling you how to do it, (3) it is possible.

      I agree with (1) and (3), but (2) is nowhere close. Apple has done it, and it is possible, but the documentation is somewhat lacking. There are several gotchas to worry about (especially if you're doing stuff like roaming profiles on the windows boxes). If you read the Apple documentation, it makes it look like 30 minutes of work. In reality, a full integration like what the poster is looking for is several days of time...

      Also, it should be noted that integrating windows with OD can only be done as an NT4-style domain; the OD server can't masquerade as an AD server. I think the submitter understands this, which is why they're trying to integrate a whole AD server into the Mac setup. Running the Mac for everything just won't work if you need true AD (which I assume they do).

      Most of the OD/AD integration I've heard of has the OD taking orders from AD. This is mainly due to the fact that AD is proprietary crap that hasn't been reverse-engineered yet, so the easiest way to go is to slave off of it, rather than try to get MS to play nice with your open, standards-compliant system. Of course, this is exactly what MS wants (embrace and extend!), but until the Samba team gets enough donations to hack the AD protocols, that's probably the only option.

  5. Check Apple's Docs by ravenspear · · Score: 5, Informative

    I would read this document available on the Apple site. It has some good information on integrating AD and OD.

    One section says this: "Users whose information can be managed most easily on a server should be defined in the shared LDAP directory of a Mac OS X Server that is an Open Directory master. Some of these users may instead be defined in directory domains on other servers, such as an Active Directory domain on a Windows server."

  6. AFP548.com by SandSpider · · Score: 4, Informative

    There's a pretty good whitepaper about this on AFP548. Specifically, download the PDF.

    --
    There is nothing so good that someone, somewhere, will not hate it.
  7. Don't ask Slashdot... by sootman · · Score: 5, Informative

    ...ask Apple. Seriously. My company has an account executive and a systems engineer that visit us twice a year. Between them, they'll be able to tell you exactly what OS X can and can't do, and what it'll cost. You don't have to be a huge company to get this kind of service. If you want to spend money, they'll let you talk to whoever it takes to answer your questions and close the sale.

    Most likely it can be done but it is a pretty complex request so it *will* come down to money--either paying someone to come in and do it, or paying to train someone in-house to take care of it. Unlike something relatively simple and common, like setting up Apache, when you get this far into things there aren't a lot of tutorials on the web. Despite what Apple and MS imply, there is no flashing "Click me to integrate everything" button. Complicated shit like this is... complicated. You'll probably have to pay, one way or another. Start here: http://train.apple.com/

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    1. Re:Don't ask Slashdot... by Johnny+Mnemonic · · Score: 2, Informative

      Despite what Apple and MS imply, there is no flashing "Click me to integrate everything" button

      Funny that you should say that, because apparently in Tiger Server there is:

      Home Server Setup -- Anyone Can Do It

      Perfect for small offices and home offices, the new Gateway Setup Utility in Tiger Server makes it easy for anyone to set up her own Internet Gateway, Firewall and VPN. Simply connect a network cable from your server to your DSL or cable modem and another cable from your network to your server. When run, the Gateway Setup Utility automatically configures the server as a router, configures DHCP and VPN address ranges, enables DHCP and NAT, configures firewall rules and enables DNS caching. With just a few clicks you can set up complex services that even seasoned administrators find challenging.

      NT Migration Tool

      Tiger Server makes it a snap to upgrade your aging Windows NT network to a Mac OS X server. The new NT Migration Tool automatically extracts all of your user and group account information from an existing Windows Primary Domain Controller and moves it into Open Directory. Tiger Server can then take over as your Primary Domain Controller for your Windows clients and even host your Windows users' home directories, group folders, roaming profiles and shared printers.

      'Course, your point remains and I second it; see my post above. But it struck me as funny that Apple will include something that at least purports to do this...

      --

      --
      $tar -xvf .sig.tar
  8. Apple's IT Pro page by Vandil+X · · Score: 4, Informative

    About two months ago Apple launched a new Web site for IT Professionals, http://www.apple.com/itpro.

    Sort of Apple's equivalent of Microsoft's TechNet page.

    I'm not sure if it will help you with your particular issue, but it's bookmark-worthy for any Macintosh network systems administrator.

    --
    Up, Up, Down, Down, Left, Right, Left, Right, B, A, START
    1. Re:Apple's IT Pro page by Vandil+X · · Score: 4, Informative
      I'm not sure if it will help you with your particular issue, but it's bookmark-worthy for any Macintosh network systems administrator.
      Actually, one of the first "Featured Articles" links on that site might help you: Integrating Mac OS X and Active Directory
      --
      Up, Up, Down, Down, Left, Right, Left, Right, B, A, START
  9. cross-realm by Anonymous Coward · · Score: 2, Informative

    We do cross-realm authentication:

    http://www.4am-media.com/sso

    Also find quite a bit of good data here:

    http://www.macdevcenter.com/pub/a/mac/2003/12/09/a ctive_directory.html

    A good idea is to take Apple's Directory Services class http://train.apple.com./ The author of the above articles taught ours (and wrote part of the class.

  10. Re:other sources by arglesnaf · · Score: 2, Informative

    If all you need is directory services replication, the OD/AD integration is fine, but for my requirements, I wanted truly integrated native UNIX / Windows authentication, the kind the Samba does not provide.

    Beyond the Directory integration, you need to build a Kerberos domain for absolutely seamless authentication and 100% verifiable identity. The best thing is, once you have it up and running you have single sign on as well.

    Apple, Sun, and Microsoft sell "Integration tools" that do this halfway, but the best paper I have seen on doing it natively is by Microsoft.

    http://www.microsoft.com/downloads/details.aspx? Fa milyId=144F7B82-65CF-4105-B60C-44515299797D&displa ylang=en

    It's a little hard to get you head around, but it kicks ass once it is up an running. Unlike Sun's "Java One Directory" or whatever they renamed it this week OS, X's OD has native Kerberos support built in, so the hardest part is done for you.

    Of course for only 5 boxes I might just decomission AD and use Samba myself.

  11. Single Sign on Using AD by Wustoff · · Score: 2, Informative

    Here's a pretty good article about how to do Single Sign on with AD with Linux/Unix Desktops.
    http://www.redmondmag.com/columns/article.asp?Edit orialsID=858

    This may help someone out there.

    Cheers,

    Wustoff!

  12. Take the Directory Services course by csoto · · Score: 4, Informative

    It's well worth it. I attended, and since then, we've implemented a large-scale AD-OSX integration.

    http://train.apple.com/static/users/it.html

    --
    There exists no way of exchanging information without making judgments. --Bene Gesserit Axiom
  13. Re:OpenDirectory has known show-stopper bugs by caseih · · Score: 2, Informative

    Yeah you'd think that would be the case. The source files are available but I have yet to get them to build. They also have heavily hacked OpenLDAP without separating their changes out into patches. Thus using a newer version of OpenLDAP, for example, is almost impossible. I'm going to start talking to the OpenDarwin folks about building these things.

    So far, sadly, Apple indeed uses open source components and release much of their source, but they are not open in most senses of the word. There are no mailing lists where I can really have a dialog with other Apple server users *and* Apple engineers. I can't even access an open bugs list like I can with their closest enterprise competitor, RedHat.

    So it is possible to use completely open source products together in a way that ofuscates (either intentionally or just from lack of documentation) how things fit together such that really modifying or fixing things is difficult. I guess the main thing that is missing is documentation. Apple has next to no documentation on the guts of the system. There is no record of how and why they have modified OpenLDAP, no information on the protcols (message-passing and tcp/ip) used by OpenDirectory (DirectoryService and PasswordService to be specific) other than ldap which only forms a part of the system. In fact after studying the system for over a year I'm still not sure exactly how the system fits together and what the service depedencies are in OpenDirectory.