Slashdot Mirror


Directory Service Implementation From Scratch?

An anonymous reader writes "I work at a small but growing startup company. Currently, our directory and authentication information is scattered across many systems and wikis, and is becoming increasingly difficult to manage. We are looking at centralizing this information in a directory service to minimize administrative overhead as we continue to grow. The service must support basic directory searches, as well as user authentication for Linux and Windows hosts. Although we are primarily a Linux shop, there are a handful of Windows systems that will be on a Windows Active Directory domain. Most directory servers seem to support integration with other directory servers, however it seems like it may be easiest to just use Active Directory for everything. Are there any pitfalls with this approach? If you had the chance to redesign your enterprise directory service without regard for legacy services, how would you do it?"

149 comments

  1. Easy by ChadAmberg · · Score: 2, Informative

    Use AD.
    Even though folks will fuss and whine about AD being not pure LDAP, for all intents and purposes it is, and we've got lots of Linux and other *nix boxes using it for authentication. And remember, you can always extend AD for your custom applications easy enough. It's simple enough that MCSEs can run it.

    1. Re:Easy by fahrvergnugen · · Score: 3, Informative

      This. AD's management tools are brutally efficient and understandable. The newest versions of Samba+KB5 make it trivial to authenticate *nix systems against it and have fully integrated, cross-platform user & privilege management with consistent uid's/gid's across all hosts. Assuming you throw the right amount of resources at it (at least 2 AD servers per tree in the forest, per site), and take advantage of the DDNS services, you'll have a really scalable, easily managed infrastructure for years to come.

      --
      Even Jesus hates listening to Creed.
    2. Re:Easy by GPLDAN · · Score: 3, Informative

      Likewise, Centrify, Quest and others (Centrify especially) provide tools for all flavors of Linux, JBOSS Servers, Apache servers, and Oracle databases to all use AD for directory services. Centrify has tools for audit and command control that piggyback on restricted shell.

      It's hard to argue against AD - even in your situation where the Microsoft boxes comprise the minority of systems.

    3. Re:Easy by The+Yuckinator · · Score: 1

      If you do decide to go with an Active Directory, I found that using Winbind was an extremely easy way to have my Samba server authenticate my users from the AD. It was up and running in no time and it's been rock solid ever since.

      One thing to remember is to use Group Sharing when setting folder permissions on the *nix box. That was an easy one to overlook until users started asking why they couldn't open each others files!

    4. Re:Easy by Savage-Rabbit · · Score: 4, Insightful

      Use AD.
      Even though folks will fuss and whine about AD being not pure LDAP...

      You're not a developer, are you? Whether or not AD is a dream to work with depends heavily on what your job description is. If you are simply an administrator plugging random Windows or even Linux and *nix boxes into AD you might find it comparatively easy. If on the other hand you expect to have to develop custom applications of your own on non-Microsoft platforms that authenticate against AD or convert existing ones to use AD then it can be a painful experience to use AD. It's not an unsolvable problem mind you, just a really annoying one.

      ... It's simple enough that MCSEs can run it.

      So is RHDS / Fedora Directory Server. I knew exactly nothing about LDAP or directory servers when I got my first directory server related project years ago. I still I got the thing set up and running inside of a couple of hours. Even an MCSE should be able to manage setting it up, hardening it and administrating it in a very short period of time.

      --
      Only to idiots, are orders laws.
      -- Henning von Tresckow
    5. Re:Easy by Ralish · · Score: 2, Informative

      It's worth noting that Microsoft also has Services for Unix (applicable for Windows 2000 through Windows Server 2003) and Identity Management for Unix (applicable for Windows Vista through Windows Server 2008).

      While Unix boxes can authenticate to an Active Directory domain through the use of Samba and derivatives, the advantage of these services is that they can extend the LDAP schema with NIS attributes to provide native NIS authentication, and also, extend SMB sharing with NFS support to provide native NFS sharing. In both cases, the NIS/NFS support is fully integrated with the native Windows support, and data shared between the two; that is, Windows AD objects can be immediately used with NIS and NFS, they co-exist. I've personally found this a huge convenience as most Unix/Linux distros can authenticate to the domain out-of-the-box and with an absolute minimal amount of configuration, often during the initial installation without even having to dive into configuration files to get the basics done. With some extra work, you can also enable password synchronization in the Unix -> NIS direction and/or the Windows -> NIS direction through the use of a (closed-source) PAM module (the reason for this being that as far as the Unix boxes are concerned they are using NIS, but behind the scenes, it is fundamentally AD with a NIS front-end, and the intricacies of password management and the updating of are very different.)

      As admittedly distasteful as it is that Microsoft has an inherent competitive advantage here in that much of their implementation is proprietary and their competitors is not, leaving them free to support NIS/NFS but not necessarily the other way around, my experience is that they have done their implementation quite well. Word to the wise: I've had a FAR better experience with IDMU on Server 2008 than SFU for Server 2003. The former requires a separate download for SFU while the latter has IDMU included as part of the OS and can be installed at any time as an optional component alongside AD/SMB, either at initial installation of those components or as a future addition post-installation. The result is a tighter coupling of the respective services: it feels like communication between the Unix support division and the Windows tech division was far better for Server 2008; I had to spend many hours getting NIS/NFS to work on 2003, but had it up and working perfectly in under an hour on 2008. That being said, both can be made to work fine and will get the job done well, my experience is purely limited to ease of setup and initial impression on the polish and integration of each, functionality wise, they are both almost identical.

      Both are free of charge, provided of course you have a Windows licence, with IDMU effectively being a renamed and improved SFU.

    6. Re:Easy by Anonymous Coward · · Score: 1, Interesting

      The problem with AD is lock-in. Once you deploy AD, you will never be able to switch to another directory product, as Microsoft software dependency creep will ensure that no other product can operate as a drop-in replacement.

      If you only have a few Windows machines, use a standardized solution and live with loss of MS-specific functionality. If you deploy AD, you'll soon find yourself locked in, and the investment in MS-only technology will only keep growing.

    7. Re:Easy by ogrius · · Score: 3, Interesting

      The other thing you can consider is whether to split the directory services and the authentication.

      At my last job we did the following:

      - Use Windows AD for all windows machines
      - Use NIS for passwd, group, automounter maps... everything but authentication.
      - And then key the Linux machines to use Kerberos off the Active Directory

      Now if I was doing it again, I'd do the following:

      - Use Windows AD for all windows machines
      - Setup up a UNIX/Linux based Kerberos domain that "trusted" by the AD Kerberos
      - Use NIS, NIS+ or LDAP from Windows AD for directory services for UNIX/Linux

      - Setup all the UNIX/Linux machines on the UNIX/Linux Kerberos domain and have them use the windows domain for user authentication.

      The adavantage to this would be that once you have a valid ticket you can securely log into any of the machines. Plus then you could securely setup NFS v4.

      As for which NIS, NIS+ or LDAP to use, I haven't looked into recently.

      And why I would use two Kerberos domains is that the Windows AD says it should play nice with Linux machines and allow you at keys onto them. But the commands from Microsoft never worked. I used a simple utility from some consulting company that worked well, but it wasn't supported and there it seemed to be hitting some hard limits. Since I'd hate to wait for Microsoft to fix their setup, I'd use two domains but setup a trust between them.

    8. Re:Easy by BitZtream · · Score: 2, Informative

      I'd just like to point out that while you CAN use NIS with SFU and the like, unless its an old machine without Kerberos support and without NSS support, you really would want to use kerberos and nss_ldap to connect to an AD server with SFU installed. If you have old machines, sure, shoe horn them in with NIS, thats what its there for, but you should avoid it if possible, NIS is horribly insecure. The plus side of using kerberos is that no syncronization is required, AD will sync its kerberos server passwords on its own and you're not left worrying about things getting out of sync.

      A better combination on your unix machines is pam_krb5 and nss_ldap if your OS supports PAM and NSS. At the bare minimum, pam_krb5 is the best way to go so your AD servers do the authentication directly and can fully apply group policy to handle brute force prevention and password length/complexity requirements.

      I am interested to know what problems you have with SFU that IDMU didn't have. My only complaint with SFU so far is the way it assigns new UID/GIDs by default, seems to take highest + 1, which sucks since once I imported my unix accounts to AD, I now have a uid and gid of 65535, and the next one it wants to assign is 65536. Wish I could figure out a way to make it say 'find the next available one in this range'.

      Would mind you elaborating on what you like better about IDMU for me?

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    9. Re:Easy by wasabii · · Score: 1

      Wait. Problems like what? It supports LDAP and Kerberos. You can query it just fine.

    10. Re:Easy by Rysc · · Score: 2, Funny

      You can LDAP query AD like my moped can race in the Indy 500.

      --
      I want my Cowboyneal
    11. Re:Easy by Blakey+Rat · · Score: 1

      You're not a developer, are you? Whether or not AD is a dream to work with depends heavily on what your job description is. If you are simply an administrator plugging random Windows or even Linux and *nix boxes into AD you might find it comparatively easy. If on the other hand you expect to have to develop custom applications of your own on non-Microsoft platforms that authenticate against AD or convert existing ones to use AD then it can be a painful experience to use AD. It's not an unsolvable problem mind you, just a really annoying one.

      Unless you're a Windows developer, in which case you can just drag&drop the .net sign-on control into your project and you're done in 5 seconds.

    12. Re:Easy by wasabii · · Score: 3, Interesting

      Uh huh. So what's wrong with AD?

    13. Re:Easy by Anonymous Coward · · Score: 2, Insightful

      Authenticating against AD is hard? I didn't realize that, I mean, I've been writing apps that authenticate against kerberos since before AD existed, and since those same apps authenticate against ActiveDirectory the exact same way, I must have missed the hard part.

      Hard to authenticate against AD, WTF are you talking about? Do you know how it even works? If you're using some retarded fucking bind against ldap for verifying authentication to your apps? If you use the bind to allow the user to authenticate and authorize like a standard user to the ldap server thats one thing, but if you're pulling some bullshit like using an ldap auth to allow them into your webapp which stores everything in a mysql database than you need to be took out and shot. You use kerberos to authenticate and the directory to pull user DIRECTORY type information out of, you know, uid/gid/homedir/name/emailaddress. I highly expect that you don't understand what directories are for and how to properly use them.

      So lets even assume you're trying to be an idiot and do an auth using an ldap bind. Its different how? Because an out of the box server expects working SSL for authenticating? Considering openldaps utilities will bind to AD just as well as they will to an openldap server I think you might want to consider switching to a ldap library that doesn't suck ass. Try openldap as a start, it works flawlessly with ActiveDirectory.

      Are you bitching about Schema? I hope not, cause if your schema expectations are hard coded into the application than you're only going to work on ONE server type, since no one shares the same default schema for the same attributes.

      I'm not really sure what your problem was since you didn't specify, but you have to write a pretty shitty app if you have problems using ActiveDirectory server with it, and its a safe bet your apps will only work against one specific ldap schema if thats the case.

      I'm not sure how easy it is with RHDS, but installing AD is rather trivial if you can click 'Next' several times in a row and enter a little info in some text boxes. How well does kerberos work after an out of the box RHDS install? I wasn't aware that it included kerberos support? Kerberos is the PROPER way to authenticate clients you know, not binding to the server with clear text passwords.

      Don't get me wrong, I'm not knocking OpenLDAP, or any other implementation. I'm a big fan of OpenLDAP, but if you have a problem connecting and working with the ActiveDirectory LDAP service, you fucked up, likely not it. The only exception to this I can see is that you're doing something rather complex that has specific sorts of support or ADS doesn't implement (standard or otherwise) due to its obscurity. Either way, you're probably having issues working with servers other than AD. LDAP may be a standard, but so is HTML, no one has the perfect implementation.

      Stop hating, AD may be from MS, but its actually not shitty. Credit where credit is due.

    14. Re:Easy by Antique+Geekmeister · · Score: 2, Interesting

      I know quie a lot about LDAP, Kerberos, DNS, DHCP, and database back ends. I find Active Directory's pitfalls to be quite painful. (Its refusal to assign a hostname for broadcast or netmask addresses is just plain stupid.) And as you say, custom applications are difficult. (Try deploying djbdns for mail filtering of the dnsbl blacklist with Active Directory in place. Oh, dear, that was painful!!) But _everyone has clients that will work with it_, And if you need a bit of your own services, such as a local DNS zone or a better secured and scriptable DHCP setup, that can be deployed alongside itl. The big problem is whether you can actually secure it in a corporate environment: the fear of installing security patches, and unwillingness to deploy them in proper failover configuraiton or with the ability to test new setups, has made them a single point of failure in many environments. So deploy them cautiouslyl

    15. Re:Easy by fractoid · · Score: 3, Insightful

      At least part of the lock-in from Active Directory is the simple fact that it's a comprehensive system that can be managed by someone with very little experience. You ever tried teaching yourself in a week of on-the-job "how the f**k do I do this" how to run a mid-sized office network? I have. Using Active Directory and with no prior sysadmin experience it was possible, if a little rough. Trying to do the same thing using open source software would probably have taken me six weeks rather than six hours to start getting results. And even then, I'd have spent weeks looking up obscure config problems and installation how-tos.

      To someone equally fluent in both OS and MS systems, sure, an open source solution is fine, probably even superior. But the business case for using MS software is undeniable.

      --
      Rampant carbon sequestration destroyed the Dinosaurs' tropical paradise. I'm here to help repair the damage.
    16. Re:Easy by disgruntleddutch · · Score: 1

      Out of the three you recommended, only Likewise is easily available since its basic product is open source. The other two I'd imagine you would have to endure an exhaustive sales process.

    17. Re:Easy by Ralish · · Score: 1

      Functionality wise my understanding is that they are effectively equivalent. My only reason for preferencing IDMU was that my experience has been it is better integrated into the overall OS, and possibly as a result, its installation and configuration was smoother.

      Last time I used SFU was many years ago, but effectively I had some serious trouble installing it on a Windows Server 2003 box that was only setup weeks ago and was for all good and intent vanilla. It culminated in having to do several modifications to the AD LDAP through ADSI Edit, by adding/tweaking numerous attributes, in order to get things moving. I did find some useful KB articles to MS's credit, but some forum trawling was required, and it overall resulted in probably about a day of what should have been very unnecessary fiddling to get it to work. Some other times I've had to install and configure SFU I've also run into minor configuration oddities of less significance. That, and having IDMU as a base component of the OS is convenient, it's readily available for installation at any given time and also patched if required alongside any other OS component with Windows Update.

      I've never had any such issues with IDMU, it's all worked a dream for me since initial installations, but then again, it's entirely possible that my SFU experiences were just some bad luck, and this is all anecdotal. Overall, I think they are both good products, and my IDMU preference is primarily just from a slightly smoother experience of its usage.

      Also, sorry for the terribly slow reply!

  2. AD -- de facto standard by Anonymous Coward · · Score: 0

    Depending on your company's skillset, having AD as your core directory may be your best choice. The advantage is that its one point of access, one set of usernames and passwords for users, and so on.

    AD in general also has a lot of management tools and knowledge available.

    Of course, this isn't to say that OpenLDAP or other directory solutions are bad. Its just that in general, most vendors will bend over backwards to give Active Directory support for their products.

  3. shot in the dark by Anonymous Coward · · Score: 0

    i took a class once where we used LDAP (Lightweight Directory Access Protocol) and then used Ubuntu and VMware to setup multiple Ubuntu/Win2k/WinServer2k3 all with roaming profiles and active directories.

    it worked great and was a really fun class also.

  4. Just go with AD by anom · · Score: 4, Informative

    I really hate to say it, but I think Active Directory is most definitely the way to go. No other directory systems allows for as simple administration of a large number of windows computers, your windows clients will "Just Work" with it, and it isn't difficult to make windows boxes, wikis, etc authenticate against it (I've had to do this many times...).

    Active directory lets you access it via LDAP which a lot of software packages understand (a note here, structure the LDAP binds such that the username is in the form of SAMACCOUNTNAME@WINDOWSDOMAINFQDN, this has worked almost every time for me).

    The free version of Likewise Open will make it very easy for the linux boxes themselves to authenticate against AD without having to mess with any pam conf yourself, and if you pay them money you can even deploy GP's to linux boxes (disclaimer, I've never tried this part).

    In sum, while I hate to say it, you can make almost any client solution work with AD either directly or via LDAP or Kerberos, and it's the best possible solution for windows client management, so I'd go with that.

    Just my .02

    1. Re:Just go with AD by Seranfall · · Score: 1

      I completely agree. If your a full linux shop and money for server software is an issue than OpenLDAP or something similar may be a good solution. However, with windows clients in the mix you should definitely stick with AD. Just about anything will interface with AD in some manner. Also there is far far greater support for AD then your going to find with any of the other directory services out there right now.

    2. Re:Just go with AD by dpilot · · Score: 5, Insightful

      I've looked into LDAP/Kerberos authentication for my home LAN several times, and basically given up every time. There appears to be a software mix that will do the job, but each piece needs to be configured *just so* in order to work with all of the others. Furthermore, there appear to be a few people out there who really know their stuff, and to them I'll bet this is all easy.

      But it appears that those people all work for companies that sell Directory Server services. They're quite willing to be helpful on specific questions, but the overall integration is still not well documented, from what I can see. As near as I can tell, it's like the Bad Old Unix days, when everyone wanted to be The Solution - for a price. I haven't really looked at the RedHat Directory server or similar products, wishing to use the pieces, and wishing for integration documentation.

      Why this on a home LAN? For some odd reason, I've tried to run my LAN on industrial-strength software - BIND, ISC DHCP, etc. I'm used to single-sign-in at work, and would really like it at home, given that $HOME is shared over NFSv4. I also usually am too busy doing other things, which is another reason why there's been no progress in years.

      Maybe an integrated OSS Directory Server will make it into my house, but there's no way I'm footing the bill it would take to add AD, here.

      --
      The living have better things to do than to continue hating the dead.
    3. Re:Just go with AD by Anonymous Coward · · Score: 1, Interesting

      The main pitfall is to be careful about the MS licensing rules for AD. You essentially need a CAL for EVERY USER in your directory, or some of the crazy very expensive CALs. This is no big deal if you already have CALs, but it would be insane to use AD for something where the users accessing the server are not employees of your company. The licensing costs would become crazy when compared with something open source.

    4. Re:Just go with AD by 222 · · Score: 1

      This claim smells funny to me. Can you provide any reference to per LDAP user CAL licensing?

    5. Re:Just go with AD by BitHive · · Score: 1

      Try using Debian. I followed the documentation I could find via Google and had Kerberos/LDAP working in an afternoon.

    6. Re:Just go with AD by BitZtream · · Score: 1

      MS is pretty clear, any connection to a Windows server requires a CAL, period.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    7. Re:Just go with AD by BitZtream · · Score: 1

      Let me restate. Any client that makes a connection to a Windows server requires a CAL to access the server. Its not per connection in most cases (is in some though!), but if you're connecting to a Windows server, you need a CAL to account for it somewhere.

      Windows server web edition has some allowances to keep the CAL count lower, but since it doesn't run AD its not part of the discussion here.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    8. Re:Just go with AD by anom · · Score: 1

      What linux distro do you use?

      Try Likewise Open. I know it works for more, but for ubuntu, it's this easy: https://help.ubuntu.com/8.04/serverguide/C/likewise-open.html

      It's seriously 2 commands to join it to a windows domain.

    9. Re:Just go with AD by FreelanceWizard · · Score: 2, Informative

      The licensing for Windows Server doesn't necessarily have anything to do with the size of the directory.

      With Server 2008, you have a matrix of options. You can choose whether you want to count licenses by computers or users by the type of CAL you buy (Device or User). Then, you can choose whether you want to license the number of simultaneous connections to a single server (per-server) or by the number of discrete users or devices that have accessed any server (per-user or per-device). Clearly, if you only have one server and it's only being used for authentication, per-server licensing with device CALs makes sense. You only need to purchase sufficient CALs to cover number of computers that will simultaneously authenticate. Another option would be to go with user CALs, but it's probably easier to calculate how many computers will be simultaneously authenticating against or querying the directory. Once you get multiple servers, however, per-server licensing quickly gets expensive. For example, if you have three shifts of 10 users and go with 10 device CALs, per-server licensing will require 30 CALs if you have 3 servers. In per-device mode, however, it only requires 10 CALs. So, in a large deployment with multiple servers, you'll typically go with per-device licensing with device CALs (if users share computers) or per-user licensing with user CALs (if users use multiple computers or all have their own computers). This is because per-device/per-user mode doesn't license the servers; the CAL is good for connecting to any server in your network. In practice, only in the case of User CALs with per-user licensing do you need a number of CALs equal to the number of active users in your directory. You still don't necessarily need one license per user, however, as you can assign CALs away from deactivated users, move CALs from users on leave to temporary users, and use one CAL for a single named user who happens to use multiple accounts.

      Check out Microsoft's Windows Server 2008 Licensing FAQ and Microsoft's Windows Server 2008 CAL overview page.

      --
      The Freelance Wizard
    10. Re:Just go with AD by CAIMLAS · · Score: 1

      It's been a while since I've looked at Windows licensing, and they do tend to change things from version to version, but I seem to recall that MS offers two client/connection licensing models (which are mixable): per-server or per-client. At the least, Windows Server only tracks licenses by concurrent connections to the server in per-user licensing. They might also offer a per-domain model.

      It's all pretty convoluted, I'll give you that.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    11. Re:Just go with AD by lacourem · · Score: 1

      + 1 on the Likewise suggestion. We pay them money and it really is worth the cost. Our AD admin is not a linux guy, and the Likewise tool snaps right into the MMC AD Console. This allowed him to get up to speed right away in an environment he was already comfortable with.

      --
      when logic fails, bullshit prevails
  5. Novell.......no seriously by perotbot · · Score: 4, Insightful

    use Novell's eDirectory, it may cost, but they have a product called "Identity Manager" which allows you to interconnect many different systems to a central ID vault. Password changes are transparent, and management is extremely easy. Best of all it runs on Linux. You don't need the "netware" component to use it. It scales like a dream and is very robust

    --
    ~corporate tool, but employed~
    1. Re:Novell.......no seriously by Anonymous Coward · · Score: 3, Informative

      +1 On Novell's IDM, it is *hands downs* the best Directory Services product out there.

      Though if you don't want to spend the bucks for it (it's worth it, seriously), I would recommend just using AD.

      As others have said, AD just sort of works, and everything can interact with it.
      I'd personally recommend it over SAMBA/OpenLDAP, as I've beat my head against the wall one too many times trying to use SAMBA/OpenLDAP as a Windows Domain. It's just not worth the time or frustration.

    2. Re:Novell.......no seriously by JSG · · Score: 3, Interesting

      and +1 for eDir from me as well.

      I have a blackbelt in directory management (AD, eDir and OpenLDAP)

      eDirectory has a nasty habit of being virtually unkillable and is by far and away the most flexible. With 8.8 you can run multiple trees on a host (in MS speak think of multiple domains on a single DC) No waste of a system to just do DC duties for one bit of your system.

      If you want the most powerfull directory option then use eDir as your metadirectory and then use IDM to populate other directories and applications as needed (eg MySQL, Oracle, text files, Exchange, GroupWise, NIS, etc ad nauseam)

      IDM is phenomenally powerfull, the iManager plugin is as a shining example of how to do a webapp or use Designer, an Eclipse based thingie is great too and has a huge feature set -even churns out your documentation.

      AD doesn't really cut it as a LDAP system - compare the rich schema of eDir to AD for example, also you can put replicas where ever you want (it is not DNS federated unless you want it to be)

      Steep learning curve but really well worth it.

      Grab an eval of Open Enterprise Server 2 (SuSE based), try it out properly, wedge in Identity Manager and you'll be spending cash on the product.

    3. Re:Novell.......no seriously by Techman83 · · Score: 1

      Yeah we administer AD using IDM. Everything gets done in eDir, which is much faster and less frustrating, then it flows onto AD automatically.

      --
      # cat /dev/mem | strings | grep -i cat
      Damn, my RAM is full of cats. MEOW!!
    4. Re:Novell.......no seriously by Rysc · · Score: 1

      Second!

      If you're not going with a F/OSS DS, eDirectory is the product to buy. By itself it's great, with Novell's other tools it's even better. And it supports Windows clients, so no trouble there. If you're thinking "A directory server is a directory server, AD is good enough"--DON'T think this. There is such as thing as better and eDir is it, vs. AD or OLDAP.

      --
      I want my Cowboyneal
  6. quit by docbrody · · Score: 0, Flamebait

    quit your job and let someone else deal with it

  7. My choices by xaoslaad · · Score: 3, Informative

    1.) RHDS - Red Hat Directory Server
    2.) Active Directory
    3.) OpenLDAP
    4.) Novell eDirectory (personally my least favorite)

    I would probably jump for RHDS first, then AD. The only problem with OpenLDAP might be getting a similar level of support to the first two. Support is exactly why I would never choose eDirectory. I have (personally) had abysmal experiences dealing with Novell. Others may disagree though. And of course there probably are other options.

    1. Re:My choices by gbjbaanb · · Score: 2, Insightful

      would it not be possible to configure a single server, that proxies or delegates queries to all the other servers he has set up.

      I asked about proxying openLDAP to AD, so I could have users in both, yet query them all just by asking the openLDAP server. If this was possible for multiple delegated servers, then this is the approach I'd take - start with 1+all the old ones, then gradually migrate them into just a few servers.

      and yes, I'd probably go for RHDS, Active Directory seems to be one of those products that starts off with just a windows 2008 server, then requires more CALS, then needs a SQL Server licence, and then really expensive backup software, and then needs all printers to be connected to it, and then needs Sharepoint adding to the mix, and then... you get the idea :)

    2. Re:My choices by IMightB · · Score: 1, Informative

      SunDS, FDS and Novell eDirectory are all based on Netscapes DS,

      FDS and RHDS are the direct descendants of Netscape DS, which was purchased by AOL and then by Redhat who then Open Sourced it.

    3. Re:My choices by d235j · · Score: 1

      Yes, I agree that RHDS/FDS aka. 389 directory server (directory.fedoraproject.org) is probably the way to go.

    4. Re:My choices by Clover_Kicker · · Score: 2, Informative

      SunDS, FDS and Novell eDirectory are all based on Netscapes DS,

      Uh, eDirectory is the current name for NDS, which came out with Netware 4 in 1993, before Netscape was even a company.

    5. Re:My choices by JSG · · Score: 1

      >>4.) Novell eDirectory (personally my least favorite)

      Why? Have you actually used it. How does it compare to your other options?

    6. Re:My choices by JSG · · Score: 1

      eDirectory AKA NDS was based on X400 as I recall. I remember using it in 1993, before Netscape was formed - "Netscape stock traded between 1995 and 2003" - Wikipedia

    7. Re:My choices by kylegordon · · Score: 1

      SunDS, FDS and Novell eDirectory are all based on Netscapes DS

      Timeline issues notwithstanding, I think you're confusing Novell Directory Services and Netscape Directory Services. The former came before the latter, although they both have the same acronym.

    8. Re:My choices by Anonymous Coward · · Score: 1, Informative

      use freeipa! it's the community version of redhat enterprise ipa (identity, policy, audit) and it offers a very complete
      solution for your needs. and it's open... from the site:

      FreeIPA (so far) is an integrated solution combining

              * Linux (currently Fedora)
              * Fedora Directory Server
              * MIT Kerberos
              * NTP
              * DNS
              * Web and commandline provisioning and administration tools

    9. Re:My choices by Tmack · · Score: 1

      would it not be possible to configure a single server, that proxies or delegates queries to all the other servers he has set up.

      I asked about proxying openLDAP to AD, so I could have users in both, yet query them all just by asking the openLDAP server. If this was possible for multiple delegated servers, then this is the approach I'd take - start with 1+all the old ones, then gradually migrate them into just a few servers.

      and yes, I'd probably go for RHDS, Active Directory seems to be one of those products that starts off with just a windows 2008 server, then requires more CALS, then needs a SQL Server licence, and then really expensive backup software, and then needs all printers to be connected to it, and then needs Sharepoint adding to the mix, and then... you get the idea :)

      OpenLDAP has a few backend plugins that let you do crazy stuff like that, more specifically, the LDAP backend lets you run a proxy to AD (or any other directory that can talk LDAP). Set that up, map a few attribs or get the AD schema on OpenLDAP, and you should be good to go. You can also sync to AD, so if your link to it goes away the data is still local. OpenLDAP has come a long long way in replication, and it works quite well now, much better than even just a year ago. Set one server up with your data, tell it its a syncprovider, then just configure another one to use it as its data source and it will pull down the whole tree (or just the parts you specify) from scratch.

      -T

      --
      Support TBI Research: http://www.raisinhope.org
    10. Re:My choices by xaoslaad · · Score: 1

      It's not the product that I necessarily have a problem with. I've had bad experiences with Novell support, as I said in my original post. I also said others (probably you) may disagree.
      My experience with Novell have tended to yield the result that their software can and does work, but you can't rely on their phone support for anything. I've actually had them tell me a file on a sles server wasn't part of their distribution, which I countered with a couple rpm commands; to me that's just a sad thing to dispute when you're looking for an answer to something that's already bad enough to have prompted you to call phone support...

  8. A side benefit of Active Directory: by lazyforker · · Score: 2, Insightful

    Almost any LDAP Directory service will work for your directory needs. I think the real question should be "is the cost of the Windows Server 2008+CALs outweighed by the extra features I get?". If you're considering Active Directory then you should know that as a bare minimum you will need two Windows Servers. But you will get GPOs, centralized security (domain users and groups) etc. Do you need all that? If you're a startup then spend money on getting your business up and running, not on keeping Ballmer's office stocked with chairs. So stick with any of the worthy Linux-based. FOSS solutions - I have limited experience with them so I'll leave others to comment on which is "best". (Disclaimer: I deployed AD to my company - they're a 10,000 employee global company that was running Windows NT everywhere when I joined.)

    1. Re:A side benefit of Active Directory: by jaseuk · · Score: 1

      I'd question the logic in apply fruity open source solutions to a startup. A Microsoft Small Business Server is relatively cheap (£800 for first 5 CALs, then around £60 for additional users) and provides pretty much everything you'd need for e-mail, groupware and server functions. It can be supported by any competent local computer shop.

      Open source for a startup or small business pretty much guarantees that you'll need a highly skilled systems administrator from the outset. When you are a startup you need to concentrate on developing your business, not on maintaining complex IT systems.

      Jason

  9. Twilight Zone? by cowdung · · Score: 5, Funny

    Wow.. did I wake up in another dimension? Are slashdotters actually recommending MS products today??

    1. Re:Twilight Zone? by alen · · Score: 2, Interesting

      AD and OpenLDAP are like first cousins.

      big difference is Open LDAP you have to create your schema. with AD Microsoft did the work for you and upgrading is easy. if you first deployed AD with Windows 2000, upgrading to later versions of windows and AD apps is easy. MS ships ldif files with any of their apps that extend AD with new classes and objects that do this automatically. saves you a lot of time.

    2. Re:Twilight Zone? by Anonymous Coward · · Score: 0

      No, they are saying MS Windows only works the MS way, and it's easier for Linux to adapt to it, than the other way around.

    3. Re:Twilight Zone? by afidel · · Score: 2, Informative

      AD also does multi-master replication out of the box and it's been scale tested to the very largest of implementations.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    4. Re:Twilight Zone? by BitZtream · · Score: 4, Insightful

      Not really, you can make OpenLDAP have the required schema for windows.

      Of course, then you need to add a kerberos server since OpenLDAP doesn't do that.

      Then you need to add Samba so you can get the RPC calls that go along with Windows Clients.

      Its not that it can't be done, its that its just FAR easier and more reliable to just pay the money for Windows.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    5. Re:Twilight Zone? by sloanster · · Score: 3, Insightful

      Wow.. did I wake up in another dimension? Are slashdotters actually recommending MS products today??

      But of course - did you not realize that the majority of slashdot readers are microsoft windows users?

    6. Re:Twilight Zone? by jdunham · · Score: 1

      but what about the majority of slashdot _writers_?

    7. Re:Twilight Zone? by serutan · · Score: 2, Funny

      Ohhhh Barnacles! It's Backwards Day!

    8. Re:Twilight Zone? by Zumbs · · Score: 1

      Just this day, a spaceship landed and from it walked an army of Bill Gates-drones. Each of them were a part of a large, but simple plan: Find a computer, hack a slashdot account, and good-mouth everything MS. However, some of them adabted to this brave new world, and wrote their praise with reluctance to veil their plans from the *nix'ers ... but they are out there, and if you get in their way

      --
      The truth may be out there, but lies are inside your head
    9. Re:Twilight Zone? by bar-agent · · Score: 1

      but what about the majority of slashdot _writers_?

      They don't use Microsoft or Linux. The monkeys all have Remington typewriters, and we feed them bananas, Jolt cola, and yesterday's pizza.

      --
      i'd hit it so hard, if you pulled me out you'd be the king of britain [bash.org]
  10. AD by Malenx · · Score: 2, Informative

    Microsoft has really done well with developing AD.

    It's just honestly the best product out there currently.

    1. Re:AD by DaveV1.0 · · Score: 0, Flamebait

      That sound you just heard were a thousand fanboys lighting their flamethrowers.

      --
      There is no "-1 offended" or "-1 you don't agree with me" mod options for a reason.
    2. Re:AD by JSG · · Score: 1

      Please describe your experiences with any other directory to reinforce your expertise.

    3. Re:AD by ckaminski · · Score: 1

      Yeah, but he's got a point. It really is best-of-breed. Frightening, no? In terms of interoperability, it wins hands down. Throw GPOs on top, and you have a compelling tool that the OSS movement just can't compete with (yet).

      Too bad it's $700 to get started.

    4. Re:AD by Rysc · · Score: 1

      You have got to be kidding.

      AD is best only if you mean it's easy for a monkey to do the initial setup. If you want robustness, scalability and maintainability you will find nearly everything else is better.

      --
      I want my Cowboyneal
  11. 389-ds by aichainz · · Score: 1

    aka fedora-ds has been very flexible and is able to provide SSO for many applications, from apps that support pam, to tacacs, apache, cvs etc. admittedly i havent gone so far as to auth a windows pc against it, but that doesnt mean it's necessarily a good idea to use AD and have linux auth against that. multi-master replication in 389 works great, and we even have a 3rd master who is on the other side of a wan-link.

  12. Support by Cyner · · Score: 3, Insightful

    You can configure a Samba server against LDAP and have everything authenticate agaist that. Your biggest pitfall is going to be finding support for the configuration. You have to consider "what if the IT Admin get's hit by a bus, who's going to support this configuration". With Active Directory you can flip open a phonebook and find a dozen local places that will support it; that's not the case with the Samba/LDAP configuration.

    --
    FreeBSD.org - The power to serve
    1. Re:Support by codepunk · · Score: 1

      No Linux support? What do you live in the middle of the Sudan?

      I live in one dinky little town and one phone call I would have a Linux Engineer on site
      in under 60 minutes.

      --


      Got Code?
    2. Re:Support by Majestix · · Score: 1

      Find someone to come in and tell you,

      "Ah, we can fix this. We'll just replace it with an MS AD server. Oh wait, you want to keep this? Why ever for?"

      Those are a dime a dozen. Well ok, considerably more than a dime. But they make themselves sound soooo wonderful...

      --
      --- I was far from home, and the spell of the Eastern sea was upon me. -Lovecraft-
    3. Re:Support by Cyner · · Score: 1

      I didn't say there was "no local support". I know of two local places that support a variety of linux configuration. I also know if two dozen local places that fiercely compete with each other for MS AD business. Just because you can get it doesn't mean that it makes business sense to do so.

      --
      FreeBSD.org - The power to serve
  13. Re:Stick with OpenLDAP ... by Anonymous Coward · · Score: 0

    Umm... AD uses LDAP....

  14. Try FreeIPA by fwittekind · · Score: 1

    http://www.freeipa.org/

  15. AD is what MS got very very very close to "Right" by IMightB · · Score: 1

    Ad is very nice, we use it for Auth in a mixed env as well. I work in QA, the way that I've actually got mine setup is ADS run by Corp, FDS run by QA. FDS has Pass Though Authentication turned on.

    You may want to checkout Fedora Directory Server and FreeIPA combo for linux/unix solutions

  16. Re:First Post :-) by Anonymous Coward · · Score: 0

    you have zero enterprise experience

  17. Start with SQL by unified_diff · · Score: 3, Interesting

    Yes, SQL. If you keep your raw data in SQL, it is easy to export data to any format you might need now or in the future. LDAP gets you a long way, but you will sooner or later end up with several apps that don't support it. The result is horrible password sync hacks, multiple passwords per user, etc.

    The idea is to put raw user info in SQL, including their clear-text password. Of course, lock down that SQL server like you've never locked down anything before! It should have a very limited interface for updating user data. Next, export user data to relevant external databases such as LDAP, NIS, SASL, that obscure sqlite app, Kerberos, DMZ services, etc, and you'll have much less pain keeping everything in sync.

    An implementation of this scheme is running on many of the biggest universities in Norway, and is called Cerebrum, http://www.cerebrum.usit.uio.no/english.html. User administration happens through a frontend interface appropriately named BOFH, where users and admins can change data in a secure manner. Users can change certain of their own attributes, while admins have more power. It's worth checking out (although their sf.net wiki seems to be down at the moment, unfortunately).

    1. Re:Start with SQL by Tildedot · · Score: 1, Interesting

      +1 to this. Extremely flexible.
      We do all of this, except for plain text passwords in tables.
      We highly recommend encrypting, or completely eliminating, plaintext passwords. Instead, create and store the required hashes (ssha, etc.) for various bits and pieces when you create a user, or the user changes their password.

    2. Re:Start with SQL by dregs · · Score: 1

      omg, its takien us 7 years to undo this sort simple to setup, difficult to protect system.
      Once the auditors found it, it was year after year of explaining that 10% of systems have been moved off the plain text passwords, then 25% then 50%, etc

      My advice, only ever do this, if you are not securing anything scure, and you will never have to face an security audit board. ..

    3. Re:Start with SQL by Tmack · · Score: 2, Insightful

      Yes, SQL. If you keep your raw data in SQL, it is easy to export data to any format you might need now or in the future.

      slapcat > myldaptree.ldiff

      Done. You now have an Ldiff file that can be re-imported directly, or parsed quite easily, not sure why Exporting seems difficult?

      LDAP gets you a long way, but you will sooner or later end up with several apps that don't support it. The result is horrible password sync hacks, multiple passwords per user, etc.

      gssapi/SASL, or if its a horribly broken ap that doesnt do that either, its trivial to write an authorize/authenticate plugin for it, just about everything supports LDAP though, or "AD" which is usually LDAP with the MS schema in mind that can be bent to use a normal LDAP directory instead. Password sync (to get the broken NT4/LANMAN and KRB5 passwords) is as simple as compiling smbk5pwd (for openldap) and making sure the things allowed to change user passwords only use the passwd exop in LDAP, which pam and most other items that can allow that have an option for. Its not a hack, though you do end up with several different hashes of the same thing, as intended, but you can thank MS and MIT for using their own standard for hashing instead of plug-in cryptos, and pushing that for use in certain standards (WPA2 and Kerberos) .

      The idea is to put raw user info in SQL, including their clear-text password.

      Um, no. All it takes is one rogue admin with the access to "Manage" that database, and suddenly they can pull the CEO's password without anyone noticing, or a misconfigured SQL server running a non-ssl connection leaking that plain-text across the wire. If you are properly implementing a two-factor system (rsa securid or some equiv) this isnt as big a deal, but still... no.

      Of course, lock down that SQL server like you've never locked down anything before! It should have a very limited interface for updating user data.

      You should do this with any machine regardless. Lock it down so only those that need it can get in, and they only have access to what needs to be worked on... standard policy

      Next, export user data to relevant external databases such as LDAP, NIS, SASL, that obscure sqlite app, Kerberos, DMZ services, etc, and you'll have much less pain keeping everything in sync.

      Why? You end up with multiple copies of the same data spread across a multitude of disparate systems. OpenLDAP plugs directly into SASL, Kerberos, Samba, Securid, FreeRadius and many other systems that are NOT really directories and therefore should not have the data themselves. Instead they query LDAP for what they need, and LDAP is configured to let them read only what they need, securely (access to attrs=BLAH by ssf=128 dn.exact="cn=someapp,dc=example,dc=com" read). The ssl certs required are trivial to setup, just use CA.pl a few times, create a CA and a few test certs and you quickly get the hang of it. Setting up LDAPS is generally easier than trying to make sure all your SQL connections are secure as well (only start the ldaps service instead of ldap+ldaps, and use ssf=128 for all acls). With that in place, there is absolutely no risk of sending plain-text passwords in the clear over the wire, where your sql implementation seems ready and willing to do exactly that.

      -T

      --
      Support TBI Research: http://www.raisinhope.org
  18. Choose AD by wasabii · · Score: 0

    I'd use AD for everything. It works out of the box. Isn't that expensive. Does replication properly. Tracks site locality. Is expandable instantly to huge networks. Has Kerberos set up perfectly by default. There's really no downside to using it in my experience. All of hte other solutions require massive hand holding. Linux can auth against it either as a normal LDAP directory, or using Winbind. Winbind recommended.

    1. Re:Choose AD by JSG · · Score: 2, Insightful

      >>All of hte other solutions require massive hand holding

      Your experience of these is what exactly?

      Personally I'd use eDirectory. I have 15 year experience of eDir, AD and OpenLDAP. My experience of eDir is that it is worth the cash compared to the rest.

  19. emoticons by AltImage · · Score: 1

    Is it really necessary to have 6 smilie faces in the article? I wonder how many also show up in the Drizzle source. I also find it interesting that the author opts for the less common "no-nose smilie face" :)

    1. Re:emoticons by AltImage · · Score: 1

      oops...wrong thread. Should have been for the MySQL/Drizzel article.

    2. Re:emoticons by caluml · · Score: 1

      I've honestly never understood how this happens? How do you accidentally post in the wrong discussion?

    3. Re:emoticons by AltImage · · Score: 1

      tabs...the answer is tabs.

  20. Win2k3 R2 by Lurching · · Score: 2, Interesting

    Windows 2003 R2 has (virutally) the same IDMU as Win 2008.

    I have implemented such a mixed environment, with one problem. As I pointed more and more liunx boxes at the AD running IDMU, the number of internal connections from the AD server to it's own LDAP port increased until they were all tied up. It got so the AD server could not even read its own global policies.

    I had to implement a Linux NIS slave and point all of my Linux boxes at it instead of the AD server.

  21. try OS X server by Anonymous Coward · · Score: 0

    Depending on your size you might want to consider Apple's OS X server product.

    I am in the middle of building a new infrastructure based on open directory which is apple's version of LDAP. so far I have the mac, linux and windows boxes authenticating against it, as well as postsql, drupal,

    still working on fully setting it up, but so far so good.

    It's replacing:
    netscape old LDAP
    Sun's NIS+
    Redhat NIS
    and Active directory

    so in the long run it should be better than what we have now

  22. Novel Zen by Anonymous Coward · · Score: 0

    Novel sells Zen, which does an LDAP domain like AD, hosted from Linux. Yes there might be incompatibilities with Windows, but Windows typically has incompatibilities with Windows too. Novel's stuff will probably support your UNIX systems better. The admins I've met running Novel seemed happy with it, especially with the security features and invulnerability (low incidence) to typical internet malware.

    Also, you are missing the point of LDAP and AD. LDAP directory services can TALK TO EACH OTHER. It's based on standards. You can have a Linux-based LDAP forest talk to a Windows-based AD forest. It will work. There may/will be problems, but consider this:

    most of the time, your linux servers will deal with the linux LDAP server
    most of the time, your windows servers will deal with the windows domain

    file & data transfers can also be done a variety of ways that don't involve directory services. SSH with private key auth. The HTTP your using now is another.

    If system administration is becoming a burden, you just need to automate more. Write more scripts. Work as a team to automate most tasks until you have less and less to do. A perfect, orderly domain doesn't exist and may cause more problems than it solves. Cron/scheduler that downloads new/updated scripts from a central server can solve a lot of these issues without all the overhead and licensing, especially if you have special vendor application that can't run in a domain (the vendor won't support it).

  23. Hear me out by BitZtream · · Score: 5, Informative

    Its going to sound like blasphemy here on slashdot, but I strongly recommend one master ActiveDirectory server with Services for Unix installed. You can manage everything from the nice pretty windows GUI, have perfect windows support and using pam_krb5 and nss_ldap (I use them in FreeBSD, I believe both of which were originally for linux, not sure they would be the best for it) for pulling all your user information from AD. Services for UNIX adds tabs to the important objects in the ActiveDirectory UI to let you edit the unix attributes.

    Combine nss_ldap, pam_krb5, sasl with kerberose auth, and samba 3 or newer, the kerberos auth module for Apache and you can have complete and total authentication based on ActiveDirectory with a very nice GUI, and you can still use standard ldap tools to work with the directory if you want. Samba will do kerberos with windows beautifully at this point, just make sure you keep eveything time synced. Even does all the 'single signon' stuff for websites.

    You end up using a great authentication mechanism on your unix AND windows hosts (kerberos is king). The only catch that may or may not apply to other OSes, but it definately bit me in FreeBSD 6, FBSD wants to use UDP for all its kerberos communications which is normally fine, but once you get a user with a large collection of kerberos data, in my case, lots of groups either directly or via nesting, then the packets become too large for a single UDP datagram and FBSD is too stupid to switch to TCP on its on. My solution was simply to block all UDP port 88 requests in and out of my FBSD boxes so they immediately fail over to TCP (not, you have to return ICMP errors, not just drop packets or it'll just hang as it doesn't know the packet can't be sent).

    Not sure if Linux's kerberos implementation supports forcing TCP in krb5.conf. FreeBSD is SUPPOSED to, but older version certainly don't.

    I know that no one likes MS and thinks they are evil, but I've been VERY happy using AD. We have two Win2k3 machines that serves ActiveDirectory, basically a primary and backup domain controller in the old MS NTDOMAIN language. Works awesome. If you throw in the MS certificate server on your AD server, then you also have a nice way to make internal SSL certificates with full revokation support and all that neat stuff so you can make internal certs all day long and the since your Windows machines are part of the ActiveDirectory, it pushes its root cert to all your windows boxes meaning you don't have to do crap to make them fully authenticated certs for your windows machines.

    With far less effort than any other directory server you can have full single sign on support, good authentication, and an easy to use interface in which you can delegate control to various folks outside your IT department and let them use the AD manager for windows (on xp or whatever) to manage the department they need to if you want. You can auth pretty much EVERY modern OS this way. Hell if you want to you can run the servers on Unix (OpenLDAP/MIT Kerberos) for backup or for serving client requests and just isolate the windows machine as the master if you want.

    Okay, now I sound like a total fanboy, please don't hate, but it really is a good setup. The main reason being, from my point of view, the setup and most importantly, the administration of ActiveDirectory and Services for UNIX are FAR above and beyond anything the F/OSS world offers. Sad, but true. I imagine you could probably get good support from Novell eDirectory as its tools are pretty good when they work, haven't used them since 6.0 when all their Java apps were asstastic, but I was only admining the leaf node of a tree with a few hundred thousand accounts in it (State of Georgia was using eDirectory a few years back, all their employees are in it, may have changed by now), so it may work better in smaller setups. All things considered it didn't do bad there, was just far too slow for editing my own subtree as we had to wait on updates to be pushed back up the tree bef

    --
    Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    1. Re:Hear me out by Anonymous Coward · · Score: 0

      Microsoft lackey noob! LOL

    2. Re:Hear me out by illumin8 · · Score: 1

      I know that no one likes MS and thinks they are evil, but I've been VERY happy using AD. We have two Win2k3 machines that serves ActiveDirectory, basically a primary and backup domain controller in the old MS NTDOMAIN language. Works awesome. If you throw in the MS certificate server on your AD server, then you also have a nice way to make internal SSL certificates with full revokation support and all that neat stuff so you can make internal certs all day long and the since your Windows machines are part of the ActiveDirectory, it pushes its root cert to all your windows boxes meaning you don't have to do crap to make them fully authenticated certs for your windows machines.

      I totally agree that this is the best solution out there. MS AD, Certificate server pushing root CA out to the Windows clients, using IE and getting a trusted root from your certificate server. But it strikes me as another sysadmin reading through your post, how completely Microsoft has locked down all the key infrastructure:

      1. Directory Services - Check, AD is the best product on the market and the only one that integrates well with Windows clients out of the box.
      2. Authentication - Check, AD is the only one that can provide seamless authentication to Windows clients, Kerberos to *nix, and LDAP to web apps.
      3. Certificate Authority - Check, MS Cert server is the only one capable of pushing trusted root certs out to Windows client browsers through group policies.

      While this is by far, the best all in one solution out there, it pains me to think that after all the evil business practices and anti competitive tactics Microsoft has used over the years, they have been able to completely lock down the enterprise in such a huge way. Nothing, literally no network service, even if it's a login to a *nix database server or a CRM application on the web, can function without them. Please excuse me while I go cry a little...

      --
      "When the president does it, that means it's not illegal." - Richard M. Nixon
  24. Use AD by Anonymous Coward · · Score: 0

    There are times to show off to the world how much of a geek you really are, but this is not one of them - why reinvent the wheel? Just use AD. It works.

  25. FreeIPA, Apple OD, Gosa2, Novell eDirectory, FDS by Anonymous Coward · · Score: 2, Informative

    I am with this task as well.

    Since we need to support Kerberos, I had some difficulties to install OpenLDAP and manage the Kerberos and integrate with Samba and AFP.

    Our servers are 80% Linux and 20% Windows,.
    Our clients are 90% Mac, 9% Windows and 1% Linuxes

    I have messing with the follwoing solutions without much sucesse. They are all good, but they are NOT READY yet. Maybe Novell eDirectory, but I think it is too big and kind of expensive.

    I really don't like Microsoft, so we are avoiding AD and avoiding supporting M$ with our money.

    So, we tried:

    - Fedora Directory Server
    - OpenLDAP + Kerberos (doesn't have a good admin interface)
    - Gosa
    - FreeIPA

    But, we will keep investigating.

    for now, our BEST OPTION and the easiest is:

    Apple OD (Open Directory).
    It integrate very well with Windows, Apple, Linux and has Kerberois and a great Admin UI

    Ou ONLY problem with Apple is that we can't VMWare... so, that's the only issue for us!!!

    In about 6 months we will try again the followings:

    - FreeIPA
    - Gosa2
    - Fedora Directory Server

  26. The /. M$ effect by Anonymous Coward · · Score: 0

    Everyone hating on MS but loving AD. Sweet sweet irony.

    1. Re:The /. M$ effect by IMightB · · Score: 1

      tastes like crow!

      Seriously though, there are many people that read slashdot that actually have used most if not all of these different Directory solutions. They need to use them because they are professionals that help run companies, Directory Servers, as a class, are the only way to sanely manage anywhere from a couple dozen users and machines to hundreds or thousands of users and machines.

      It doesn't matter whether it's OSS vs Closed Source or Microsoft vs Everyone Else, Once you have REAL experience with more than one Directory server, you will realize that AD is truly the "Best of Breed" of Directory Servers.

    2. Re:The /. M$ effect by IMightB · · Score: 1

      Bad form I know...

      All that being said there are GOOD implementations of AD and there are BAD implementations of AD. LDAP/Directory Servers in general are complicated, it takes quite some time and experience to know how do a Good implementation with one. Same as everything else.

    3. Re:The /. M$ effect by Anonymous Coward · · Score: 0

      AD is only "Best of Breed" if you don't know NDS and if you are 100% willing to commit to single-sourcing everything from Microsoft forever.

    4. Re:The /. M$ effect by BitZtream · · Score: 1

      Why are you stuck with AD? Its not like you can't get an ldif export out of it to import into something else. If that something else only supports ONE set schema than its not different than AD as far as lockin. All the other reasons you are 'locked in' to AD are going to be things like 'well no one else supports that feature' that would be there if you started with AD or not. If willing to can truly afford to give up those features now to avoid MS than theres no reason the same wouldn't hold true later.

      This sort of comment always bothers me. I'm looking for one reason that you'd be locked in that doesn't equate to 'you're locked in because other products provide an inferior solution'.

      I don't want to know/care about if MS is using secret sauce and not sharing to make it better for their products, thats their right as a company and has been an accepted business practice for all of recorded history. Its not new and unique to the computer/software industry. If the other product doesn't have a solution that provides cost/benifits than it is inferior for the task. Software will never all be equal or there would just be one. I'm sorry if your beliefs want you to promote software that has a competitve disadvantage of intentionally by design giving away its assets, thats your choice and theres nothing wrong with it, but that doesn't make it better than everything else, it in fact gives it a severe disadvantage. EVERYONE else can communicate with you if they need to, but you can't communicate with them. Who's fault is that? You blame them, but you could have done the same and didn't, your choice, not theirs, you're to blame.

      There are PLENTY of very good benefits to OSS and those reasons are why many people support it and use it every day. I'm one of those people. But its not the end all be all, and it does have disadvantages, thats just reality. And thats all your post is about, one of its disadvantages.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  27. NOT AD because of hidden complexity. by xzvf · · Score: 1

    The Linux/Unix world has done a great job making AD work in their world. Just like we can read mail off an Exchange server and use Sharepoint. They are easy on day one, but like most products from MS, there are a million hidden costs as you grow and expand. If you start with a standards based LDAP directory server like 389-ds (Fedora-ds new name) you can grow into RHDS if you need support. It is cheaper than AD as your environment grows plus if you decide to migrate to another DS, it is reasonably easy because it implemented an open standard. Don't fall into the trap like so many did with Exchange and so many are with Sharepoint.

  28. Re:Stick with OpenLDAP ... by BitZtream · · Score: 3, Insightful

    First off, AD does provide LDAP services, it is ActiveDIRECTORY after all.

    Second, every OSS app out there pretty much lets you modify the schema it expects from the server, meaning making it talk to an ActiveDirectory server is just a matter of properly setting up the schema. Hell most apps now days already have an example config for talking to a stock ActiveDirectory, but you're better off with AD + Services for Unix so you get AD and Unix UID/GID administration in one pretty point and clicky interface.

    Other than having a more flexible schema, since it doesn't assume you need to talk to windows, its inferior to AD in just about every other way, excluding price, where of course it beats the shit out of AD :)

    If your last two startups were made easier by not using AD, you have incompetent admins who don't actually understand ldap or kerberos.

    With openldap you get a directory, which CAN be used to authenticate, but thats not what you should be doing. Kerberos is accepted everywhere as the best authentication system to use in an organization, hands down, Unix OR windows. With AD you get both. Which means instead of using your crappy 'bind to auth' or 'bind as someone then query to auth' and 'hopefully we remembered to use SSL everywhere that needs auth', with AD you get LDAP + kerberos for auth, best of both worlds.

    AD allows you to manage users with those same applications, host or web based as it support LDAP perfectly so OpenLDAP doesn't have anything on it there.

    Fourth, you can just make samba join your activedirectory server instead of making it pretend to be one and dealing with all the quirks that goes with that if you have anything beyond the most simple of setups.

    Want samba to join ads? Install samba 3 or newer, install a time sync utility if you don't already have one, type:

    net ads join

    Follow prompts, done.

    Go the next step and tell samba to generate a keytab for kerberos for you and be happy as now you can start using kerberos for other services rather a cobbled together bunch of hacks to bindauth or queryauth off the ldap server.

    Me thinks you don't really have any actual experience with or an idea what AD is. AD is NOT NTDOMAINS, even though an AD server is capable of providing backwards compatibility, it is not required and if you're using not using anything older than XP and unix machines it should be turned off.

    OpenLDAP is only a partial replacement for ActiveDirectory, and really is the WRONG way to do authentication. MS didn't invent kerberos, but switching to it was one of those 'Okay, you win, we're on the bandwagon with your protocols' moments that you should actually thank them for and look into. Stop hating and educate yourself.

    What OpenLDAP wins at, hands down, is of course, cost. But its really silly to say that its more flexible or more reliable (which, btw availability and uptime mean the same thing here).

    Do you want to use a bunch of hacks to make your windows machines authenticate, or would you rather use a system that supports everyone natively and completely, Windows AND Unix (including OSX)? Personally I went with AD so I can just do everything natively, with Services for UNIX the thing will even function as a NIS (maybe NIS+, I don't use that part) server if you've got old boxes that you need to pull into the group.

    --
    Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  29. If you want to use kerberos... by profplump · · Score: 0

    If you want to use kerberos you'll need to avoid Active Directory -- it does not play well with others. AD is a decent directory server, but the "kerberos" implementation muxes authorization and authentication and will not work with external kerberos servers at all.

    On the other hand, AD does play very well with Windows desktops -- it is the only way to use certain administrative functions in Windows -- and is perfectly suitable for password-based authentication against the directory sever from any platform. So if you don't need kerberos AD is probably fine, though I'm not sure it's any better than RHDS or eDirectory or the like if all you're doing is centralized, password-based authentication.

    1. Re:If you want to use kerberos... by wasabii · · Score: 1

      Plays fine. The problem of the PAC means Linux Kerberos servers cannot serve Windows clients. Nothing to do with the reverse.

  30. Brokenware by gd2shoe · · Score: 1

    It's just another dimension of Microsoft's brokenware mentality. They design a product, then they break it before selling it to you so they can sell you an upgrade to a working version. CALs are the server equivalent to the PC/workstation scenario. They don't provide different versions of Windows with different capabilities. They do provide different versions of windows intentionally broken to different degrees. They're creating an artificial feature set that they can up-sell later.

    It's diabolical, really, but it's hard to blame them. They are a business very near (or at) monopoly status trying to eke every last penny out of our pockets. What more should we expect?

    --
    I won't join Slashcott. OTOH, If Beta goes live, I just won't be back until it's fixed. Sorry Dice.
  31. Re:FreeIPA, Apple OD, Gosa2, Novell eDirectory, FD by nexex · · Score: 1
    --
    Winter 2010: With Glowing Hearts
  32. Single sign on software by Anonymous Coward · · Score: 0

    Or there's something like symplified, they have a single sign on software that's made specifically for this sort of purpose. It's not F/OSS though, so keep that in mind too, but I looked into it recently and it seemed pretty nice.

  33. Nah! by alexborges · · Score: 1

    " it seems like it may be easiest to just use Active Directory for everything. Are there any pitfalls with this approach? "

    No no no.

    Go do samba+ldap and THEN you have BOTH windows and a linux directory. You might hear something about "group policies" and other crap, thats treated in-depth in the samba howto: you CAN deploy policies with a smb pdc to winxp-2k boxes without too much problem (youll need a cheap version of win2k and ads with minal cals to get the admin gui for that, but in no way should you pay CALs for your linux boxes: that is plain stupid).

    --
    NO SIG
    1. Re:Nah! by BitZtream · · Score: 1

      Don't forget that you'll actually want kerberos for authentication. If you're using ldap for the authentication part, you're doing it wrong, sorry. Obviously there are those situations when the app doesn't support kerberos, but if it does and you're not using kerberos, you're doing it wrong.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    2. Re:Nah! by alexborges · · Score: 1

      Yeah well, that is supported too.

      --
      NO SIG
  34. No AD for me thanks. by jvillain · · Score: 1

    In a high availability situation I would never trust AD to work with my nix machines. All it takes is Microsoft to make one change in the code and an admin to apply a patch to the AD servers and your nix machines can all be sitting their twittling their thumbs. Then you are stuck hoping that Microsoft wants to fix the problem. Mean while management will be sitting their blaming your nix machines and thinking it is better to go all windows. If your shop wants to go all windows do it based on a buisness requirement not based on getting bent by microsoft yet again.

    1. Re:No AD for me thanks. by dave562 · · Score: 1

      Do you have any documented cases of where what you are scared of has actually happened?

      The closest I've seen was the battle between Novell and Microsoft back in the mid-1990s. On NT4 workstations, every time a new service pack would come out, the Novell networking client would stop working and you'd have to revert to Microsofts "Client for Netware Networks". After six months or so, Novell coders would catch up, release a new version of the client, and then life would be good again... up until the next service pack. By the time SP5 for NT came out, I didn't even bother rolling it out until Novell caught up. I did test it out just to make sure that it would break the client, and it did.

      So I'm with you on your fears... sort of. On the other hand, given how much of a beating Microsoft has taken in the last decade for interoperability issues, and given how homogeneous most networks are these days, I think the odds of them intentionally (or otherwise) breaking AD are pretty slim. When was the last time they actually released a PATCH for AD? I know it changes with each new release of the server. And when you buy products like Exchange the schema needs to be extended. I've never heard of Microsoft releasing a patch for the directory service though.

  35. Here's what I'm trying at home this summer by adriccom · · Score: 1
    Hi,

    I have felt your pain. I just got my used copy of Distributed Services with OpenAFS: for Enterprise and Education and it looks pretty awesome so far.

    It's a textbook of explanations wrapped around a whole bunch of script(1) captures of them setting up ntp,dns,k5,ldap,openafs,samba, etc on Debian with Windows, Mac, Ubuntu clients. You can find the table of contents and an excerpt at the book's site: http://www.springer.com/computer/programming/book/978-3-540-36633-1

    hth and Good Luck!

    adric

    --
    <script>alert("I never liked JavaScript, really; it just seemed a bad idea.");</script>
  36. Either Linux or AD by Anonymous Coward · · Score: 0

    If you're a Linux shop then either stay away from AD or throw Linux away. AD is far from the best directory server, the value in AD comes in the non-directory aspects tying it into other Microsoft products. If you're a Linux shop, then deploy a good directory service (e.g. FDS, OpenIPA, eDirectory) an tie the handful of Windows boxes into that infrastructure.

  37. Re:FreeIPA, Apple OD, Gosa2, Novell eDirectory, FD by adriccom · · Score: 2, Interesting

    Yikes, I'm replying to an AC.

    Mac OS X and Server are now virtualizable in recent Vmware Fusion and Parallels installs (at least). Although there were technical and legal challenges to parallelizing OS X installs, these have apparently been surmounted.

    Now I just need more RAM.

    --
    <script>alert("I never liked JavaScript, really; it just seemed a bad idea.");</script>
  38. MDS - Mandriva Directory Server by Player+Parker · · Score: 2, Informative

    I find myself in the same situation and am considering either MDS or FDS, which is now 389 Directory Server btw, to address this need. My goal is to stay away from Microsoft's AD primarily because my boss looks for $100 solutions for $10 (or less). I won't banter on here about the merits of what MDS will and will not do, but I will say it's a very good package, well documented and certainly worth consideration. I setup a VMware server which I'd be happy to ZIP up and post on our company's sftp site for you to download and check out if you so wish. Look me up and I'll hook you up, no worries...

  39. openldap by Anonymous Coward · · Score: 0

    seriously... this is a freakin' M$ love-in...
    since when has "simple", "gui" and "proprietory" been pre-requisits on slashdot?
    AD is far from the best tool for the job for hetrogenous computing environments. it has limitations in the number of entities it can hold, it's buggier than a swamp and the granularity of security imnsfho, crap. if you decide to get on the AD train, don't forget to purchase ADAM as the recomended and part-of-the-solution-set to get anything to play nice that isn't winblows.
    if, like me, you like to put in place solid, stable, secure and infinitely configurable systems and infrastructure, but *nix is all scary, try putting "howto" in front of you google search, here's what I found, and it works. just works. keeps working.

    http://www.kernel-panic.it/openbsd/pdc/

    if you're setting this up for a dev shop, the code monkey's will love you when finally a suit comes around dropping jargon like "single sign-on" - they can code against technology that doesn't cost an arm and a leg, is completely documented and adheres to "standards" - those are the things M$ never attain.

    anyhoo, enjoy the infrastructure building, just remember - if a tarded microserf can't do it with one click, then the tarded microserf can't f##k it up.

  40. eDirectory by Anonymous Coward · · Score: 0

    I'd rate your best option, by far, is eDirectory

    Fully LDAP Compliant.
    Can handle your directory regardless of how large it gets (AD STILL has scaling issues)
    Can remap all the default mappings for both attributes and classes so you could very easily have your eDirectory tree replicate the behaviour of everything from AD-LDAP to OpenLDAP
    Latest eDirectory services on OES 2 SP1 include Domain Services for Windows, allowing *native* AD calls to work (you can even manage your eDirectory with MMC)

    And if you ever find eDirectory can't do everything you want it to, you can always use Identity Manger to sync your eDirectory to practically any other service you're using.

    Sure, AD is great, if you're a total Microsoft house, but you'll have nothing but issues trying to get it to play nice with your Linux kit, and if you get yourself near 15,000 users you'll be wishing you had a system that scaled.
    OpenLDAP is great, if you're a total non-Microsoft house, but you'll have nothing but issues trying to get it to play nice with your MS kit, and if you might find some of its feature set limiting.

  41. Thiago Barbanti by Anonymous Coward · · Score: 0

    You can use too:

    Apache Directory (http://directory.apache.org/)

    Sun OpenDS (http://www.opends.org/)

    today I have a job implementing a single sign-on solution to be integrated with system stuff of company, internally using OpenLDAP. But in my development process I am using Apache Directory as development platform to do this job at all and I see as good solution many because the manager application (Apache Directory Studio).

  42. Why not Apple's Open Directory by Anonymous Coward · · Score: 0

    With the mostly Linux/UNIX boxes and only few Windows boxes Apple's OS X Servers Open Directory (openLDAP/Kerberos) is very easy to use, and with less than 8 clicks you can have SAMBA configured with it to authenticate the Windows boxes. All clients would use Kerberos for authentication, plus you are using open source technology.

    Depends on what control you want over the Windows boxes.

    Linux/Mac/Windows Admin

  43. The comments are interesting by GF678 · · Score: 1

    I notice that whenever someone recommends sticking with Active Directory, they apologies for recommending it.

    It's amusing because they're apologizing for recommending the best solution in this situation, which is EXACTLY what a good commenter should do. They have nothing to apologize for, and so I guess their apologies are more for the fanboys than anyone else who cares about a good result.

    Just admit it - OSS doesn't always work, so making a suggestion which involves using Microsoft technologies is nothing to be ashamed of. It shows you aren't an idiot and prefer the best solution as opposed to a Slashdot friendly solution.

  44. OpenLDAP is the way by Anonymous Coward · · Score: 0

      I replaced an AD domain with Samba/OpenLDAP, in a mid-sized enterprise of 13 networks nationwide (~30 windows boxes each), it works like clockwork. AD works allright, but until there's a Linux version of it, you'll be enslaved to the whole Microsoft administration nightmare experience: restart-every-x-weeks/update-patch/virus-proneness etc. including the MS tax of course, wich includes call-licenses (one per client)...

    OpenLDAP Pros:
    Robustness: it's a snap to set up replicas everywhere.
    Efficient: faster in the same hardware than a win2003/AD, the bandwidth and time needed for replication is nothing compared to what AD needs, also you don't need a cluster to make it robust, it just is.
    Simple to set up if you are using the packaged version (I've used Ubuntu's and Debian's versions, they work out of the box), although for specific customization/needs it may not be as simple as clicking NEXT until your index finger is sore.
    Flexible: you can authenticate almost anything against it, there are decent LDAP libraries for most programming languages, and you can pick your choice middleman authenticator: Samba, PAM, Radius, or even POP3, to name a few.
    Secure: if you have your own x509 PKI (and you should), it's easy to have everything working under SSL.
    Good documentation and support: there's already a ton of how-tos and tutorials on how to get it working and there's always the mailing lists and forums.
    Easy to troubleshoot: just increase the verbosity of log/debug levels and you can figure out exactly what you've missed.
    Easy to back up and recover: back up your database to a plaintext ldif file and recover/create new replicas in a blink.
    Oh, and it's Free software.

    Cons:
    It's not AD, so AD magical stuff for winXP/Vista is not there yet, but wait for the next version of samba and you'll get some of it if you really need it.
    You need to read a little and actually understand what you are doing to set it up, but the time you spend learning how to setup OpenLDAP is but a fraction of the time you'll spend actually managing an AD network.

    OpenLDAP has really simplified things around, users have a single account for: windows domain, squid proxy, apache, jabber, email, webapps etc. And it also holds postfix's virtual aliases and squid's ACLs. Everything in a single replicated, secure 'place'.

  45. Directory services by dlawson · · Score: 2, Interesting

    I have a pretty long history of this, and I have set up a couple of major implementations (1,000,000+ objects) so I'm putting in my 2cents.

          I started with Novell's NDS in 1993 (yup, I was a beta tester) and so I am pretty oriented towards that product. Other Directory Service products I have managed include AD and eTrust. I am still most impressed with Novell's product, and for good reasons. AD is really an LDAP interface into a distributed registry. It is not really a full X.500 directory, and it weaknesses show when it comes time to upgrade or migrate. eTrust is built on the old Ingres database (Alan Lloyd couldn't get a free copy of Oracle) and there were issues with it's replication and failover modes when I ran it. Once burned, twice shy. The most reliable, in terms of not getting up at 2 AM, was eDirectory, and I still respect Novell's attitude towards Quality.

          The performance of most DS products is pretty equal these days, a test I read last year had a 4-core Opteron doing 60,000+ searches per second. That's plenty, divide the number of leaf objects by that number to find the number of processors you will need. More importantly is how you build your tree, and that is NOT a minor effort. Number one, you will need replicas, at least three of each partition in the tree. Number two, enough bandwidth to make sure that replication and synchronization is not impeded. Number three, you WILL have a number of arguments from the management team (if they are one) at the normal number of communication paths within the team, that is N! if they all fight separately, N!/P! if they gang up. These arguments will be centered on who has what access, up to why the tree doesn't place them at the top (hint: follow the organization chart. Get the CEO to tell HR to give it to you.)

          After that, it's really a matter of studying the available literature. Get a copy of the X.500 documentation to understand the standards for update and replication, and after that, try a couple of test implementations in a little three server lab. You can probably do that on a couple of one-lung PCs to get a feel for what the tree will look like and how to manage it. I haven't had a test lab in my house in a couple of years, but the last one was an Athlon laptop with OES 1 on it. Get a copy of NDS Basics from Novell Press and bone up. The other book useful to this effort is Open Enterprise Server Administrator's Handbook also from Novell Press. Grab an eval copy of OES and practice. When you go live, the price of the eDirectory component itself is worth the cost of OES.
    davel

    --
    dot-sig.
  46. mac os x server by Anonymous Coward · · Score: 0

    open directory ... http://www.apple.com/server/macosx/technology/opendirectory.html plug it in, turn it on, and it works. only downside is that you are limited to apple hardware.

  47. Who came up with the Cerebrum logo? by joib · · Score: 1

    Looks like these vagina pictures you find in the gents rooms worldwide.

    Yes, I realize it's supposed to be a brain, but just saying, just saying..

  48. OpenLDAP for the masses by Anonymous Coward · · Score: 0

    I have been running 2 heavily used (20k users) OpenLDAP implementations for about 5 years now. Runs great.

  49. Stay with AD? why can't you use a legacy unix app? by cobradevil · · Score: 1

    Hello all At our company we have a big AD domain with 35 domain controllers. When AD was introduced we had o disable our unix dns server because windows comes with everything in it. So yes we build a few data centers with AD. Now we are also running a few hundred linux systems for SAP. We had to connect to AD because we already have that. So we were connecting our systems to AD with winbind and now it seems wibindd can't handle the load. People can't login so we have to trouble shoot that.When asking our AD guru's the only answer you get is everything is working fine ;()())&@%$#... Now we are going to only use the kerberos stack from AD in the AD domain, and authorizations will be done in our own directory. For other environments where we haven't got AD we are going to use our own kerberos/directory domain. The next step will be a solution like freeipa because why shouldn't we use our own native authentication services. Radius and LDAP have been used for years and are proven technology's. Kerberos can be used for authentication and bind 9.5 also supports gssapi to do ddns updates. So disable those windows ddns and stay at the save side before you can't disconnect your systems from AD because it is the defacto non standard. Use open software for your open servers. And let windows use their own directory services. Also you can use windows password sync for project 389 if you wanna have password synchronization. People before you know you can't get rid of AD anymore and you are forced to buy MS products. Check out zimbra for email and use apache for web aplications it's not hard and the performance is great. A unix researcher;)

  50. NDS by neurosine · · Score: 1

    I'd take a look at Novell Directory Services. I think it's called eDirectory now. Although the company I work for has almost exclusively windows based environments, I'm not a fan of the Jet database engine or its derivitaves many of these services are based on. If Windows users and PC's are in the minority, NDS would probably be an ideal solution.

  51. AD if you ever think about connecting 3rd parties by trastomatic · · Score: 1

    Aside from your current mix of boxes, you have to consider other things from other vendors in the future (present?).

    Think of:
    1) IP-PBX connected to your directory to auth users
    2) firewall, to define rules based on users, not IPs. (same for other firewall-like features such as VPN)
    3) management platforms, CRMs, ERPs, where you'll need RBAC

    And many others.

    While some of them can connect/use/sync to any LDAP-compatible directory, some (most) others are just certified to work with Microsoft AD.
    If you feel there's a lack of openness, set up a secondary RH, Fedora, OpenLDAP, whatever and sync with the AD. Or do the other way round, AD sync'ing to the open LDAP, but I would recommend having a usable Microsoft AD somewhere in your network.

  52. Identity Management by Anonymous Coward · · Score: 0

    What you have here is a chance to implement a proper Identity management system.

    The effort you intend to invest is comparable to that required to implement a system such as IBM's Tivoli Identity Manager. This will give you a central point of administration like a directory service, but also allow you to cleanup, manage your user ids, implement role base access, use workflow to perform Business need reviews, employment verification and that's just for starters.

  53. What about SUN OpenSSO/OpenDS ? by binarymaster · · Score: 1

    I am implementing OpenSSO in my office, and we use the SUN Directory Server (instead of OpenDS). They seem to work very well. Integration with AD (if you really need it) is easy to do. Both OpenSSO and OpenDS are available at no cost. You only pay for the support, and the publicly available knowledge base is usually good enough.

    --
    I am Linux And Windows 7 was NOT my idea !
  54. Openldap FTW by NilsCant · · Score: 1

    Our company went for openldap because we weren't getting any money at the time. Everything was running Debian on old workstations. A few years later, we got money for hardware, and we've built around what we had and ended up with quite a cool setup. Pretty much all based on Debian stable and FOSS. I haven't used AD before, so I can't say openldap will be better, however it pretty much does what we need it to. We have e-mail routing based on ldap attributes with postfix, authentication and authorization for courier-imap and pop, apache http auth, intranet (drupal), bugzilla, Request Tracker, kbox, jabber... Recently, we got some Cisco ASA's for vpn client usage, which can do authentication and authorization based on LDAP. For the Windows machines, we've got a domain with samba 3 that uses openldap as backend. That works great. We just don't have group policy, which would be nice to have, but I've read here that it ought to work even with samba, so maybe we could look into that as well. All of our ldap traffic is nicely secured with TLS and SSL, and the datase is replicated to a dozen LDAP slaves in all of our worldwide offices. We also query the db for contact details from the mail client and our contact page on the intranet, as does our avaya phone system to find phone numbers and even some of the fax machines we've got. (And address book/mobile phone sync) We also don't have to worry about licensing, which is quite nice when you want to try something out with a testbed or want to do some redundancy.

  55. Ah I recall the movie "Office Space" for this one by keneng · · Score: 1

    Take your machines that are running AD, and then follow the example of the Office Space staff when they brought the Fax Machine/Printer to the park. Don't forget the rap music too.

    After that, use the already existing open-source solutions on a Linux box.

    It's the right thing to do.

  56. What About Sun One? by Anonymous Coward · · Score: 0

    ... aka DSSE, etc. - see http://www.sun.com/software/products/directory_srvr_ee/index.jsp

    I don't know - just asking. It's free-as-in-beer, you can (presumably) buy support from SunOracle.

    Discuss.

  57. Microsoft Hostility by Stephen+Samuel · · Score: 2, Insightful

    Uh huh. So what's wrong with AD?

    Microsoft seems to design their protocols to be as hostile as possible to 'other' OSs (without being openly anti-competitive). This is good for their business plan but bad for users. A side effect of this is (like another comment in this thread noted), that it's really difficult to expand the system beyond what Microsoft wants you to be able to do.

    Given that you're using mostly 'other' operating systems, I think it would be a big mistake to make the bulk of your systems beholden to a hostile mistress.

    --
    Free Software: Like love, it grows best when given away.
  58. Enterprise directory services by LDAPMAN · · Score: 1

    There is no ONE directory services that is optimum for every use case. If you want to manage large numbers of Windows workstations then you need AD. If you want to do high performance LDAP then you need eDirectory. If you want to manage authentication to Oracle DBs the you need OID....the list goes on. This is why for any non-trivial implementation you need Novell Identity Manager which allows you to use the right service directory for each of these applications but enables you to manage your environment as if it was a single homogeneous directory. Note...I design such systems for the largest environments in the world. The largest production implementation I've worked on is in excess of 400 million identities.

    1. Re:Enterprise directory services by hyc · · Score: 1

      Wrong. OpenLDAP is the number one top performing directory software in the world, and has been since 2003. None of the other directory vendors have been refreshing their technology in recent years, and OpenLDAP is generally 2-3x faster than everyone else. 5x faster than AD typically. If you want performance, eDirectory is pathetic in comparison, and even Novell's engineers have admitted they can't get anywhere close to OpenLDAP's performance.

      To the folks saying "ActiveDirectory is best of breed" - yeah right. The AD server is crap; what you guys are seeing as "nice" are the GUI admin tools. Which by the way also work with Samba4/OpenLDAP...

      AD design flaws: http://www.mail-archive.com/ldap@umich.edu/msg01464.html

      I can't dispute that M$ makes slick GUIs (sometimes). But to call AD best at anything is a far stretch. And no pretty GUI on top is worth anything when the underlying technology is broken.

      re: commercial support for OpenLDAP - Symas has customers with production deployments of billions of entries (several hundred million identities plus ancillary objects). OpenLDAP has been run successfully with over 5 billion entries in a single database; no other directory software in the world can make that claim. Oracle OID comes close but again at over an order of magnitude slower performance.

      Telcos, cable companies, large financial institutions, petrochemical/energy companies, and governments all around the world are switching to OpenLDAP because it's the only solution that works reliably and performs so well at such large scales. Nothing else touches it.

      --
      -- *My* journal is more interesting than *yours*...
    2. Re:Enterprise directory services by LDAPMAN · · Score: 1

      References please? OpenLDAP is ok for some tasks but it is not taking the world by storm and it's not close to eDirectory, OID, or SunOne in performance or scalability. I said AD is best for managing Windows workstaions...kinda hard to dispute that.

    3. Re:Enterprise directory services by hyc · · Score: 1

      Sorry, the eDirectory info is based on personal communication from a Novell engineer. (But it's worth noting that OpenLDAP's libraries are also better tuned than anyone else's, and Novell now ships OpenLDAP's libraries, as do a number of other vendors.) The OID and SunOne results are from benchmarks performed for a customer's RFP, and unfortunately are confidential. But you can find comparable results here:

      http://www.connexitor.com/blog/pivot/entry.php?id=130

      The FedoraDS codebase is still much the same as SunOne. OpenLDAP is more scalable and higher performing than all others. Since you claim to have worked with all of these it should be no trouble for you to benchmark OpenLDAP against any of your other installations and verify for yourself. Unlike closed-source vendors who use license agreements to prevent you from publishing benchmark results for their products, you have total freedom to bench and publish your results with OpenLDAP...

      You may not think it's taking the world by storm; the interesting thing is that it's going into more places than you're aware of. You just don't hear about it much because most companies are too embarrassed to admit they're running free software instead of the crap they spent millions on purchasing in their previous fiscal years.

      --
      -- *My* journal is more interesting than *yours*...
    4. Re:Enterprise directory services by hyc · · Score: 1

      By the way...

      http://www.networkcomputing.com/channels/security/showArticle.jhtml?articleID=199901451&pgno=5

      OpenLDAP is #2 to AD in the Fortune 500, all of the other vendors you mention are down in the noise.

      --
      -- *My* journal is more interesting than *yours*...
  59. Re:Stick with OpenLDAP ... by Anonymous Coward · · Score: 0

    I have many of the pieces, but seem to be lacking the glue to pull it all together. Do you have your experience documented anywhere? Can you post it to a newsgroup/forum/wiki somewhere so that the rest of us can benefit?

  60. Licensing for Windows AD server by Kirth+Gersen · · Score: 1

    The OP mentioned that "we are primarily a Linux shop, there are a handful of Windows systems that will be on a Windows Active Directory domain".

    Does every machine that authenticates to an AD server need a Windows client licence? Or every user? Does the AD server need an additional client or user licence?

    I haven't bought client licences for years -- it was back in NT4 days -- but as I recall they were pricey and hard to get. And nobody was prepared to go on the record about how to calculate how many I needed. (Although several people said things that were vague and inconsistent and then stopped returning calls.) Maybe that has changed.

  61. Re:FreeIPA, Apple OD, Gosa2, Novell eDirectory, FD by Anonymous Coward · · Score: 0

    Try OpenDS as well.

  62. Anonymous Coward by Anonymous Coward · · Score: 0

    eDir is hands down the most sophisticated directory platform on the planet. It beats AD's flat file any day of the week. It runs on Windows, Unix, Solaris, and Linux. Most of the troubleshooting and setup documentation can be accessed for free, and without creating huge, distributed, complicated setups, runs problem free as well.

    With the latest version, an eDir box can belong to an AD domain, or an eDirectory tree. Without support, eDir can be had for free.