Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Best FOSS Active Directory Alternative?

Posted by kdawson on Sat Jan 17, 2009 09:39 PM
from the war-stories dept.
danboid writes "I'm an IT technician at a large school near Manchester, England. We currently have two separate networks (one for pupils, one for staff) each with its own Windows Server 2003 Active Directory box handling authentication and storing users' files. We're planning on restructuring the network soon and we'd like to be able to replace the two aging AD servers with a single, more powerful Linux server running an open source OpenLDAP implementation. The main contenders for this purpose seem to be Fedora Directory Server, OpenDS, and Apache Directory Server; but I've been unable to find meaningful comparisons among the three. I'd like to hear which solution Slashdot readers recommend. What is your experience with ease of implementation / maintenance? Any stories of similar (un)successful migrations? Any other tips for an organization wanting to drop AD for a FOSS equivalent?"
+ -
story

Related Stories

[+] Active Directory Comes To Linux With Samba 4 276 comments
Da Massive writes in with another possible answer to a recent Ask Slashdot about FOSS replacements for Microsoft AD server. "Enterprise networks now have an alternative choice to Microsoft Active Directory (AD) servers, with the open source Samba project aiming for feature parity with the forthcoming release of version 4, according to Canberra-based Samba developer Andrew Bartlett. Speaking at this year's linux.conf.au Linux and open source conference in Hobart, Bartlett said Samba 4 is aiming to be a replacement for AD by providing a free software implementation of Microsoft's custom protocols. Because AD is 'far more than LDAP and Kerberos,' Bartlett said, Samba 4 is not only about developing with Microsoft's customization of those protocols, it is also about moving the project beyond just providing an NT 4 compatible domain manager."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Not Samba? (Score:5, Interesting)

    by Tubal-Cain (1289912) * on Saturday January 17 2009, @09:41PM (#26502573) Journal

    The main contenders for this purpose seem to be Fedora Directory Server, OpenDS, and Apache Directory Server

    Seeing as you don't even mention Samba, I assume you are trying to avoid drop-in replacements for AD?

    • Re:Not Samba? (Score:4, Informative)

      by Anonymous Coward on Saturday January 17 2009, @09:47PM (#26502629)

      And, er, what about OpenLDAP?

      • Re: (Score:3, Funny)

        by Anonymous Coward

        And, er, what about OpenLDAP?

        Because er.. that was mentioned in the 'Ask Slashdot'.

      • Re:Not Samba? (Score:4, Informative)

        by Z00L00K (682162) on Sunday January 18 2009, @02:59AM (#26504179) Homepage

        As far as I know any AD solution involving Samba is using OpenLDAP as backend, but I may be wrong.

        I am using OpenLDAP in a project and I can just say that it's quirky to say the least and isn't very verbal about configuration errors unless you fiddle with it.

        It's also a bit quirky with symmetrical replication, but it's not impossible to make it work.

        But on the positive side - it's fast and relatively reliable if you manage to configure it right. You just have to be very patient with it.

      • Re:Not Samba? (Score:5, Interesting)

        by stephenpeters (576955) on Sunday January 18 2009, @04:59AM (#26504647) Homepage

        I think openLDAP should be one of the first products the submitter tries. In my experience it is reliable scalable and free of proprietary cruft. I have used it for years in a commercial network with Samba. OpenLDAP has allowed my company to drastically cut licensing costs, support costs and lengthen hardware lifecycles. As the submitter is UK based I would recommend they contact Sirius [siriusit.co.uk]. Sirius are the consulting company I use and they are the only UK OGC/Becta accredited FOSS specialist. Sirius have considerable experience in the UK education market and in the submitters position they would be near the top of the list of people to call. Take a look at their client list to see the kind of pedigree they have.

        <disclaimer>

        I have worked closely with Mark Taylor the CEO of Sirius for a long time now. Please consider anything I say about them biased, contact them youself and make up your own mind about them.

        </disclaimer>

        • Re:No openldap (Score:5, Insightful)

          by stephenpeters (576955) on Sunday January 18 2009, @07:47AM (#26505367) Homepage

          First of all, why use crappy openldap when you can use the Netspace directory server that red hat bought and opensourced [redhat.com].

          I have foung openLDAP to be reliable, compatible and easy to use. Can you elaborate on why you think it is crap?

          There is a reason why they paid 23$ millions for it...

          And the reasons are?

          Then, AD isn't just a LDAP server with usernames and passwords....

          Nor is openLDAP just a store for Windows user names and passwords. I use an openLDAP server for Windows services as well as providing user configuration for other services such as sendmail. The great advantage of using FOSS is that you are free from vendor lock in and can consider non-proprietary alternatives in other areas of your network.

          Which is why many people can only use Windows setups. There's nothing like AD in the FOSS world. To start with, FOSS client apps should be lockdown-able from the server. But you can't do that...

          I mean, in a office with a linux server and some linux clients, try to lockdown some options on Firefox, the desktop, evolution....surprise, you can't do it. Oh, yeah, there're a lot of workarounds everywhere, but they are different if you use KDE or Gnome or depending on the app you are using. It's a horrible mess.

          Nowhere in the article do I see a desire to use FOSS desktop clients. The submitter simply wants to replace AD server with a non MS LDAP based alternative.

          Windows clients and servers, on the other hand, are VERY well coupled. The day someone cares to fix this in the FOSS world, a lot of people will start using Linux in corporate networks.

          This is otherwise known as vendor lock in. Some of use have tried very hard to break free of it to avoid being held to ransom by a vendor.

          Until then, Windows is pretty much the only realistic option. I can't understand why Red Hat, Suse and Ubuntu don't put more efforts on this, it's one of the biggest showstoppers for Linux adoption.

          I have been running what you consider an unrealistic option for the best part of a decade. I have yet to be fired. Sirius [siriusit.co.uk] the consultancy I recommended have a client list of blue chip companines, local govenment and schools. They are all running some form of FOSS backend. You might like to take a fresh look at FOSS, it really works in the real world.

          In my previous post I forgot to mention that OGC [ogc.gov.uk]/Becta [becta.org.uk] are the government agency's responsible for technology in the UK educational environment. It is considerably easier for a UK school to use a Becta accredited supplier than any other supplier. It is an incredible achievement for Sirius to gain that accreditation as no other FOSS consultancy has managed to cut through government red tape thus far.

    • Re: (Score:3, Interesting)

      I thought Samba was stopped at compatibility as a domain controller (win 2000 style), and did not offer AD features?
    • Mod Parent Down (Score:4, Informative)

      by Frankie70 (803801) on Sunday January 18 2009, @02:47AM (#26504139)

      Samba isn't an Active Directory alternative.

    • Re:Not Samba? (Score:4, Informative)

      by Alioth (221270) <no@spam> on Sunday January 18 2009, @07:54AM (#26505393) Journal

      Samba is an implied component of these things. Samba doesn't do directory services (well, not as at the current stable versions - samba 4 which has been brewing for years and years will have its own LDAP service). Usually, an AD replacement consists of some directory service, such as OpenLDAP, with Samba handling the job of serving files and sharing printers. The open source services tend to follow the Unix paradigm of making a service - construct a whole out of components, and choose the components that suit you best. For instance, for our development network at work, we use OpenLDAP as the directory service, and Samba to share files from the server. Samba queries OpenLDAP when someone tries to authenticate. As do our little web applications - when you log onto one, it will query the same OpenLDAP server to authenticate/authorize your login.

      • Re:Not Samba? (Score:5, Interesting)

        by digitalunity (19107) <digitalunity@@@yahoo...com> on Saturday January 17 2009, @10:18PM (#26502819) Homepage

        How many years ago was this? I'll keep my negative comments about VB6 and Jet to myself, but that this was on NT4 then I would imagine your anecdotal experience is from some time ago.

        Samba has made tremendous improvements in the last couple of years in a lot of areas.

        • Re:Not Samba? (Score:5, Informative)

          by ushering05401 (1086795) on Saturday January 17 2009, @10:38PM (#26502959)

          The parent is trolling or is apparently unaware that MS specifically told people not to use Jet like this.

          Here is an MS quote from back before Jet was deprecated.

          "While Microsoft Jet is consciously (and continually) updated with many quality, functional, and performance improvements, it was not intended (or architected)... to be used with high-stress, high-concurrency, 24x7 server applications, such as web, commerce, transactional, messaging servers, and so on" (Source: Microsoft KB article Q222135).

          So no 24x7 server apps per MS, I wonder what was slowing down the other poster's 50 concurrent connection scenario.

          I could never get Jet to work well > 5 concurrent connections.

          • Re:Not Samba? (Score:4, Informative)

            by timmarhy (659436) on Saturday January 17 2009, @10:55PM (#26503057)
            it's not a troll if it's true, is it?

            that vb jet was a piece of shit isn't in debate here, it's the fact samba wouldn't perform on the same level with beefier hardware. it's a little hard to sell samba over windows as a file sharing solution when it doesn't perform as well, and i was questioning if that's been resolved or not. if you choose to think it's a troll, it's not my problem.

            • Re:Not Samba? (Score:5, Insightful)

              by ushering05401 (1086795) on Saturday January 17 2009, @11:11PM (#26503163)

              I troll sometimes too, sir. I'm not saying your experience is invalid either, just that it is not valuable in this scenario and therefore a distraction from the real matter at hand.

              The problem is that your scenario gives us very little usable information about Samba...

              1. Because the people who configured your environment were probably the same people who chose to use Jet in this manner casting doubt on the other implementations.

              2. Because there is an obvious bottleneck in Jet that would need to be resolved before anyone would trust the evaluation of a component interacting with the bottleneck.

              I'm not picking a fight, just pointing it out. Feel free to call me a troll whenever ;) It is often true.

                • Re:Not Samba? (Score:5, Informative)

                  by Vellmont (569020) on Sunday January 18 2009, @12:33AM (#26503585)

                  Well, I don't know much about how well samba performs when 50 people all try to write to the same file, but my experience with samba over a windows server is that samba is much faster.

                  In any case judging samba performance on the basis of a very odd use-case like 50 users hitting a single file is kind of strange. Generally you don't have that many people trying to access a single file. If NT4 is better in this one respect, that's great for you and the other 10 people that are using jet in this crazy manner, but for everyone else it's irrelevant.

                  • Re:Not Samba? (Score:5, Insightful)

                    by dkf (304284) <donal.k.fellows@manchester.ac.uk> on Sunday January 18 2009, @07:15AM (#26505219) Homepage

                    In any case judging samba performance on the basis of a very odd use-case like 50 users hitting a single file is kind of strange.

                    It's not that strange in education, especially with large classes (but perhaps more so at Universities than at schools). What happens is you get lots of people get to about the same point in a practical class at about the same time, and then they sit there and repeatedly hammer whatever services you've got up to support them until they get through.

                    Business usage patterns are different to education ones. You can't really use experience with one to predict the other. (Alas. It'd be so much easier if you could...)

                • Re:Not Samba? (Score:4, Interesting)

                  by sandman_eh (620148) on Sunday January 18 2009, @06:11AM (#26504965) Homepage
                  But since you haven't posted anything more we can't be sure.

                  What did you investigate? What samba tuning parameters did you try?

                  Last year I had a very similiar problem, which actullay turned out to be network card driver issue. I upgraded from the stock debian stable kernel to one from testing and the problem went away.

                  My point is a single example without actually knowing what was investigated - is just a worthless anecdote.

          • Re:Not Samba? (Score:4, Interesting)

            by s4m7 (519684) on Sunday January 18 2009, @03:53PM (#26509115) Homepage
            Andecdotally, I know of a company that is currently switching their file servers over to ZFS and samba because of how seriously it outperforms NTFS and windows on the same hardware. Their new array is a 100TB array, and they have single files that exceed 1TB. It seems more likely that the performance issue you ran into has more to do with configuration than raw performance of samba.
      • Re:Not Samba? (Score:5, Informative)

        by sumdumass (711423) on Sunday January 18 2009, @04:31AM (#26504527) Journal

        I had a similar situation but I wasn't using Jet. Anyways, after pissing around with it for a while, I found the problem was the network card. I noticed this when attempting to run speed tests while data access was gradually being increased in the more to see if I could pinpoint the time of failure. I noticed that I started getting a bunch of resends because packets were getting dropped. This is when I discovered that the 3com built in network cards weren't as good as the PCI variety. I don't know if it was 3com's problem or the main board manufacturer's issue and personally, at this point I don't care.

        Anyways, I added a spare Intel pro card and saw an immediate improvement. Like many, I assumed the on board network adapter would have been sufficient seeing how it was a 3com 3c905 series on a p4 2.8 system with about 2.5 gig memory (it did more the Samba) I ended up dropping another card into the box and separating the SMB services from another service I was running and it seemed to run circles around it's previous performance as well as the NT4 performance. I don't know if yours would have been related but I have known for a while that you need to use good network cards on servers and production machines. I rarely use on board NICs anymore except for home use and often I will either use a 3com or intel pro nic with the intel being the easiest for me to find in my area. All the others seem to shift more of the network job into software using host processes instead of doing it on the device. I'm sure there are more then 3com and Intel with good cards too, they are just the ones I'm familiar with and sticking with.

  • by 140Mandak262Jamuna (970587) on Saturday January 17 2009, @09:44PM (#26502603) Journal
    OK buddy, you have done your job and made enough noises about FOSS. Your $large_discount coupon from MSFT is ready and waiting, mention coupon code EGDI. Coupon good for getting all MSFT software for free. Manufacturers Coupon, Never expires.
  • Mandriva (Score:5, Informative)

    by Anonymous Coward on Saturday January 17 2009, @09:46PM (#26502623)

    Mandriva Directory Server [mandriva.org] + Pulse 2 [mandriva.org]

  • SME Server 8 (Score:5, Informative)

    by erroneus (253617) on Saturday January 17 2009, @09:48PM (#26502639) Homepage

    SME Server is, by my observation, the best Windows network server distro I have yet seen. While I don't agree with many of the underlying philosophies, I cannot deny the results. It is STABLE. It is usable. It is very maintainable. Installation is brain dead simple.

    SME Server 8 is in beta at the moment but I recommend giving it a once-over. It is quite impressive. And did I mention it installs from a single CD?

    • by Kamokazi (1080091) on Saturday January 17 2009, @09:53PM (#26502667)

      And did I mention it installs from a single CD?

      Impressive. I'm definately going to use this, as putting in a second disk is just way too much work.

      • Re:SME Server 8 (Score:5, Informative)

        by grcumb (781340) on Saturday January 17 2009, @11:33PM (#26503259) Homepage Journal

        I can second SME server. I've been using it for this role since it was E-Smith many years ago. It's a fantastic little distro for a lot of different reasons. Definitely good stuff.

        I worked for e-smith inc. (later purchased by Mitel Networks) on the team that developed for the SME Server distro.

        It's magic for small offices, no doubt. I work in developing countries now, and I find it especially useful in places with no in-house IT capacity. I can get file services, email, web and user management up and running in about 45 minutes.

        (I'm not going to link to any particular installations, because, well, slashdot has the capacity to swamp our entire nation's bandwidth.)

        BUT! SME Server doesn't have a built-in AD capability. It will act as an excellent small network domain controller. Its user and group management is simplicity done right. But that's not Active Directory per se.

        If you want an actual AD roll-out, you'll have to layer it on top of the server's existing capabilities. Note that this is not at all impossible - SME Server can run just about everything CentOS runs with little or no fuss or bother.

        To sum up - SME Server would be a great platform for schools to build on - it's low-maintenance, robust and simple enough that even a Windows admin can't complain. But you need to roll part of the solution on your own. Of course, you were going to do that anyway. So definitely look at SME Server. 8^)

  • Local resources (Score:4, Interesting)

    by James Youngman (3732) on Saturday January 17 2009, @09:58PM (#26502689) Homepage

    Try talking to Tim Fletcher at Parrswood.

  • hate to say it... (Score:5, Interesting)

    by johnjones (14274) on Saturday January 17 2009, @09:58PM (#26502691) Homepage Journal

    but the first thing to do is look at how these have been deployed

    I dont see anyone with production systems on a large domain using anthing other than redhat directory or Novell eDirectory

    I see some custom OpenLDAP servers scale really well but thats about it

    so given your choice above I would go for Fedora Directory Server and hack

    if the choice was mine I would spend a little money and get the Novell eDirectory

    regards

    John Jones

    http://www.johnjones.me.uk - email and digital communication [johnjones.me.uk]

    • Re:hate to say it... (Score:5, Informative)

      by Korgan (101803) on Saturday January 17 2009, @10:26PM (#26502865) Homepage
      I agree... I had a similar issue at a school a few years back. Windows + Mac clients on the network. Rather than try to run two directories, we just used Novell eDirectory with (then available) Novell dirXML which allowed all the clients to use a single directory without realising they weren't native Active Directory or OpenDirectory platforms they were talking to. It saved a lot of effort down the line and proved extremely scalable. Also had the benefit of allowing the network to integrate other platforms in the future without much effort if the school wanted to. I'm sure there are plenty of great FOSS solutions out there, but eDirectory make it so much easier and reduced the cost of implementation significantly, even taking into account licensing costs. Sometimes you do just have to weigh up all the angles.
      • Re:hate to say it... (Score:4, Interesting)

        by Shuntros (1059306) on Sunday January 18 2009, @03:51AM (#26504389)
        Not even any need for IDM any more... The latest Linux offering, Open Enterprise Server 2 (Support Pack 1) has Domain Services for Windoze. No more Novell Client, no more NCP. The backend is still Linux, NSS and eDirectory, but with full and seamless AD emulation. Administer it with MMC, the lot. The only time you'll realise you're not working on a Windoze server is when you right click on a DC and look at the properties to find it's an OES2 box. Worth looking into...

        Otherwise there are numerous guides on the web as to how one configures Samba to use OpenLDAP as its authentication source, which makes mass admin of users a piece of cake.

        Use the 90 day trial of Novell Identity Manager, plug it into your existing infrastructure and you can even migrate passwords across to your splendid new FOSS solution. Do it right and the lusers won't notice a thing!

        I used to consult on such projects, but eventually gave in, took the money and ascended to management. Kinda miss it sometimes.
  • by dbIII (701233) on Saturday January 17 2009, @09:58PM (#26502695)
    And there are plenty of other inplementations of LDAP around.

    The story goes around that an infamous Australian telecommunications company wanted to put 80,000 people on a single Windows NT domain which put it well past the 16bit limit of users - and thus the active directory project started.

  • That depends...... (Score:5, Interesting)

    by ogdenk (712300) on Saturday January 17 2009, @10:02PM (#26502717)

    I'm a network admin for a tech college here in the states. We really use the hell out of group policy. We use an AD server for managing the directory and UNIX (FreeBSD mostly) boxes for handling everything else. The UNIX boxes act as member servers in the domain.

    Unfortunately there's nothing that really supports things like group policy and the like for Windows but well..... Windows Server.

    Samba4 is supposed to change this but it may be a while before it's ready for widespread use.

    In a school environment, you really want the Group Policy and automated software deployment features. Unfortunately, due to the closed nature of Windows, Windows Server is the only product capable of pulling off managing windows desktops well. You can hand-create policy files for machines but it's a pain in the ass and hard to maintain in the long run. Samba3 can act like an NT4 PDC if you wanted to do this though.

    This is rapidly changing. If I were you, I'd deploy Linux or BSD for everything BUT the directory servers and then migrate when Samba4 is ready for prime time.

    Students are great at f**king up machines, group policy is almost a must.

    If you don't need centralized management of the desktops themselves, just the users and groups, etc, then there are several solutions that would work well. In a school though, I really recommend either dumping PC's entirely and go with OSX on the desktop and OSX Server or sticking with AD for directory services.

    Don't even start with the flames. Linux and BSD are awesome but until you can run Photoshop, Indesign, etc that the syllabii for certain classes call for in a supported fashion, it's NOT going to happen. OSX happens to be a UNIX with good commercial desktop apps that aren't half-assed and it's semi-open.

      • by ogdenk (712300) on Saturday January 17 2009, @11:21PM (#26503203)

        It works OK for older versions of Photoshop, but if your going to go through the effort of running Photoshop in a dodgy reimplementation of the Win32 API, why not just run Windows? You'll get screwed everytime a new version of photoshop comes out that uses Win32 calls in a weird fashion.

        A better idea would be a massive campaign to promote a port of Photoshop to GTK or QT. Microsoft will make damn sure that Win32 is a moving target if any massive movement to use WINE is successful.

        The mac version of Photoshop is the better version IMHO anyway despite the lack of a true 64-bit port due to Adobe's laziness rewriting using Cocoa instead of Carbon. The MDI interface in the Windows version sucks, especially if you use multiple monitors and want to run other applications at the same time.

        If your going to run non-native apps, it's usually better to just say "screw it" and run those apps in the native environment.

        Really, I've gone through this fight trying to ditch Windows in an educational environment. You meet stiff resistance from all angles, including the vendors. I've eliminated it where I can but in the end, to ensure a good bullet-proof computing environment where Windows on the desktop in necessary for certain software products, group policy and automated software deployment is a MUST, not a WANT.

        In most corporate environments, I've ditched Windows with good success but in a school, things are a bit different. Especially a tech school where our job is to teach people products to get them a job. Our goal is not to "create the thinkers of tomorrow".

        We HAVE to have windows desktops. manageable Group policy and automated deployment are not available in other directory environments. You can't easily lock down Windows desktops centrally with other directory environments.

        If you have other solutions, prove me wrong so I can use them as ammo to ditch Windows directory servers here. REAL solutions that are as easy to manage for other less-skilled folks I have dealing with daily problems.

  • by Whizzmo2 (654390) on Saturday January 17 2009, @10:04PM (#26502727)
    Active Directory is mature, well-understood and well-supported. MS will answer the phone at 3:00 am when you call. While FOSS alternatives have come a long way, many are still under heavy active (ha, ha) development.

    Questions you should be asking yourself:
    • Who will maintain this when I'm gone?
    • Does this solution offer 24/7/365 phone support? (If you don't have a phone support contract, MS will usually charge you $250 if the issue is your fault, and $0 if the issue is a bug in their software. (IANA MS rep, YMMV))

    One more question: Why not just combine the two AD forests into one tree, with the student account domain as a child domain of the teachers' domain? (There are many other arrangements here that may better fit your needs.)


    --Whizzmo

    • DoD uses RHDS (FDS) (Score:4, Interesting)

      by xzvf (924443) on Saturday January 17 2009, @10:52PM (#26503033)
      I've seen RHDS (paid support version of FDS, but basically the same code) scale to millions of users. I've had a clustered pair running on blades handling 250K records easily. AD doesn't scale as well, requires tons of supporting software and locks you in to a funky LDAP-like format. If you want to move from RHDS to Novell, or OpenLDAP or even AD all you have to do is dump to ldif. Try going from AD to anything else without a great deal of pain.
    • Re: (Score:3, Interesting)

      by Zak3056 (69287)

      One more question: Why not just combine the two AD forests into one tree, with the student account domain as a child domain of the teachers' domain?

      In the summary, the poster mentioned wanting to reduce the number of physical servers from two to one. There's no way to do that with active directory (unless you virtualize) because each DC can only handle a single domain. Personally, I think the server count just for DCs is a big problem with the design of active directory. If you had two separate but relat

    • Red Hat offers 24x7 support for Red Hat Enterprise Directory. I'm pretty sure Novell has a similar product for SuSE that they offer 24x7 support on.

      It's not like your only choice for 24x7 support is Microsoft.

  • by wmute (29403) on Saturday January 17 2009, @10:06PM (#26502741)

    I don't often recommend SUN products with the exception of Solaris but Sun Java System Directory Server Enterprise Edition has actually proven to be a very stable solution. I don't believe its open source but I believe it is free. There is also an identity synchronization tool that allows you to sync your LDAP to AD servers if needed. Handles multimaster replication between however many nodes flawlessly with very good performance in my experience. It'll run on Windows,Linux, or of course Solaris.

    Good luck, LDAP is a pain in the ass ;)

  • Samba4 (Score:4, Informative)

    by obi (118631) on Saturday January 17 2009, @10:16PM (#26502811)
    Maybe not exactly the answer you're looking for, seeing as Samba4 is not out yet; however samba4 includes, among other things:

    * Internal LDAP server, with AD semantics
    * Internal Kerberos server, including PAC support

    You can, but don't have to hook it up to an external LDAP server. You can use MMC consoles to manage it. They're even building real Outlook compatible Exchange functionality on top of it (see openchange.org). Not that I'd ever want to run Outlook though.
  • by La Camiseta (59684) <nclayton@daftwazzock.com> on Saturday January 17 2009, @10:23PM (#26502847) Homepage Journal

    It may not be opensourced yet, but Sun has released almost their entire enterprise stack for free for anyone to use, including their DSEE [sun.com], with unlimited entries. It can synchronize with AD, and they have a good deployment planning guide [sun.com] for synchronizing with AD and there are guides all over the place [linuxjournal.com] regarding authenticating Windows off of LDAP servers.

  • Single computer? (Score:4, Insightful)

    by daybot (911557) * on Saturday January 17 2009, @10:27PM (#26502873)

    ...we'd like to be able to replace the two aging AD servers with a single, more powerful Linux server

    Whichever system you end up using, I strongly discourage building your network around a single server.

  • by realmolo (574068) on Saturday January 17 2009, @10:31PM (#26502907)

    I've messed with the so-called "Active Directory replacements". They all suck.

    The fact is, if you are using Windows clients, Active Directory works, it's simple, and you'd be fucking CRAZY to try to use anything else. Save yourself some pain, and blow $1000 (pounds, whatever) on Server 2003 or 2008.

    Seriously. You don't want to do this. It's a fucking nightmare to try to support a Windows domain without a real, genuine Microsoft domain controller.

    Did I mention this is a bad idea?

    • by Shados (741919) on Saturday January 17 2009, @10:37PM (#26502951)

      I love Active Directory, but just a little amusing anecdote... The company I'm working for is a 100% Windows shop across the board, has desktops in the 6 figures, yet does NOT use Active Directory...

      Their "forests" connect for business reasons to the domains of all of their clients, which makes the machines/accounts in the domain hit the millions...so well, to make that work better, they wrote their own "Active Directory" from scratch...its still running on Windows server, but its not an actual Active Directory(tm) kindda thing.

      But yeah, replacing AD for the sake of replacing it, is retarded. Windows Server isn't even that expensive, and for smaller companies, you can get Small Business Server, which is really, really cheap for what it provides.

    • by bertok (226922) on Sunday January 18 2009, @12:05AM (#26503457)

      I can second this.

      The $1,000 cost saving on the license (or possibly less for an educational license) is absolutely NOT worth it. Don't drink the FOSS koolaid, MS Active Directory is stable and scales. I've seen 1 million account domains runs fine on a couple of pretty average boxes. Your tiny little education environment will work fine on anything. There are netbooks that could handle the load for a "large" school environment.

      If you MUST have a single physical Linux server (why?), then just run up a MS Windows based AD controller in a virtual machine. Your problems are then solved, and you won't be chasing down bizarre compatibility issues at 7pm on a Friday because some MS patch or Samba patch didn't like each other.

      Not to mention that with ANY domain technology, single servers are just insane. Patching single-server domains is a nightmare, while you can pretty much arbitrarily turn off AD domain controllers at any time if you have two set up correctly. If physical hardware is too expensive, again, virtual machines are your friend.

      Also, as others have pointed out, multiple domains just cause a maintenance headache, and do not add significant security. The access control lists in AD are very fine grained, and allow total lockdown, down to the attribute/object level.

      As a case in point, I've build ASP style AD/Exchange solutions where the client companies could see their own users, global address lists, etc... but weren't even aware of any other clients or users. This is well documented and supported. Lots of Exchange email hosting companies do this, or more paranoid organizations, such as education, where you don't want your students sending emails to staff mailing lists, or calling the hot female teacher's mobile phone at 3 am in the morning.

  • by catmistake (814204) on Saturday January 17 2009, @10:33PM (#26502913) Journal

    I'm not sure I understand the point... I mean I hate Windows as much as the next *nix-lovr, but if your network is a slew of Winboxen... why make a headache for yourself? Active Directory is pretty well received, even as a proprietary LDAP implementation... will a FOSS replacement really be worth the cost savings? If most of the machines to be managed are Windows, I'd use AD for them. If its a mixed network with mostly something else, then I'd attempt to shoehorn the management of the Winboxes with whatever implementation was easiest for the majority of the machines (i.e. if 200 OS X machines & 40 Winbox, I'd use Open Directory... if 90 debian & 15 winbox, likely OpenLDAP, etc.)

    You don't hate AD as much as you think you do... do what is easiest... if AD is already deployed, its probably easiest).

  • Big install (Score:4, Informative)

    by nighty5 (615965) on Sunday January 18 2009, @05:05AM (#26504671)

    I've worked on very large directory deployments.

    10 million user accounts.

    We were using Novell e-Directory for the authority user database and AD downstream via DirXML for compatibility/legacy reasons.

    Remember, Novell basically wrote the book on directory services. Microsoft just copied their implementation.

    You can use ZENworks to store Group Policy objects but it will take much more than a Slashdot article to explain these concepts.

    The beauty of eDirectory is that Novell have agents for basically every platform that is worth a damn, try that natively on Windows.

    When you're dealing with something as critical as a central directory you don't want to mess about. If you have to throw some money at it to ensure some accountability and support then do it. Windows AD works as advertised, but it only works with Windows - you're on your own with anything else.

    There is third party companies that have written software that bridge the gap to manage UNIX systems, users, applications, policy which from what I've seen works pretty well.

    At the end of the day it comes down to understanding your environment, budget constraints, support, IT strategy, applications, business/IT partners.

    Oh yeah one more thing, this big install is for an education body.

  • by daveewart (66895) on Sunday January 18 2009, @06:11AM (#26504961)

    Just to throw what I use into the mix, on a network of ~100 WinXP desktops:

    - Samba - acts as domain controller, triggers login scripts, maps drives etc. System Policy controlled using NTConfig.pol files in the 'netlogon' share, prepared using poledit.exe

    - OpenLDAP - authentication backend for Samba, groups/users for the Samba server (plus many other tasks which are unrelated to desktop usage);

    - WPKG - for software deployment, runs at each boot-up - really nice.

  • by Skrynesaver (994435) on Sunday January 18 2009, @07:36AM (#26505329) Homepage

    We have implemented a similar project in our local school.

    • Debian server
    • OpenLDAP
    • Samba
    • Edubuntu on the client machines
    • A combination of XP and LTSP to Edubuntu in the computer lab

    OpenLDAP takes a while to configure but it does work eventually. When new students are added to the school DB they are added to the system by a Perl script which generates entries automatically and mails the class tutor with their login details.

    Samba once set up works wonderfully for us.

    Best of luck and hope it works out well for you.

  • We already have this (Score:4, Interesting)

    by jimicus (737525) on Sunday January 18 2009, @08:30AM (#26505551) Homepage

    It can be done, but there's a few things you have to bear in mind:

    1. Lots of existing products (and this is becoming more common as the years go on) expect an AD-backed domain. Samba + (insert name of LDAP server here) currently can only emulate an NT4-type domain. Samba 4 claims to eliminate this issue but the last time I checked it wasn't even in beta. You'd be nuts to implement it in production at this stage. If your employer's been heavily into Windows for some time, don't be too surprised to find you need to replace quite a lot.

    2. Do you have a lot of policies pushed out through AD? (If you're a school, the answer should be "yes". Unless you like making work for yourself...) The closest equivalent is NT4- style policies - which aren't as flexible, don't offer as much and suitable precooked template files are becoming much harder to find.

    3. Do you use Exchange anywhere? Exchange doesn't have a directory of its own, relying heavily on AD. You'd have to replace it, and while there are lots of projects claiming to replace Exchange, few come anywhere close in the real world. Most of the projects seem to be driven by people who have heard of Exchange and had it described to them, but never actually used it much.

    4. Is your network heavily subnetted? AD doesn't really care about this because it uses DNS to find services it requires (such as the domain controllers). NT-4 type domains use broadcast packets, and can be a dog to get everything working properly where a lot of subnets are involved.

    5. The information stored in AD about who owns and has permissions over which files is stored as unique IDs ("SIDS"). As far as I know, there is no easy pre-cooked way to migrate these SIDs between AD and Samba. So you're going to have to be very careful at replicating this information in your shiny new LDAP-backed system otherwise who has access to which files is going to be thrown all over the place. If that means one pupil gets read-access to another pupils work, that's annoying. If that means all the students get write access to a file storing their grades, that goes out annoying and through the other side.

    Basically, if you already have a strong investment in Windows servers and associated licenses, this carries very high risk, will cost an inordinate amount of time and inevitably mean substantial upheaval for your end users. And (assuming you currently have AD running fairly nicely and you do a good job), you'll come out the other side with there being little or no perceivable benefit to anyone else.

    • Re:TCO (Score:5, Interesting)

      by erroneus (253617) on Saturday January 17 2009, @11:06PM (#26503135) Homepage

      I have set up four installations of SMEserver 7.x in the past 8 months into small businesses. I think I have put a collective 24 man hours into keeping those sites up. They stay up... keep going and going and going... and running Linux, I don't have nearly as much to worry about with critical worms running around and the like. Meanwhile, keeping up with my Microsoft AD network keeps my family fed and me employed full time. I am not complaining, I am just saying if TCO is largely factored by time/labor? SME server beats Microsoft hands down so far.

      Microsoft does not justifiably dominate the market. It simply dominates the way it does with all other things it does. MSIE is the best web browser, I suppose, as evidenced by its dominance as well..?