Slashdot Mirror


"Seamless" Integration of Mac OS X w/ Active Directory

eexlebots asks: "I work for a small college which has a few Mac OS X 10.2 machines and a fairly standard Active Directory setup. Actual deployment of these clients rides on getting them to authenticate at login to our Active Directory server. Apple has stated that this is possible (easy! seamless!) with Jaguar without the use of an additional Mac OS X server, but I have found the case to be quite different. It is possible, but not without a good deal of nightmarish configuration issues. Documentation? HA! No sign of it anywhere on Apple's site. I'm not alone: at macwindows.com I found a good many people who think that Apple's claims of seamless Windows Network integration to be a bad joke and nothing more. I was wondering who else out there is having this problem, and what they have done to solve it."

117 of 300 comments (clear)

  1. Title != message by Anonymous Coward · · Score: 4, Informative

    Active desktop and Active directory are *slightly* different...

  2. Well, by jcrash · · Score: 3, Insightful

    It isn't exactly in Microsoft's best interest to make this easy for them is it?

    --
    I do not fear computers. I fear the lack of them. Isaac Asimov (1920 - 1992)
    1. Re:Well, by afidel · · Score: 2

      actually why would MS care, you have to pay the per seat liscense for the AD servers regardless of client platform. So what if they lose an OEM OS sale, they still get you per seat and probably for office too.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    2. Re:Well, by rve · · Score: 2

      You have to actively disable it in Windows 2000 advanced server release if you dont have macs on your network, installed by default and easy to configure. Thats only $4000, not including the cost of the sys admin that you will need to hire.

  3. Well it's not that hard to fix. by miffo.swe · · Score: 4, Informative

    Get rid of that stupid AD and install a real catalogue system like LDAP or NDS. Active Directory is made for Windows and nothing but windows. Making anything else to work with it is very hard and not worth it. What on earth do you need from AD that cannot be solved otherwise? If its just a matter of a few machines there shoudnt be any significant gain in ease of admin in AD. If there are plenty then you should install a MAC server. Microsoft does not and will never play nice with anything else but Microsoft.

    --
    HTTP/1.1 400
    1. Re:Well it's not that hard to fix. by Telastyn · · Score: 5, Insightful

      because if you use LDAP or NDS you end up with the same nightmarish configuration issues, except now the issues are with the windows machines, which are probably 90% of his clientelle.

      (this of course assumes it's impossible to just get rid of the windows machines and they actually need cetralized authentication in the first place...)

    2. Re:Well it's not that hard to fix. by 1984 · · Score: 2

      Sigh. This may not be an option. Ripping out a directory service and replacing it is non-trivial. Getting MAC clients to work with AD may be a pain, but you seem rather blase about switching directory services. It's a shame that posts saying, "Rip it out, dipshit. Why did you install that shit anyway?" aren't actually helpful to people with real world problems.

      And, in fact, I'd suggest you audition NIS on Windows (yes, you heard me right). Services for UNIX v3.0 includes NIS (and NFS) server which integrates with Active Directory, so you can have NIS clients managed by the AD infrastructure. It costs $99, and also gives you a nice UNIX shell that you can use to tool around your AD server and a bunch of other goodies. (Having said that I don't anything about OS X, so I don't know how well it plays with NIS, but it's an avenue worth a look.)

    3. Re:Well it's not that hard to fix. by UnrefinedLayman · · Score: 3, Informative
      What on earth do you need from AD that cannot be solved otherwise?
      Group Policy. If there's one thing that is important to an organization with many computers that require support, it's group policy.

      Beyond that, there are a large number of reasons. If you've never used Active Directory, then you don't understand the integration it offers that you can't find elsewhere easily.
    4. Re:Well it's not that hard to fix. by Proudrooster · · Score: 2

      * M$ Active Directory is LDAP!
      * NDS v4.0 is LDAP!
      * Slapd is LDAP!
      * Netscape Directory Server is LDAP!

      And they all work with nearly every LDAP client, including Mac's and the Mozilla browser.

      * Slurpd is not LDAP, but likes to consume LDAP information.
      * Who'sYourDaddy_d and SayMyName_d are not part of Open LDAP, but should be :)
      * PerLDAP is not LDAP, but is great for doing LDAP programming.

      Now for my Microsoft RANT. Yep, M$ stole LDAP and renamed it Active Directory Services. It appears that no matter how much money M$ seems to amass, they just can't seem to buy a clue and come up with a good idea on their own. It's the same old "embrace and extend" commodity protocols which now seems to be their only strategy.

      Also, Microsoft products will read LDIF (LDAP Interchange File), but amazingly enough, M$ products won't write an LDIF file. Yes, you can check in anytime you want, but you can never LEAVE!

      Lastly, I tried to use Outlook with OpenLDAP and it crashed (the only client to crash). The only option on my pick list is Microsoft LDAP server. Hmmmmm... what exactly is a Microsoft LDAP server? If anyone finds one of these let me know, I want to see if it can make an LDIF file. However, I could care since, I use Mozilla exclusively as my browser now.

      And for anyone out there wanting to implement LDAP, I suggest you do two things...

      1. Read the RFC's (they helped me immensely)
      2. Get the book, "Implementing LDAP" by wrox.com

      M, Go Blue!

  4. Using AD for authentication by gruntvald · · Score: 4, Funny

    Step 1: plug into the network

    Step 2: login using AD credentials

    Step 3: There's no step 3! There's no step 3!

    1. Re:Using AD for authentication by Bob+McCown · · Score: 5, Funny
      Step 3: There's no step 3! There's no step 3!

      er, profit????

    2. Re:Using AD for authentication by Jobe_br · · Score: 2

      Precisely. It should really be this easy. OS X has a Directory Services manager where you can add the AD server in - LDAP compatibility will need to be enabled, obviously. At that point, you have the login. Setting up home-dirs might be a tad more tricky, but maybe not. I don't have an AD server here to mess with, but it really shouldn't be too difficult, as long as the 'standards compliant' features of AD are enabled.

      Cheers.

    3. Re:Using AD for authentication by tulare · · Score: 3, Informative

      Actually, we have AD running, along with a bunch of OS X clients. We even had an Apple engineer here last week, and he couldn't figure out how to get the auth to handle such things as creating user dirs. It's a large, ugly mess.

      --
      political_news.c: warning: comparison is always true due to limited range of data type
    4. Re:Using AD for authentication by Jobe_br · · Score: 3, Insightful

      Creating user dirs is a tricky problem. Samba w/ winbind and the PAM auth module is pretty difficult to setup for that, as well.

      And, while I understand that having Apple say "its easy" makes you want to blame them, you really ought to blame MS or yourselves for purchasing MS technology. Its really that simple. Folks need to stop complaining about MS and just either suck it up, or not use their tech. If its good, use it. If its not, don't - and don't complain.

      OS X is more compatible with Windows than Windows is with OS X. Finito.

      Cheers.

    5. Re:Using AD for authentication by Kunta+Kinte · · Score: 4, Informative
      It's easy if you do it the other way around.

      that is, create the NT user whenever you add a new LDAP user.

      Have a OpenLDAP replica running on your Win2k box. Include a Perl trigger, that parses ldapadds and creates a local Win2k user whenever a new LDAP user gets added.

      Perl can be used to synchronize the passwords as well, so you don't need Winbind.

      checkout http://acctsync.sf.net/ For more info.

      --
      Based on upvotes, Ageism is the only "-ism" Slashdotters care about and think isn't SJW
  5. Re:Hypocrites by MoneyT · · Score: 3, Insightful

    Not really. Apple has been partners with M$ for quite a while now. ANd you do know the best way to win users over is to make it easy to incorporate the new into the old.

    --
    T Money
    World Domination with a plastic spoon since 1984
  6. Winbind??? by Anonymous Coward · · Score: 2, Interesting

    Can't you just use Winbind from the SAMBA project to use AD authentication? Just configure Winbind to point to your Domain controller and setup NIS to work with it.

    Or am I off base? I've done this on FreeBSD i386 boxes so it should not be difficult, unless Apple has mucked up logins.

  7. Why not Samba? by bdowne01 · · Score: 5, Interesting

    I'm stating this at a very high-level perspective, but I know Samba is an actual component of OS X Server, and it is known to compile and install on OS X perfectly.

    So why not use Samba for integration to Active Directory? I'm not perfectly clear on the details of doing so, but I'm pretty sure you can use Kerberos to hook up to an AD domain, and go from there.

    Any reason not to try? After all, Unix folk are generally pretty adamant about not reinventing the wheel :)

    --
    -brain
    1. Re:Why not Samba? by Twirlip+of+the+Mists · · Score: 5, Informative

      Any reason not to try?

      Yes. It's unnecessary. Active Directory can expose an LDAP interface, and Mac OS X is an LDAP client. The only tricky part is synchronizing the schemas, and Apple's documentation describes how to do that. On paper, it looks really simple. Since I don't have any Windows servers, I can't say whether it's simple in practice or not. The submitter evidently thinks it isn't.

      --

      I write in my journal
    2. Re:Why not Samba? by afidel · · Score: 2

      Well that sounds like anything touched by Microsoft. "On paper, it looks really simple. " but then you get to actual implementation it is anything but simple. I guess that is why I have a job though =)

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  8. Active Directory is different than Active Desktop by Sycraft-fu · · Score: 3, Offtopic

    Active Directory is Microsoft's enterprise X.500-like security and authentication scheme. You set it up on a network of Windows servers and the clients all authenticate with those. Active Desktop is putting a webpage on your desktop.

  9. Just ask MS to open the API by Anonymous Coward · · Score: 2, Funny

    Couldn't we just ask nicely for Microsoft to open up the APIs for Active Directory?
    Oh wait they don't have to since this would involve Security, DRM, Authentication, Innovation, The Butterfly, etc...

    1. Re:Just ask MS to open the API by jea6 · · Score: 2

      I'd mod you up, but you are not a detractor...so you'd probably get modded down again anyway.

      --

      sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.
  10. MacOS X and linux by rkt · · Score: 2, Interesting

    If someone can make this work with MacOS, I'm sure linux/unix is not far away. Solaris supports LDAP and I'm sure so do a lot of other Unix os... and the fact that Active Directory can be accessed using LDAP queries does make you wonder why we don't have any linux/unix server connecting to Active directory as of today.

    Active directory, just like any other MS stuff likes to maintain its own standards and its hard to get inside documentation on it on the web.

    Solaris LDAP and linux LDAP implementations have a lot of problems. Its just not ready for Enterprise class networking. I sat on a simple netgroup bug for months before SUN came out with a patch. And linux doesn't even support netgroup as cleanly as Solaris yet.

    Its a pain.... if MacOS X can solve all these hiccups ( and if they do manage to come out with a documentation) I'm sure it will inspire the other Unix environments.

    rkt

    1. Re:MacOS X and linux by Undertaker43017 · · Score: 2, Informative

      This is actually quite easy, all of my Solaris and Linux machines autheticate to AD, just fine. Never tried with OS X, but it sounds like it might be a bit easier, since Apple has a somewhat vested interest in making it work. I use the pam_ldap and nss_ldap modules from padl.com. Follow the newsgroup thread here: http://www.netsys.com/nssldap/2002/02/msg00031.htm l and the "cookbook" here: http://jaxen.ratisle.net/~jj/nss_ldap-AD_Integrati on_how-to.html

    2. Re:MacOS X and linux by Ctrl-Z · · Score: 2


      I've written code that authenticates against active directory just fine. Active directory is, after all, accessible through standard LDAP protocol.

      --
      www.timcoleman.com is a total waste of your time. Never go there.
  11. But About the Content of the Piece... by spiedrazer · · Score: 2, Interesting
    We have been struggling with OSX's 'seamless' integration with Novell and are having similar results. Our problems may stem more from Novell's supposed "Native File Access" support than with Apple's side of the connection, but it's been just as frustrating.

    If Apple really wants to make OSX compatible with the entrenched NOS's out there, they need to hire a few Active "Directory" and Netware engineers and teach them about the MAC as opposed to the other way around.

    --
    Keep passing the open windows...
  12. From O'Reilly Press by wayn3 · · Score: 5, Informative

    Have you tried this?

  13. What is Active Directory? by Fugly · · Score: 3, Insightful

    I'm not sure what active directory is but I do know that using Jaguar, my machine can browse my windows network and connect to any shared folders very easily.

    I also have it sharing folders out to the windows machines though it doesn't give out a listing of what's shared (probably for security reasons). You have to tell it what username, password and share you want to access.

    What exactly are you trying to do?

  14. File Corruption with Jaguar and SMB Sharing by fridgepimp · · Score: 2, Interesting

    I currently work in a smallish office with about 15 workstations and 3 or 4 different file servers. Our workstations are about 70% Mac and 30% Windows. The servers run FreeBSD 4.x, Linux (with a 2.2.x kernel) and Windows 2000/XP. On the FreeBSD/Linux servers we run two different versions of Samba (2.2.x & 2.0.x).

    No matter which server we connect to, if we copy files from the Mac to the server using SMB as the protocol, we experience a significant amount of file corruption (it appears to be that there are just chunks of the file that don't get copied). It is repeatable, but doesn't happen every time. This is a serious inconvenience. I should also point out that we did NOT have this problem prior to upgrading to 10.2 (we also have upgraded to 10.2.1).

    I've have sent numerous reports with details to Apple with no response.

    --fp

  15. It relies on LDAP by fordgj · · Score: 5, Informative
    10.2 uses a new architecture called Open Directory which is released as open source (yes, the apple license, of course). Open Directory is what allows 10.2 to work with Active Directory. How does it do this? LDAP.

    Most likely, the configuration issues are with configuring the AD with the proper schema. When the AD is properly set up, then all you have to do is go into the Open Directory Assistant and create an LDAP service that is configured to use the Active Directory preset. Yes, it's a preset and so there is little or configuration on the OS X side. Once the LDAP service is created, then you select it as an authentication service (in the same utility) and you are done.

    1. Re:It relies on LDAP by Kunta+Kinte · · Score: 2
      10.2 uses a new architecture called Open Directory which is released as open source (yes, the apple license, of course).

      It's a modified OpenLDAP.

      How nice of them.

      --
      Based on upvotes, Ageism is the only "-ism" Slashdotters care about and think isn't SJW
  16. Ummm...did you try Google? by krove · · Score: 3, Informative

    Apparently not. By entering "Active Directory under OS X" the very first entry is a PDF by Apple with instructions on page 35 on how to setup clients to authenticate to the active directory domain controller.

    Here is the link for the uniniated:
    MacOSXwithActiveDirectory.pdf

    1. Re:Ummm...did you try Google? by Magycian · · Score: 5, Informative

      Ummm That link is for 10.1. VERY different animal.
      I can't seem to find a similar doc on Jaguar. Maybe because Apple has not released it yet?

    2. Re:Ummm...did you try Google? by giminy · · Score: 2

      Hey...you mean we have to read a manual to get this stuff to work? But I want it now!

      Joking aside, he still has a point about needing a machine running OS X Server. The ad makes it out that having a Jaguar client will just work, without the need for a third computer...

      --
      The Right Reverend K. Reid Wightman,
    3. Re:Ummm...did you try Google? by Shagg · · Score: 3, Funny

      Hey...you mean we have to read a manual to get this stuff to work? But I want it now!

      How are you supposed to save Xmas if you have to read a manual first!

      --
      Unix is user friendly, it's just selective about who its friends are.
    4. Re:Ummm...did you try Google? by extra88 · · Score: 3

      There's a lot of redundancy in the comments for this article but here's something I don't think anyone has mentioned.

      Yes, that PDF was documentation for OS X 10.1. In 10.1 the clients had to connect to an OS X 10.1 Server to authenticate centrally. The 10.1 Server acted as a gateway which connected to Active Directory. No gateway, no authentication.

      OS X 10.2 is not supposed to require and OS X Server for AD authentication, it's supposed to be able to talk to AD by itself. I think this is due to the addition of LDAPv3. Previous I think OS X only had LDAPv2.

      I haven't had a chance to try it but I've had a look at the documentation. It *may* be possible to follow the instructions for configuring the AD and for configuring the client with only a minor modification. Instead of putting in the address of an OS X Server (one of the steps), you would put in the address of an Active Directory Domain Controller.

      However other people have posted that they haven't been able to get it to work, even with the assistance of Apple engineers. Not good.

  17. We have ONE sole mac by nurb432 · · Score: 2

    We are still in mixed mode and using connetix ( what a piece of crap product ) on a 9x mac, to authenticate to the NT side.

    I worry that it will die when we go native in teh spring. And no upgrade to 10x in sight due to application issues. fun fun wish us luck !

    --
    ---- Booth was a patriot ----
  18. I'm glad it was Active Directory not Desktop by Anonymous Coward · · Score: 2, Funny

    For a second I thought they were trying to make a rotten apple

    Any idea how to take Active Desktop out of windows?

  19. APPLE document: Integrating Mac OS X with AD by scarpa · · Score: 2, Informative

    You know, slashdot really isn't as good of a search engine as Google.

    1) Go to google.com
    2) search for "active directory mac os x"
    3) click the third result.
    4) prof- nah.

    Or you can click this link:
    Integrating Mac OS X with Active Directory

  20. Re:Active Directory is different than Active Deskt by HaiLHaiL · · Score: 2, Informative

    Who said anything about Active Desktop?

    --


    reech bee-yond ur clip-0n
  21. Do your homework before asking /. by Aniquel · · Score: 2, Informative

    A quick google returns this as the first reference: MacOSXwithActiveDirectory.pdf.

  22. Actually, it's not that bad for MS. by unicorn · · Score: 3, Insightful

    All they lose out on, is the OS License. Which when purchased from a Dell, et al, isn't that significant. When a Mac gets roped into the AD network seamlessly, they still get revenue from a copy of Office so the user can share docs with other users (LOTS more profitable than Windows). Plus a few more CAL's as well, for the file server(s) as well as the exchange server(s). All in all, it's still a good revenue stream for MS.

    --
    "Politicians are interested in people. Not that this is always a virtue. Fleas are interested in dogs." P.J. O'Rourke
    1. Re:Actually, it's not that bad for MS. by stungod · · Score: 3, Informative

      Unless you have Enterprise Licensing that is. As soon as you install Office for Mac, you have to pay them for an OS license as well. Check the fine print.

      The deal is that you're licensing a certian number of "workstations" so as soon as you install Office you've got another workstation added to your network and have a certain minimum configuration you have to buy. Usually it's a copy of Windows (XP now), a copy of Office (whatever flavor you standarize on), and maybe some other standard thing like Project.

      So just to add Office to a Mac under MS's licensing scheme it'll cost you maybe $800. YMMV but not by a whole lot.

      If you think that's fun, check out setting up a Citrix MetaFrame network. MS's weird-ass Terminal Services licensing scheme almost guarantees you'll be out of compliance unless you just write them an enormous check up-front. It's the most screwed up scheme I've ever seen.

  23. Documentation? by brass1 · · Score: 2
    Well, after spending nearly 3 minutes looking, I found this handy PDF, which tells you to configure the ldap thingy in AD (however the hell you do that). There also seems to be an Active Directory schema option in Directory Access when configuring LDAP servers.

    No, I've not tried it as I don't have anything which talks Active[sic] Directory, so YMMV.

  24. Didn't look very hard did you? by MoneyT · · Score: 2, Informative

    A quick searc for Active Directory on the Apple website turns up these results:

    this

    this and the PDF linked to on that page can be found here

    There ae also links on Apple's site to third pary sites which deal specificaly with Mac - PC network integration.

    --
    T Money
    World Domination with a plastic spoon since 1984
    1. Re:Didn't look very hard did you? by LoudMusic · · Score: 2

      That's for Open Directory - essentially Apple's Active Directory for OS X Server. He is not wanting to set up an OS X server on his network, but have his OS X clients connect to his Windows 2000 server using the active directory.

      OS X 10.2+ has a gui interface for Samba - this is your best bet for connecting clients to your server. It does not authenticate them through Active Directory, but more the method that a Windows 98 machine will connect to your server.

      Active Directory connectivity is "closed source" and I'm sure much coveted by Microsoft. Chances are, you won't be doing something like that with ease.

      --
      No sig for you. YOU GET NO SIG!
  25. LDAP support != AD integration by zerofoo · · Score: 4, Informative

    Just because OS X supports LDAP for authentication does not mean there will be seamless integration with Active Directory.

    Active Directory (at least the MS implementation) is like a network-level "registry". It holds everything from integrated DNS records, to DHCP server authorization, users, permissions, replication controls and information....you get the idea.

    To participate in most of this, you need to have client side stuff that can take advantage of all of this. OK, you get samba authentication without needing LDAP support on OS X, but who cares...that isn't enough for "seemless" integration.

    Can you add users to OS X and have them appear in Active directory?....I don't think so.

    Can you get your DHCP server (on OS X) to authenticate itself in Active Directory?...probably not.

    Can you get user lists and permissions to replicate into OS X's user list? Maybe...but i'm still not sure about that.

    Lastly...can you get a user to log into OS X and have OS X process login scripts replicated to domain controllers? Doubtful...most of the windows login scripts don't apply to the Unix world.

    I may be wrong on this stuff. My experience with OS X has been a handful of workstations connecting to a windows file server via samba. It seems that the platforms are too far apart to get this "seemless" integration.

    It appears the best you can do is simple user authentication....it might be worth it if the OS X server can get it's user list from the Active Directory machines. Does anyone know if this is possible? I'd love it if a Linux distribution could do that so I don't have to maintain two sets of user lists.

    -ted

    1. Re:LDAP support != AD integration by plsuh · · Score: 5, Insightful

      This list consists of items that are irrelevant or unnecessary:

      Can you add users to OS X and have them appear in Active directory?

      The point of a central directory service is that you create the user records in one place (using the native tools) and all systems can authenticate against them. Adding users to your Mac OS X machine doesn't make sense under centralized directory services. With the correct administrative user login, it is possible for Workgroup Manager to edit user records in an LDAP server using LDAP v3 mechanisms.

      Can you get your DHCP server (on OS X) to authenticate itself in Active Directory?

      DHCP does not by nature authenticate. DHCP servers can send out additional vendor-specific DCHP packets -- Apple's implementation does this to tell Mac OS X clients where to look for directory services -- but they do not authenticate directly to DHCP. These additional records are ignored by systems that don't understand them. Look into the Mac OS X Server documentation and the /Applications/Utilities/Directory Access application to see the options.

      Can you get user lists and permissions to replicate into OS X's user list?

      The point of central directory services is to NOT have everything replicate into client systems! :-O When a Mac OS X system that utilizes LDAP directory services for group information it asks the LDAP server, not its own local NetInfo database or BSD-style config files.

      Lastly...can you get a user to log into OS X and have OS X process login scripts replicated to domain controllers? Doubtful...most of the windows login scripts don't apply to the Unix world.

      You've answered your own question here -- the Windows-based login scripts do not make sense and would not run under Mac OS X. Mac OS X has its own ways of setting up scripts to be run on boot and on login, as well as automatically mounting share points.

      Scripts can be run from the /etc/rc scripts or from the /Library/StartupItems folder. On login, there are a variety of options detailed in Apple's docs.

    2. Re:LDAP support != AD integration by zerofoo · · Score: 2

      The point is ease of administration. I like being able to modify DNS records on one server and have them propagate to other servers via Active Directory replicaton.

      Same goes for user lists. I can add users to any one of my AD servers (in different physical locations) and have them appear in all the other AD servers.

      It would be nice to have that Active Directory integration in OS X. Don't tell me it isn't possible....Novell released their directory services for Linux....why can't Apple develop an Active Directory "integrator" for their server OS? It would probably gain them more customers. (Me anyway).

      -ted

    3. Re:LDAP support != AD integration by plsuh · · Score: 2

      zerofoo, you're beating on the locknut with a hammer again :-)

      Windows does AD replication because AD is a much heavier weight protocol than LDAP, or indeed most other directory services systems. As such, each W2K server is better off replicating information rather than accessing a central store.

      However, LDAP is very light weight. Accessing a single central server for information does not add appreciably to network traffic, even for many machines and users. As a result, it makes no sense to have a copy of the DS database in each server and then worry about replicating changes in one to all of the others. In fact, the AD replication process is actually fairly complex, due to the need for distributed locking and conflict resolution. This is a lot of extra code that really isn't needed.

      Most other DS architectures have provisions for replication as needed. For instance, Mac OS X's native NetInfo DS architecture has provisions for cloning the DS database for geographic dispersal (think wide-area networking), load balancing, and redundancy, including the ability to change a clone into a master if the master fails. It also has a multi-level DS architecture so that administrators of the top level domain can delegate authority to lower level administrators for particular sections of the network if need be.

      Changes to the top-level domain using NetInfo Manager or Workgroup Manager can be done on any Mac OS X machine, connected to any server in the hierarchy. These changes are then pushed to the clone servers without the need for complex distributed record locking and conflict resolution.

      While NetInfo can provide name resolution services to machines that it knows about, it really isn't meant for this and shouldn't be used for it. There are many BIND name server implementations, and any of them can be used interchangably with NetInfo. The DNS system as a whole has provisions for master and slave servers, and synchronizing changes from masters to slaves.

      NetInfo doesn't try to handle DNS, really. DNS resolution has a whole different paradigm than directory services lookups. Instead, NetInfo reflects the Unix philosophy of one process doing what it does best, and letting other processes handle what they do best. Linux works the same way. Only on Windows do you get the One Humongous Beast That Does Everything And Guzzles Resources.

      --Paul

  26. AD and Unix integration by Anonymous Coward · · Score: 2, Informative

    A disclaimer first: I haven't tried to do this on MacOS X, but just did the same for Linux; you can do it on any unix that supports PAM for authentication.

    It is certainly possible, however I wouldn't call this integration a "seemless" one (I didn't use samba for that).

    You can extend AD schema to support unix by using AD4Unix package.
    After that you need to install nss_ldap and pam_ldap. A good starting point on how to configure these two can be found at Security Focus. You may want to use Kerberos for authentication, as pam_ldap transmits username and password over the network (although with SSL support this data will be encrypted).

    Hope this helps,
    AC

    1. Re:AD and Unix integration by Undertaker43017 · · Score: 2, Informative

      Another alternative to AD4Unix (if you don't mind giving MS a little extra money ;) is to purchase Microsoft's Service's for Unix (~$120), which gives you the AD schema extensions and adds the support into the AD user admin screens. AD4Unix is a great product, but I got a little nervous about modifing the AD schema and having some future SP come along and blow it away. At least this way, hopefully, future SP's will see SFU installed and leave it alone. ;) Plus you get some neat extra's like an NFS server for W2K and an NIS server (which you won't need, if you integrate with AD).

  27. Mac OS X in Labs by rigmort · · Score: 2, Informative
    Check out macosxlabs.org. They've got TONS of good info. I'm facing a deployment of OS X this spring and I'm not looking forward to it. Also, read Apple's white paper entitled "Mac OS X with Active Directory" in PDF format at:

    http://a1584.g.akamai.net/7/1584/51/7f99c60f0c08bf /www.apple.com/macosx/server/pdf/MacOSXwithActiveD irectory.pdf

  28. The Apple PDF doesn't work for us by tulare · · Score: 2

    As I mentioned earlier, we have Active Directory, as well as a Jag server. We had an Apple engineer here for two days, and not even he was able to get AD-style login-auth to work - the basics like proper mapping and creation of home dirs on network instead of local host and all that. It looks like Apple still has quite a bit of work to do here. On the bright side, I use Cmd-K to logon to any of the network shares, and the perms are correctly handled. But we are looking for a logon screen for OS X that uses our AD for auth, and so far nyet.

    --
    political_news.c: warning: comparison is always true due to limited range of data type
  29. From microsoft.com by Vaulter · · Score: 2, Funny

    Probable webpage on Microsoft.com:

    "This link will let you download instructions on how to use Active Directory for 3rd part OS'es, such as MacOS. By clicking on this link, you agree to the following:

    1) I will not redistribute this document
    2) I will hyperlink to this document, bypassing this EULA.
    3) I will not use the information contained wherein to bypass Windows security settings by authenticating any 3rd part OS via Active Directory ( DMCA )"

    --
    I don't have a sig...Do you??
  30. Google knows all by Twirlip+of+the+Mists · · Score: 3, Informative

    Go to Google. Type "apple.com active.directory" in the search box, and mind the periods. The very first result is a PDF from Apple's site entitled "Integrating Mac OS X With Active Directory." (Just to be clear, that link is directly to the PDF, so don't click unless you're ready to download.) In it you can find step-by-step instructions for setting up both the clients (simple) and the server (complex, but only has to be done once).

    Since you said in your submission, "Documentation? HA! No sign of it anywhere on Apple's site," it seems clear that you haven't read this document yet. Give it a try. As I wrote elsewhere, I don't have any Windows servers, but from reading the instructions, it looks like it will be very easy for you to set this up just the way you want it.

    --

    I write in my journal
    1. Re:Google knows all by Twirlip+of+the+Mists · · Score: 2

      If you'd read the document, you would know that most of it deals with setting up the Active Directory server, something that is the same no matter whether the client is running 10.1 or 10.2. Setting up the LDAP client in 10.2 is utterly trivial.

      Also, the only reason the document refers to a Mac OS X Server is for file sharing among the Active Directory clients. It is not, strictly speaking, necessary. You can just ignore those parts if all you want to do is set up authentication to Active Directory.

      While we're on the subject of breathing three times, please read the document and think for a second before responding that my answer was unsuitable.

      --

      I write in my journal
  31. Re:The answers you'll get from Slashdot.. by Otter · · Score: 2, Informative
    Hardly. Only half the answers are "Well it sucks and you should use LDAP/Samba/NDS/Gentoo." The rest are "I did a Google search and found something, you moron." What, he wants to hear from someone who has actually done this? I hardly think that's necessary once a Google hit has been found.

    Too bad about that "Flamebait" mod.......

  32. Your Samba configuration is wrong by MrResistor · · Score: 3, Informative

    It's in the Samba configuration. It's something like "OS Level" and it will be set to some number, like maybe 50.

    This number is how MS machines determine who is the Primary Domain Controller, basically the one with the highest OS level gets it, unless things are specifically configured otherwise. IIRC, Windows NT 4 has an OS level in the low 30s. Newer versions of Windows have higher OS levels, and server versions have higher levels than workstation or desktop versions.

    So, all you have to do is use SWAT, or otherwise edit smb.conf, and set your OS level to some low number, like 1.

    This site is a good introduction with lots of useful tips. If you really need to know Samba, though, I highly recomend this book.

    --
    Under capitalism man exploits man. Under communism it's the other way around.
  33. Active Directory vs. SMB? by Andy+Dodd · · Score: 3, Interesting

    What exactly is the difference between these?

    Or is AD just the authentication portion of SMB?

    I know on RedHat systems, you can choose the pam_smb_auth PAM module to authenticate against a Windows domain controller. Pop in your domain and the server name, pam_smb_auth handles most of the rest. You still need a local entry in /etc/passwd with the user's uid/gid/homedir (It IS possible to get around this with the "nolocal" option, but needless to say it only works for a limited subset of services), but that entry doesn't need a password set, just * (Which would disallow logins normally, in this case if pam_smb_auth clears the authentication, you can log in)

    I have this set up on a Linux box at work - At the moment I need to use adduser to create local accounts, but I don't need to give the users passwords - They use their current domain userid/pass.

    --
    retrorocket.o not found, launch anyway?
  34. Samba, not OS X, is the answer. by supabeast! · · Score: 2

    Getting OS X working with AD can be done, but you need to do it with Samba. Read the Samba documentation, learn to use Samba, and you should have no problem getting your OS X systems to work with AD. This will require research, effort, and scariest of all, it will require editing text files and maybe even working with the command line, but with some time even a Mac user should figure it out.

  35. Comment removed by account_deleted · · Score: 3, Interesting

    Comment removed based on user account deletion

  36. It works for me here by nikkinatlanta · · Score: 2, Informative

    I'm an IT admin, and we have Win2k running AD on our server, and we have 10+ Mac clients running OS 10.2. The key is, make sure the user accounts and the user alias on the domain controller are the same..meaning, if your user account is named joe smith, make sure the alias is the same. Hope that helps.

    --
    ~~~ Nicole
  37. The problem is probably not with Apple by igotmybfg · · Score: 3, Insightful
    Windows Networking is based on the SMB protocol. I have been using it for years, first in my home network, then at my university. I have had lukewarm results, at best.

    My primary complaint against SMB is that it doesn't really work all that well. When I tried to look at the list of computers in Network Neighborhood, I often saw only a partial list (some computers that I knew were connected did not show up). The only way I could connect to these was by specifying their IP address. Other times, I could not access them at all (even though in some cases they could still access my machine!). I switched to Linux a while ago, and I have had similar results using SAMBA.

    This leads me to believe that the fault for bad Windows Network performance lies not in the implementation (whether SMB on Windows, SAMBA on Linux, or the Apple implementation) but in the protocol itself.

    1. Re:The problem is probably not with Apple by duplicate-nickname · · Score: 2

      How is this modded as "Interesting"? Is it becuase it bashes a protocol used by MS? Hell, the guy doesn't even know what he's talking about.

      The name resolution used while browsing the network is NetBIOS. SMB/CIFS is the protocol used to "talk" to the server once you have it located.

      It sounds like this guy had machines on seperate subnets and expected to find them by using a protcol that relies on broadcasts. That's what WINS is for.

      Anyway, I will be one happy camper when MS drops support completely for NetBIOS and relies solely on DNS & LDAP. Dynamic DNS is one step towards supporting that reality.

      --

      ÕÕ

  38. Non-local subnets: logon yes, browse no. by decapentaplegic · · Score: 2, Informative

    Based on Apple's adverts of "seamless" we told people they'd be able to browse my organization's full list of local windows servers from MacOsX10.2's [Connect to Server] command. As stated in the linked article, it quickly became clear that browsing using active directory only works for severs on the local subnet. Fortunately, if you already know the name or address of the machine you're trying to connect to, you can log on directly by entering: . So far, this has worked just fine on non-local subnets.

    So for my org, it's a mixed review. It's a long way from "seamless", but it's a LOT better connectivity than MacOS has ever had before. If Apple had advertised what they actually delivered ("Now you can log onto a windows server"), we'd be thrilled.

  39. Jaguar and windows network browsing by sjonke · · Score: 2, Interesting

    Jaguar's alleged Windows network integration is lacking to say the least. In my case it is that windows network browsing is limited to your subnet only, making it nearly useless. I.e. you don't see and can't get to (even nearly) everything when you browse. You CAN get to anything via typing in an appropriate smb URL in the "Connect To Server..." window, but obviously then you have to know the server is there.

    Mind you, I have little to no need to do any of this anyway so it isn't a big deal to me, but if they're going to advertise seamless windows network integration then it ought to be that. I want $1 back for that alleged feature.

    --
    --- What?
  40. Re:Well it's not that hard to fix. NDS != Evil. by Zeio · · Score: 5, Informative

    I beg to differ about NDS on Windows ever being a problem.

    I have no great love for Windows. Novell, I happen to like very much but it is cost prohibitive. But is NDS worth the money? Yes. Also, GroupWise is capable of driving Outlook properly, even better than my beloved OpenMail [RIP, now Samsung Contact - yeach, thanks Carly] was.

    My experience since Novell 4.x (I've used it back in the bindery days as well) and NDS has been flawless. It supports DOS, WinALL, and anything else. It has native file sharing so it can appear as a Winderz box. The server is ugly as sin at the console, but it runs more reliably that one would ever imagine, I had several servers stay up for more than a year. The Novell client integration with Windows NT based operations systems is superior, supporting advanced network trashcans, robust undelete for idiots, and does interesting things like server side searches (as in, if you are looking for the word "cat" on a network file system, the server does the searching 'for you.'

    Also, NDS is much more scaleable than ADS. It has the proper notion of root, it is possible to merge trunks together, if you've ever used ConsoleOne, you'll see more granularity on this directory and its objects than was ever dreamed possible, cleanly integrated and rather fast.

    Is Novell run by intelligent business people? No. Are the products of incredible quality? Yes. Novell's image has been so heinously stained, with angry red color schemes, idiotic pictures of polyester clad fools running around on my console dancing or holding up red N's.

    Novell needs to do only this: Change colors to blue or something, and rip out that licensing shit and start offering to replace ADS/Exchange with NDS/GroupWise for $100 bucks. All it costs them is a CD. It would cost Microsoft a lot of pain.

    If you haven't given Novell a shot, please do,. You'll realize that the free stuff right now is primitive compared to NDS. Any other comments on good directory service implementations are welcome.

    I just setup a Novell 6 server the other day to stay sharp with that stuff. Besides the fools in the marketing department over there, I was impressed with it. I would take a job working with Novell and Unix, but if someone wanted me to deal with Windows ADS or NT4 DS again, and not be open to Samba, I would probably not take the job or demand a premium.

    --
    Legalize the constitution. Think for yourself question authority.
  41. Even more difficult by DeadBugs · · Score: 2

    Have you ever tried to get "Mac People"and "Windows People" to integrate. They run on the same hardware yet seem totally incompatible.

    --
    http://www.kubuntu.org/
  42. try synching AD with OpenLDAP and use that instead by Kunta+Kinte · · Score: 2

    http://acctsync.sf.net - It's difficult to deploy, but it works.

    There are other such products, like PSych and NDS, which may be easier to work with.

    Using this ensures that you don't have to rely on a Win2k LDAP network for authentication services ( read Win2k license for every AD replica, additional CALs )

    But you can alternatively deploy an OpenLDAP set of replicas and have all your services/computers authenticate against them ( read free, their don't care how many you deploy or what you put into them ).

    Microsoft not having Win2k play nice with others is having the beneficial side-effect of increasing their Win2k sales.

    Hmmm... Hey! You think that was their plan to begin with?

    --
    Based on upvotes, Ageism is the only "-ism" Slashdotters care about and think isn't SJW
  43. Do your homework before posting by mithras+the+prophet · · Score: 2, Informative

    Had you actually *read* the document you linked to, rather than googling for forty seconds and then patting yourself on the back, you might have found that this is the sole reference to Active Directory:

    LDAPv3
    This is a newer version of LDAP, which Mac OS X fully supports (read-write). This is the same version of LDAP used by Microsoft's Active Directory and Novell's NDS.
    The poster's problems are a very real issue and are well-deserving of a public question on Slashdot.
    --
    four nine eighteen twenty-7 thirty-nine forty-7 fiftyeight sixty-nine seventy-9 eighty-8 one-hundred-and-nine one-twenty
  44. Get a server. by megaduck · · Score: 5, Informative

    It sounds like your real problem is getting AD to play nice with LDAP clients. The reason that Microsoft clients integrate "seamlessly" with AD is that they use some funky proprietary directory protocol, whereas everything else (Linux, Mac, etc.) speaks straight LDAP. I've found that 10.2 has pretty darn good LDAP integration, but getting it to work with Microsoft takes some accomodation on the AD side.

    Remember that Macs use open protocols and tools for their Windows integration. Samba is used for the SMB stuff and LDAP for directories. Any time you're using proprietary MS protocols, you're going to run into problems. You'll run into the same situation with Linux, Novell, or anything non-MS. If your mandate is to make the Macs behave exactly like Windows, then they're setting you up for failure

    That being said, you can really help yourself out by getting a 10.2 server to act as a bridge. Apple's OpenLDAP is still fairly young, but it really simplifies AD integration. With your modest requirements, you probably use an old iMac. The server software for 10.2 server is pretty cheap with educational discounts ($250 for 10 clients, $500 for unlimited), and it doesn't require much of a box. I'm using an iMac server to get a 20 station lab on AD and it works pretty well. You get some really cool deployment and workstation management tools, too. ;)

    I hear you about the documentation, though. I don't mind so much, because I like tinkering with things and Apple's stuff is fairly intuitive. However, when you're just starting out, Apple's "Why would you need a manual?" attitude gets pretty annoying.

    --
    This .sig for rent.
    1. Re:Get a server. by megaduck · · Score: 2

      I'd like to correct a point here, AD has a full implementation of LDAP protocol that you can use to access it (although I have not actually tested how great/bad it is). The proprietary protocol (ADSI [microsoft.com]) you speak of is merely a convenience for accessing directory services. If you don't like it use the original protocol in which it is based. You do have a choice. And in Apple's case... their using LDAP to access AD.

      Actually, the original article didn't tell if the "nightmarish configuration issues" were on the client side or the AD side. Since MS doesn't enable LDAP by default, ADSI probably one of the many frustrations that this guy faced. AD just doesn't play well with others, and its' default configuration doesn't play with others at all.

      Since you seem to have some experience, is there any way to get Windows clients to authenticate to an non-microsoft LDAP directory? I'm currently investigating going the other way: Using Windows clients with Open Directory.

      --
      This .sig for rent.
    2. Re:Get a server. by megaduck · · Score: 2

      All windows 2000 boxes running AD should respond to ldap on port 389.

      Ack. You're totally right. Apologies.

      Back to Windows clients with LDAP. Our current CTO is looking to replace our AD with some sort of UNIX-based solution. As you said, Win2k authentication is dependent on AD unless you replace it with something like the Novell client. Paying Novell instead of Microsoft isn't really an option either. Of course, all of Microsoft's documentation is AD specific, so I'm starting to think that Windows just plain doesn't work with other directories. Is there any way to get Win2k to use regular kerberos and speak LDAP?

      --
      This .sig for rent.
  45. Re:Well it's not that hard to fix. OS X/NDS here by Havokmon · · Score: 4, Interesting
    because if you use LDAP or NDS you end up with the same nightmarish configuration issues, except now the issues are with the windows machines, which are probably 90% of his clientelle.

    Ehrm. Not only do I have Windows machines, I have an OS X box, and my workstation is Linux.

    Now, the windows boxes DO have random crashes regarding the TCP/IP stacks (Exception 0E), but that has nothing to do with Netware/NDS.

    Stop spreading FUD, I've run NDS for 5 years, and logging into the server is not an issue. Sure, there can be other issues (client-side caching of shared documents - umm turn it off), but nothing that is specific to NDS.

    Plus, with NDS, you don't even need Netware. (Oh, and it's also LDAP v3, so we've used it for web app auths also)

    --
    "I can't give you a brain, so I'll give you a diploma" - The Great Oz (blatently stolen sig)
  46. Re:From O'Reilly Press by djdavetrouble · · Score: 2, Informative

    I read that sample chapter. It seems useless in relation to the topic. They list appletalk and netinfo as the legacy services, and then proceed to go into great detail on how to setup netinfo, not discussing any of the others at all... Why would we want to use the legacy directory service?

    --
    music lover since 1969
  47. AD is a Rube Goldberg hack of LDAP by itwerx · · Score: 4, Informative

    If you ever look at the properties in a typical user's account in AD vs LDAP you will get the screaming heebeejeebies!!!
    LDAP user = a paragraph or two of logically arranged and named fields.
    AD user = a page and a half of garble!
    There's a reason MS has an AD "connector for LDAP" product (for a small fee).
    AD might technically have the same modes of communication as LDAP but that's like saying just because I can use the same phone to call my Aunt and that friendly guy in Nigeria that they can and should talk to each other. (Okay, bad analogy, but I thought iwas funny. :)
    So, to summarise for anyone who hasn't had the pleasure of attempting to integrate AD and LDAP, they ain't even close to compatible Jack!!

    1. Re:AD is a Rube Goldberg hack of LDAP by itwerx · · Score: 2

      Ah, yes, but if you actually have to import or export data manually to integrate with other systems that don't have connectors (probably because MS would rather not have you talking to them) then guess what Microsoft suggests? Scripting!

      And you know what those scripts need? Correct syntax!

      And how is the syntax determined? By the underlying structure!

      So yes, computers are just tools to get a job done, but when standards are munged so as to make using those tools as difficult as possible, then hey, guess what? You get non-knee-jerk anti-Microsoft comments.

      Interestingly enough I was a MS contractor for awhile and I was suprised just how much of the crappiness that comes out of Redmond is NOT willfull evil but simple incompetence coupled with poor management and overzealous sales people.
      But that doesn't let 'em off the hook! :)

  48. It Doesn't Work, Yet. I've Tried. by Spencerian · · Score: 5, Interesting

    Apple, in its attempts to get into more enterprise accounts, has not learned that system administrators require documentation ad nauseum. They wrote their documentation for AD in the old 10.1 Server AD/LDAP PDF and in their System Administrators guide for 10.2 Server much too simply.

    Recently I worked with Apple to receive an Xserve for two tests--getting a Macintosh to authenticate by AD (which is an LDAP superset) from login, and to provide authentication on file shares from AD using the Connect to Server command, where the shares would be provided by the Xserve.

    I had no success in getting anything to work with 10.1 Server. After getting 10.2 Server from Apple, we had luck in getting authentication for file shares working. Part of the problem involved how LDAPv3 (the main component in Apple's Open Directory) relates to the AD schema. I'm not an AD expert, but Apple has got a "not-invented-here" mindset here; the LDAP components don't match up with with sysadmins expect. I was unable to get the login authentication component working at all.

    As a result, I couldn't recommend an Xserve for my customers, and stuck in Services For Macintosh, a component in Windows 2000 Server that provides the same authentications to file shares by AD without the Xserve acting as a middleman for file sharing. It's got its own issues, but at least it worked as advertised; it took us only 5 minutes to set this up on a working W2K server.

    Apple MUST have the documentation and software working and tested before making claims. This is a completely unacceptable way to sell their wares, and is worsening an already bad reputation for many in IT.

    Just so you know, Macintosh system integration is my business, so I feel quite justified in flaming Apple for such a bad implementation. It's not really their technology, but how they sold this currently-snake oil concept to Mac professionals.

    --
    Vos teneo officium eram periculosus ut vos recipero is.
    1. Re:It Doesn't Work, Yet. I've Tried. by nystul555 · · Score: 2, Informative

      I'd just like to back up everything that you are saying. I have been working with one of my clients to get OSX-AD integration set up for several months now, with no luck. First we started with 10.1, and we have now moved on to Jaguar. Although I am not an Apple expert, we are working with the top Apple support company in our city, which frightenlingly is also the only one that is supporting OS X in large environments yet (this is in a city of 3 million). We have also had two engineers from Apple come and assist us, and we've had no luck. My client was supposed to be a showcase for Apple, to show how great it integrates with Windows and how it can be used by large corporations and institutions, so Apple definately has an interest in making this work. But still, no luck. As a matter of fact, the IT department at my client sent me an email earlier today saying that they would like to end the project, since it is going nowhere. It is a great disappointment to me, since I would really love to make this work, but I can't blame them at all. It seems like the big problem is that no one really has any idea how to set this up correctly. We've spoken with places where they have been able to make it work, but either they haven't actually made all of it work like it should, or they have it setup in a convoluted manner that we can't emulate on a large scale. Apple's engineers have been little help. Although they know a lot about Macs in general, it seems like they really don't know what they are talking about when it comes to LDAP and the AD integration. I really get the feeling that they just think that it SHOULD work, with minimal effort, and when it doesn't they just fall apart. I am considered to be an LDAP and NDS expert, so I have a good knowledge of how this should work, but unfortunately it just doesn't. It's been a huge dissapointment. The worst part is, I had several other clients that were ready to implement this, but I have had to inform them that our pilot testing isn't working, so we won't be implementing it any time soon. I guess I'll just hope that they get it worked out eventually, and maybe try it again later.

    2. Re:It Doesn't Work, Yet. I've Tried. by jafac · · Score: 3, Interesting

      This very much resembles the typical situation where two vendors have a solution that's supposed to work "in theory" but one or both implementations of the "standard" are broken; ie- there's some undocumented behavior.

      Quite often, in these situations, Vendor B has set up a test environment, and it works in their lab. But that only matches about 20-30% of the environments you'll hit in the field. (as I've seen, you typically see stuff like this breaking on the Microsoft side, mysteriously dropping names, losing connections, failing to authenticate where there's supposedly a trust - etc. it can be fragile on "difficult" networks).

      It's not enough for Vendor B to say that their solution works with Vendor A's solution - it has to be tested, but then you get it out into the field and you run into these "edge cases" and it doesn't work - and the ONLY way ANY vendor can fix it is to plow through it with onsite visits with engineers, LAN analysis, debugging, etc. It's very costly and time consuming. In the end, Vendor B will code around the problems, (or try to get Vendor A to code around them) and the system becomes more robust. This is what is known as a "MATURE" product.
      An immature product "should" work, and does not when you hit an edge case, and the vendor hasn't "worked it out" yet. Only the companies that "been there done that" have "mature" products. We need to ALL remember that OS X is just a year or so old. Apple has been in the server market (in this incarnation) for less than 6 months. Apple does not have the field force of say, IBM, Sun, or CA. It's going to take time for them to grow the expertise to mature THIS solution, and learn how to mature their other solutions.

      This is why the CIO's out there tend to shun products from smaller, newer companies. No matter how cool, great, whiz-bang, or free the product is - it it's going to be costly to implement if it, and the support organization behind it, aren't MATURE.

      Yes - the fault lies with Vendor A in this case, most likely, for using a non standard implementation (as Microsoft is FAMOUS for - on purpose, to get the checkmark for compatability, but actually preventing interoperability, in order to persuade people to buy into homogeneous computing - based on their system) - but at the end of the day, if Vendor B wants to play in this market, they've got to mature. Fact of life. Not pretty, just the fact.

      --

      These are my friends, See how they glisten. See this one shine, how he smiles in the light.
    3. Re:It Doesn't Work, Yet. I've Tried. by Spencerian · · Score: 2

      Excellent comment. Given Apple's history of doing things their way without much external feedback, I think that's exactly the case here. Again, it's not that Mac OS X can't do what they claim, but that Apple hasn't apparently bothered to make it work outside of the lab, or feed us conjecture.

      Apple is obviously excited on presenting abilities IT and users could never have realized in Mac OS 9, but this is such a vaporware tactic.

      --
      Vos teneo officium eram periculosus ut vos recipero is.
  49. not to be a complete wag.... by otis+wildflower · · Score: 2, Interesting

    ... but how about porting your AD environment to Samba + LDAP on a unix-based Samba PDC?

    Save lots of $$$ on server licenses, and Win2k works fine in NT4 backwards-compatibility mode..

    Depends on how many people, departments, etc.. But it could be a cost-effective solution.

    As long as M$ isn't paying your college off, of course ;)

  50. Re:RTFM by Hornstar · · Score: 3, Funny

    Wow. Another RTFM post. Brilliant. So, I take it you read the actual Ask Slashdot question then, right? The part where he says he knows how to get it working, and wants to know if it has been this hard for everyone else to do so as well? Did ya read that part? Cause I don't think that ya did.

    For reference:
    "...It is possible, but not without a good deal of nightmarish configuration issues...I found a good many people who think that Apple's claims of seamless Windows Network integration to be a bad joke and nothing more." So that was the part where he says he knows how to do it. Now this is the exciting part... the ACTUAL question...

    "...I was wondering who else out there is having this problem, and what they have done to solve it." Cool, huh? Reading story good! Reflex comments BAD! REFLEX BAD!

    Now, you did find documentation on Apple's site so that's gotta be worth some points. +1 Informative to you. Of course, that's not really the point of his Ask Slashdot, so you get a +1 Moron because you can't read and a +3 Asshole because you've used this thread as a vehicle to vent your frustrations at the world. Your Karma is now -1 Idiot. Congratulations.

    Now, for anyone else that feels inclined to add RTFM to this discussion, save your breath. We don't care. Post something useful, and if you're not willing to add your name to it, maybe that tells you a little bit about the message you're posting.

    Thank god I'm not a moderator or my Dogma would crap on your Karma

  51. DHCP does not by nature authenticate??? by zerofoo · · Score: 2

    One DOES...Microsoft's DHCP server must register itself with Active Directory. This keeps rogue DHCP servers off the network. This is a nice feature in a large organization. How many networks have been interupted by some bozo accedentally activating DHCP on his windows NT/2000 server box? I know of a few.

    Sure, that doesn't stop the same bozo from enabling DHCP on his wireless access-point/router...but it does help.

    I guess what I want is Linux or OS X to act like an Active Directory DC....to do all the things that Microsoft's AD-DC's do.

    -ted

    1. Re:DHCP does not by nature authenticate??? by plsuh · · Score: 3, Insightful

      DHCP authentication as you described is a Microsoft extension to the standard and is not a part of any RFC that I am aware of. In point of fact, no non-Microsoft DHCP server implements this protocol and as a result, any other device that wants to broadcast DHCP packets can do so. The DHCP server on Mac OS X is really just a slightly modified version of the ISC reference implementation of bootpd. By design, you can set up the DHCP server on Mac OS X to respond to directory services request packets but not other types, such as IP address allocation requests, so that Mac OS X machines can pick up directory services information via DHCP and still interoperate with existing DHCP servers.

      And, as you pointed out, any other device plugged into the network that can broadcast DHCP can cause the same chaos. Mac OS X makes it so that regular users without admin privileges cannot turn on DHCP, either on Mac OS X or Mac OS X Server. Keep non-technical users as non-admin users and you will never have the problem of DHCP interference.

      I guess what I want is Linux or OS X to act like an Active Directory DC....to do all the things that Microsoft's AD-DC's do.

      This gets to the core of your problems -- you have a VERY Microsoft-centric view of the world. Forcing authentication against a Microsoft-specific non-standard server protocol just because that's the way Microsoft does it is a really poor way of getting interoperability. Other systems have other ways of handling directory services and security -- look at them in their native environments and work with them, don't treat every problem as a nail just because all you have right now is a hammer.

      --Paul

    2. Re:DHCP does not by nature authenticate??? by zerofoo · · Score: 2

      Agreed on the DHCP point.

      Can Mac OS X and OS X server determine whether or not a user is an administrative or non-privileged user when it authenticates against an Active Directory?

      Example: I enter my boss into Active Directory as a non-administrative user. He logs into OS X on his desktop (assume i've gotten OS X server to work with Active Directory), what level of privileges does he have? Will he be allowed to make administrative changes on his workstation?

      If he can not, then the OS X/Active Directory interoperability might work well enough to manage the Mac users on my network.

      -ted

    3. Re:DHCP does not by nature authenticate??? by plsuh · · Score: 2

      Can Mac OS X and OS X server determine whether or not a user is an administrative or non-privileged user when it authenticates against an Active Directory?

      Yes. It all has to do with the "admin" group. If the user is a member of that group, then he or she has admin privileges. If the user is not a member, he or she does not.

      --Paul

  52. Purpose? by greygent · · Score: 2

    Uh, what the hell is the purpose of this article? Shouldn't this be under "Ask Slashdot" or perhaps "Senseless Ranting"?

  53. Have Win2k authenticate against LDAP instead by Kunta+Kinte · · Score: 3, Informative
    http://pgina.cs.plu.edu/

    Will do that. I think in the end, I think the benefits of few less win2k servers to maintain/buy is worth the client install.

    --
    Based on upvotes, Ageism is the only "-ism" Slashdotters care about and think isn't SJW
  54. What we found... by Null_Packet · · Score: 3, Informative

    I work for a company that looked into it recently. We bought an XServe, read the docs, and when I tried to assemble it in a test environment (Fresh AD infrastructure, own address space, etc) I ran into problem after problem. Finally when all the people at the Apple Support Forums (http://discussions.info.apple.com/) we got an error. So I called apple support. Would they help? They said no. Would Apple Pro support help? They said no. They said "We can get you in touch with Apple Consulting Services to help you get it working."

    WTF? I have to buy consulting? They won't even *help* you through it over the phone, they direct you to the discussion forums. Basically my point is that Apple won't even support vanilla test-only installs, let alone ones in production.

    The way it basically works is that Apple's own LDAP flavor (OpenDirectory) only works with Apple clients. *But* you can make some additions to the Win2k/AD Schema (not that scary) and make it so Apple's OpenDirectory can read attributes (users and shares) from AD, letting AD users login locally to a mac. Great stuff, yet to see it work.

    The documentation sends you all over the whitepaper, looking for info on how to do this and that, and leaves out crucial steps (enabling LDAPv2 in AD, for example, as well as enabling LDAPv2 write access).

    I'm no apple basher, but at the very least they should stop saying it's easy.

  55. Oh god by 0xA · · Score: 2

    Uhh, we're talking about extending an LDAP (MS AD) schema and maybe setting up Samba here. Not exactly friggin rocket science. I would suggest you read up some on LDAP and SMB, once you understand the basics of this stuff all will become clear to you. I would hardly call what is going on here a nightmare.

    Keep in mind that nothing you are doing here would be at all new to someone who has used LDAP, or MS AD, in a Linux + Windows or Sun + Windows environment. Keep in mind that your shiny Mac is a Unix based machine and eperience and tools from other platforms will apply. Get off your ass and spend 5 minutes with google.

    Is is possible you are just stupid? I read the site you linked to, most of these people are definately stupid. You have a MCSE right?

  56. Mixed mode is not about the clients by McSpew · · Score: 2

    This may be OT, but mixed-mode doesn't have anything to do with how your clients authenticate. It has to do with what types of domain controllers you have. If you have nothing but Win2k DCs, you can run in native mode.

    I'm running my ActiveDirectory in native mode and I have plenty of "downlevel" clients authenticating using the old NTLM protocols.

    1. Re:Mixed mode is not about the clients by nurb432 · · Score: 2

      We still have NT BDC's spread out. Will be months before all are converted to win2k.

      Whhen we go native it DOES effect how clients authenticate. Does it matter, perhaps not but it does effect things.

      Actually, mixed mode isnt 100% compatible as we have already expierenced problems with some local software. Though so far the mac hasnt puked beacuse of it.

      --
      ---- Booth was a patriot ----
  57. A little more to the story by lkaos · · Score: 5, Informative

    Having worked on Active Directory interoperability in Linux along with giving a presentation at the recent CIFS conference on the topic, I can speak to this issue with a certain degree of confidence.

    My understand of the OS X client is that it doesn't contain true Active Directory client support. Instead, it relies on the fact that most AD installations are in mixed-mode where they still accept old client logins. In fact, only the bleeding edge versions of Samba actually support true Active Directory client login as it erquires some pretty obscure protocols that only recently have been understood (LDAP over UDP and other various nonsense).

    Chances are, your network is in native-mode. That would kill your chances of using the native OS X CIFS clients (although Samba should allow you to access network resources if you use a beta 3.0 version).

    --
    int func(int a);
    func((b += 3, b));
  58. Hey, man. I only work here, you know? by tulare · · Score: 3, Interesting

    And, while I understand that having Apple say "its easy" makes you want to blame them, you really ought to blame MS or yourselves for purchasing MS technology.Believe me, if it were my choice, we wouldn't have a single Windows machine on our network, either server or client. But it's not my decision to make. Given the reality that I am in a Windows shop, I do my best to make things work right. And, so far, OS X clients only work marginally well. Users can manually mount NT shares using their AD auth, but we'd relly prefer to see login screens at bootup authing against the AD. And that's where the problem lies. I agree that the problem is probably M$, but what can I do?

    --
    political_news.c: warning: comparison is always true due to limited range of data type
  59. You mean it didn't "just work"? by User+956 · · Score: 2

    It is possible, but not without a good deal of nightmarish configuration issues. Documentation? HA! No sign of it anywhere on Apple's site.

    But I thought Macs "just work"?

    --
    The theory of relativity doesn't work right in Arkansas.
  60. modified == *extended* by netsrek · · Score: 5, Informative

    Apple haven't broken LDAP by modifying it. They are using OpenLDAP, which is published under an open source licence.

    All they have done is provide a bridge and NetInfo schema such that current NetInfo account information can be published via LDAP directly from the NetInfo database. They're not the bad guys here.

    --

    i don't read slashdot anymore.
  61. I love it... by SPYvSPY · · Score: 2

    ...when people complain about Apple not documenting when it is Microsoft's non-standard nonsense that caused the problem in the first place.

  62. pam is not the way under OS X. by netsrek · · Score: 2

    Just to clarify something, although Apple have included PAM in OS X 10.2, it's kind of useless, as /etc/pam.d/login isn't actually consulted at the login window. yeah. brain dead and bloody annoying.

    --

    i don't read slashdot anymore.
  63. How to do it with OS X 10.2 by Anonymous Coward · · Score: 5, Informative

    You will need 10.2.

    Browse to /Applications/Utilities, select Directory access. Select LDAPv3, click Configure, drop down the show options button, hit 'new', type a friendly name for your AD server, slap in its name or IP, Select Active Directory from the LDAP Mappings, use SSL if you want, fart around with the other options if you need to, OK everything, go back to Directory Access, Select Custom Path from the Search Drop Down, hit 'add', select '/LDAPv3/Your Friendly name'.

    Slap back wallop, you should now be authenticating with an AD server, seamlessly it is. Works Good for me, I dont like AD, but I really dont care, it authenticates me thats all I need, keeps management happy too, they love spending that money!!!.

    T

  64. Re:Active desktop = w00t by randomErr · · Score: 2

    Um, they're talking about Active DIRECTORY, not Active Desktop.

    Totally different animal, until IE 7 comes out with Windows Longhorn.

    --
    You say things that offend me and I can deal with it. Can you?
  65. Re:Humans at slashdot truly are stupid by Anonvmous+Coward · · Score: 2

    "It wasn't until this very column, titled Mac OS X with Active Desktop, until I realized how very stupid the humans at slashdot are...Active Desktop when the text clearly says Active Directory. Jeez, where does slashdot find them?"

    All humans at /. are very stupid because they made a textual mistake between two like-sounding MS buzzwords? Are you saying that one has to follow MS's fads religiously to not be an idiot? heh.

    Now that's funny. Where did Slashdot find you?

  66. AD documentation for 10.2 by daveschroeder · · Score: 5, Informative

    The Active Directory documentation for Jaguar Server is now integrated into the Mac OS X Server 10.2 Admin Guide; from http://www.apple.com/server/resources.html:

    Active Directory for Mac OS X Server v10.1: Learn how to integrate Mac OS X Server v10.1 with Microsoft Active Directory. (v10.2 customer, refer to the Administrators Guide for Active Directory integration documentation.)

    The Mac OS X Server 10.2 Admin Guide is available from:

    http://docs.info.apple.com/article.html?artnum=122 015

    Particularly, see:

    Chapter 2: Directory Services (p.65)
    Using an Active Directory server (p.104)

  67. I agree by Andy+Dodd · · Score: 2

    Using LDAP is the way to go, but when you already have a Windows-based authentication infrastructure in place, you don't necessarily have that option. Hence pam_smb_auth

    --
    retrorocket.o not found, launch anyway?
  68. Re:Well it's not that hard to fix. NDS != Evil. by Openadvocate · · Score: 3, Interesting

    I had a excellent Novell experience today. :)
    I just installed a demo of Netware 6 today, I was amazed by the number of programs coming with the server as default, damn. Just look at the web admninistration.

    When talking NDS, I discovered that now that Novell runs PHP,MySQL,Perl there is a greater reason to run apache web servers on it.
    And what was even better, you can now authenticate users against your NDS in apache. cool. Just like you would use a .htaccess file, you can point it to the NDS directory instead, very cool indeed, it would look something like this.
    -----
    AuthType Basic
    AuthName "Secure_Site"
    AuthNDSTree TREE_NAME
    AuthNDSContext .organization [.context.organization]
    AuthNDSRequireSSL [on|off]
    require valid-user
    order allow,deny
    allow from all
    ---

    It was very cool to see my php/mysql applications running on a netware server, I didn't need to change anything in the code, I imported my SQL data into MySQL and it was running.

    --
    my sig
  69. You're out of line by Lovejoy · · Score: 2

    most of these people are definately stupid. You have a MCSE right?

    'nuf said

  70. Re:Well it's not that hard to fix. NDS != Evil. by sniggly · · Score: 3, Informative

    As a side note check out mod_auth_mysql - http://www.diegonet.com/support/mod_auth_mysql.sht ml
    to do user auth against mysql as an apache module, works like above.

    There's also http://www.giuseppetanzilli.it/mod_auth_pgsql/

    Novell is playing attention to the good stuff :)

    --
    Of those to whom much is given, much is required.
  71. Re:From O'Reilly Press by benedict · · Score: 2

    I play it cool, and dig all jive
    That's the reason I stay alive ...

    Cool to find another Hughes fan on Slashdot.

    As for that book, it spends too much time on basic
    unix stuff like what a here document is. As a friend
    of mine quipped, it should be called "Unix for Mac
    OS X Users".

    --
    Ben "You have your mind on computers, it seems."
  72. How we've done it by halmstrz · · Score: 2, Informative

    Our method involves authenticating to AD via LDAPv3, and automouting a volume over SMB. We've just put this doc together over the last few hours, but will try and work more on it in the next few days. It can be found here at the bottom.

  73. It works but Directory Access must be right by Current+Point · · Score: 2, Informative

    I just recently setup our Mac OS 10.2 server utilizing our Active Directory server. Here are some tips that may help.

    1) Do not test with OS X Server. I used the Java LDAP browser, available at http://www.iit.edu/~gawojar/ldap/ to check for a proper connection. Once I got this to work where I could see the LDAP user data, I plugged those same settings (User/Password, search base, IP, etc) into Directory Access for OS X Server. OS X Server does not give as much diagnostic feedback when testing as the LDAP browser does.

    2) Do not add a cn=Users to the search base. Yes it may be necessary, but OS X Server will do this for you. By adding it, you will have 2 cn=Users which breaks it. The search base should look something like dc=mydept,dc=mycompany,dc=com.

    3) In Directory Access use the Active Directory template (not From Server, or Custom). In most cases this will work without any mappings making it a simple Directory Access setup.

    Hope this helps
    Rik

  74. More stuff... by zerofoo · · Score: 2

    You have given me more information on OS X server than any of the Mac "salespeople" I have to deal with. It's greatly appreciated.

    We are mostly a PC shop, but my boss is a Mac nut....it might just be time to convince him to let me buy an OS X server :)

    In fact, the AD replication process is actually fairly complex...

    You said it! Have you ever configured two bridgehead servers? Ugh, no fun to set up, but it works pretty well once up and running.

    I have to admit, the Active Directory replication process is pretty cool. It manages lots of info, does conflict resolution well, and does not need tight time synchronization.

    ...including the ability to change a clone into a master if the master fails...

    Does the failover have to happen manually? I like the idea that if one of my AD-DCs fails, I automatically have another master (since all Active Directory domain controllers have a writeable copy of the Active Directory). Does OS X have the ability to "auto-promote" a slave to a master?

    -ted

    1. Re:More stuff... by plsuh · · Score: 2

      Let's take this off line -- Paul Suh

      --Paul

    2. Re:More stuff... by plsuh · · Score: 2

      Let's take this offline -- and let actually type my e-mail address this time! Paul Suh psuh at apple dot com

      --Paul

  75. *extended* !=broken... by netsrek · · Score: 2

    That's completely different, and you bloody well know it. This isn't an "embrace and extend" kind of extended... Apple is still running OpenLDAP, they haven't broken interopability at all, not like what Microsoft did with Kerberos/Active Directory at all. Any other LDAP client that implements the standard can still talk to Apple's install of OpenLDAP...

    --

    i don't read slashdot anymore.
  76. Schemas are a key part of LDAP by oneiros27 · · Score: 2

    If someone were to 'extend' the way that an LDAP consumer interacts with a supplier, there's an issue. As it is now, every set of LDAP software has its own way to handle direct replication of data.

    However, the type of information that can be placed into an LDAP directory is handled by the schemas.

    In much the same way, a database server doesn't care what your table definitions are to maintain ODBC compliance.

    Now, in this case, we have schemas, which much like a table definition, define what sort of information is allowed to be placed into the directory. It may be mail addributes, such as 'rfc822mailalias' and 'mailforwardingaddress', it might be posix authentication information, such as 'loginshell' and 'homedirectory'.

    In this case, I have no idea what schema extentions OS X may require, but the standard posix attributes would make sense (ie, what you'd find in /etc/passwd normally).

    --
    Build it, and they will come^Hplain.