Slashdot Mirror


Ask Slashdot: Is Samba4 a Viable Alternative To Active Directory?

First time accepted submitter BluPhenix316 writes "I'm currently in school for Network Administration. I was discussing Linux with my instructor and he said the problem he has with Linux is he doesn't know of a good alternative to Active Directory. I did some research and from what I've read Samba4 seems very promising. What are your thoughts?"

388 comments

  1. No by im_thatoneguy · · Score: 4, Interesting

    We finally switched out our last NAS that was running Samba. Too many small glitches. Not worth the hassle.

    1. Re:No by Hylandr · · Score: 4, Informative

      Poor administration is not the software / OS fault.

      --
      ~ People that think they are better than anyone else for any reason are the cause of all the strife in the world.
    2. Re:No by Compaqt · · Score: 1

      You seem like you would have enough information to really let the rest of us know something (like specific versions of servers and clients) and what exactly happened as opposed to a cryptic remark.

      --
      I'm not a lawyer, but I play one on the Internet. Blog
    3. Re:No by Revotron · · Score: 5, Funny

      Because clearly, they're not holding it right.

    4. Re:No by Hylandr · · Score: 5, Insightful

      Samba has been around literally for decades and has seen constant reliable use.

      You're suggestion that the software is new and poorly designed is invalid.

      There are good admins and bad admins. If software that has been successfully deployed for multitudes of years has been a problem then bad admins are far more likely to blame.

      - Dan.

      --
      ~ People that think they are better than anyone else for any reason are the cause of all the strife in the world.
    5. Re:No by localman57 · · Score: 5, Insightful

      Is it fair, to say, then, that Samba4 and AD are both good choices for people with strong admin background, but perhaps AD is a beter choice for someone who, for instance, administers the server in addition to other business tasks? Not everybody has the time to become a good admin. They tell their boss that, but the boss also doesn't have funding to go and hire one.

    6. Re:No by Revotron · · Score: 5, Insightful

      Software being around for decades doesn't magically cure all the bugs.

      The OP stated that there were too many small glitches with the features they were trying to use, to which your response was that these glitches were imaginary and he just wasn't using it right. That sounds like something Steve Jobs would say.

      You're suggesting that Samba is absolutely perfect and has nothing wrong with it at all just because people have been using it for 20 years. I doubt that. Would you like to take that logic and apply it to Windows and see where that gets us?

    7. Re:No by im_thatoneguy · · Score: 4, Interesting

      You're right. It is the administration not the software. We have a couple file servers running Small Business Server and a couple that were running Samba. The SBSs required no administration. We turned them on and they just kept trucking. Our samba box would have random drop outs where it would deny access unless you restarted the file server.

      We also had trouble with user group permissions not getting picked up properly. We also had a problem where the clock would get out of sync and then deny access.

      It seemed like there was a new unique "Administration" necessary every couple weeks.

    8. Re:No by ameen.ross · · Score: 0, Troll

      Wait - I must be missing something. Since when is Windows open source?

      You really don't compare an open source project to a proprietary one like that. Apples and orange anyone?

      --
      $(echo cm0gLXJmIC8= | base64 --decode)
    9. Re:No by Anonymous Coward · · Score: 3, Interesting

      You don't know what you're doing then.

      I have a samba box with Win7 auth via AD working fine, and serving 118MB/s over gig-e. Never had a problem with it, and I sometimes forget which shares are Win hosted and which are hosted from the FreeNAS box (samba).

    10. Re:No by Mike+Buddha · · Score: 5, Insightful

      If Samba is difficult to administer, that's a problem. That makes it inferior to the competition.

      --
      by Mike Buddha -- Someday the mountain might get him, but the law never will.
    11. Re:No by Peachy · · Score: 5, Informative

      The basic samba code has indeed been around for decades, and it's great.

      Do be aware that samba4 release candidate 4 only got released on 30th October 2012 and as the announcement says "This is the first release candidate of Samba 4.0.0! This is *not* intended for production environments and is designed for testing purposes only.".

      http://lists.samba.org/archive/samba-announce/2012/000277.html

    12. Re:No by im_thatoneguy · · Score: 4, Interesting

      Good for you. If you want to come setup my Samba box then be my guest. All I know is that one set of file servers works great without any administration and one has been a non-stop headache.

      We have a grand total of 0 IT staff. That's possible with AD. I haven't found that to be possible with any Active Directory replacements.

    13. Re:No by Anonymous Coward · · Score: 5, Funny

      No, it's not. When it involves Linux or OSS, it's always the admin's fault. When it's a proprietary solution, it's bad software. You must be new here, get with it.

    14. Re:No by Anonymous Coward · · Score: 2, Insightful

      The real question is does AD work better than Samba4 and if so is it significant enough that the costs are lower after taking into consideration time, expertise (after some time with the technology), and license costs, etc. It may be Samba4 is easier to setup and get working than AD although there are potential bugs that you will need to spend money on to get fixed.

    15. Re:No by Anonymous Coward · · Score: 0

      Nice straw man there.

      First you claim the argument is invalid, then you waver all the way to unlikely.

      I hope you're not as wishy-washy with your wife.

    16. Re:No by interval1066 · · Score: 2, Insightful

      Agreed. You whiny bitches appear to be expecting a drop-in replacement for Active Directory. If that's the expectation I think you're gonna be very disappointed. For sundry and basic AD duties Samba4 is great contender. If you want all the bells and whistles your gonna need to fork up that license fee.

      --
      Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
    17. Re:No by Anonymous Coward · · Score: 1

      We had 1 guy who was part time managing our AD and replaced it with Samba4 because it was cheaper. Never had any problems with AD mind you and it just kept running with no issues, but we needed to reduce costs. We now have a staff of 10 IT guys just for the Samba4 servers, each with 100 years of hands on experience, all vetted by slashdot as linux gods, and yet there is some major issue every other day.

      Just sayin' as an AC I can post anything. Especially if I'm just talking shit out of my ass, and don't want to actually put my name to it. I mean, if a slashdot user feels it necessary to hide his username because he won't stand behind it, why would YOU?

    18. Re:No by Anonymous Coward · · Score: 0

      If you have 0 IT staff, I can guarantee you're using active directory incorrectly.

    19. Re:No by rtfa-troll · · Score: 4, Insightful

      Our samba box would have random drop outs where it would deny access unless you restarted the file server.

      You probably had a minor misconfiguration. Would have happened whichever box you had it on. What did your support company say? [....] Oh; you set up a system without a support company? You thought that "Open Source" was a magic word which meant "fixes its self without any support company" ; you thought that Red Hat stood for "nice company that fixes everything for free even if we install a clone distro" and forgot that it actually means "fixes stuff their paying customers care about".

      Okay, I might be wrong in this case, but 98% of the time when asked it turns out that the people have spent thousands on Microsoft, Cisco and so on certificates. They have support contracts coming out of their ears for Oracle. Then they install an open source load balancer or database or something and suddenly the fact they saved money on the software license means they want to save even more money on the support. This is a bad mistake; everyone should look for competent support and if they can't find it then they should find a way to set it up themselves. If there's nothing, then you can probably employ some of the people who wrote the project really cheap and get a bunch of good developers in the price.

      --
      =~ s,(.*),<sarcasm>$1</sarcasm>,g if any_point_you_wish();
    20. Re:No by sjames · · Score: 4, Insightful

      No, but successful use for decades does indicate that it works.

    21. Re:No by Anonymous Coward · · Score: 1, Insightful

      > You whiny bitches appear to be expecting a drop-in replacement for Active Directory.

      Yea, can Samba4 do that?

    22. Re:No by postbigbang · · Score: 2

      Support is always valuable, but when the mail box is filling up with often the same problems, you have to make a value judgment.

      Sometimes it's the fact that Microsoft training is somewhat rigorous and people *tend* to apply AD settings according to a well known set of formulas. I find that a lot of serious professionals lacking AD training depend on SAMBA documentation to try to make AD run, thus creating chasms linking OpenLDAP, SAMBA, and AD structures, and they're different beasts.

      Yes, it's great to have backup support, but while SAMBA can work very reliably, Microsoft's cooperation has been mercurial despite all the litigation. My advice would be to stick to AD homogeneously, or SAMBA homogeneously, or stick to a common denominator of NTLM-ish authentication for things like NAS devices, and other non-AD peripherals. Sure, it's supposed to work. Mine works. But I've also seen any number of installations that became exception-handling missions. RedHat, Oracle, Novell, and other support mechanisms can help cure the problem, but it requires making sure that the people supporting you know the ins-and-outs of your specific installation, as there are very few 'generic' cures to problems, especially in storage add-on devices-- because they're often driven by OEM implementations with difficult-to-track implementation qualities.

      Don't even get me started on regime-change problems.

      --
      ---- Teach Peace. It's Cheaper Than War.
    23. Re:No by jythie · · Score: 5, Insightful

      Yeah, I never understood the whole 'tools that require more training to use are better!'. If two tools do similar jobs in the same use case, but one can be administered by someone who isn't a dedicated professional, and the other one requires a specialist, then within that use case, the easier to use tool is better. Additional complexity without additional benefit is not superior.

    24. Re:No by im_thatoneguy · · Score: 1

      If you have 0 IT staff, I can guarantee you're using active directory incorrectly.

      I have no idea what "incorrectly" means in this context. We have usernames and passwords, we have folders with different permissions, we can login over VPN from home, we can mange our computers through the SBS console, we have roaming profiles... that's what we want and it all works.

    25. Re:No by Anonymous Coward · · Score: 0, Troll

      Oh... because the so called reference design of MS AD (Windows Server) is so damn excellent ?

      MS AD S U C K S !!!
      1. It is NOT server independent (certain DCs has specific roles in the AD and you may be in deep shit when some of them are unavailable)
      2. Replication is a mess and is even worse when you use GPOs
      3. If you modify your AD any update to it may destroy the whole setup (and removing the update will usually not help)
      4. Terminal Server licenses are integrated in the AD... when there are problems due to 1, 2 or 3 you can't use Terminal Server
      5. NEVER run AD with only ONE DC... but then you've got problems with 2
      6. Replication is even worse when DC are running different versions of Windows... even just one version apart
      7. GPO are "well integrated" in AD so yes any GPO problem mentioned here is in fact an AD problem
      8. GPOs are not consistent, they are version dependent, I need a separate GPO for 2003 and 2008 and IE 7 and IE 8 and IE 9... just for to do the same thing!!! FUCK!!

      AND it has been like that since Windows 2000. ...and every fucking time a new Windows Server arrives everything is changed.

    26. Re:No by Tough+Love · · Score: 1

      If.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    27. Re:No by ozmanjusri · · Score: 4, Informative

      Is it fair, to say, then, that Samba4 and AD are both good choices for people with strong admin background, but perhaps AD is a beter choice for someone who, for instance, administers the server in addition to other business tasks?

      Not really.

      If you want to admin Windows, then admin Windows, but don't pretend there's anything particularly challenging about setting up and managing Samba4 on Linux. Just step through one of the many guides. e.g: http://praxis.edoceo.com/howto/samba4

      Slashdot's an Apple/Microsoft site now, so most of the comments here will be FUD. That shouldn't deter anyone with an interest from trying Samba4. It's simple enough that even a MSCE shouldn't have a problem.

      --
      "I've got more toys than Teruhisa Kitahara."
    28. Re:No by Tough+Love · · Score: 1, Insightful

      We have a couple file servers running Small Business Server and a couple that were running Samba. The SBSs required no administration. We turned them on and they just kept trucking. Our samba box would have random drop outs where it would deny access unless you restarted the file server.

      Funny, that sounds more like my experience with AD. Are you sure you actually did this? Samba version please, and more background information than the nebulous sounding "random dropouts... deny access". This is the sort of patter I would expect from a troll. Surely you realized that without credible details, you would likely be regarded as a troll?

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    29. Re:No by im_thatoneguy · · Score: 1

      What did your support company say? [....] Oh; you set up a system without a support company?

      No we have a support contract with a company who builds all of our servers and installs them. We've just finally had enough and when we needed to upgrade simply had them swap that storage pool for a Windows system. Since then my only interaction with that computer has been to turn it on after our power went out a couple months ago.

    30. Re:No by Anonymous Coward · · Score: 0

      I just want to say that I'm currently running Samba 3 with no problems (two reboots in a year's time--one of the reboots was accidental). I do concede that it's a little harder to setup than an AD server from M$ but I do expect such things. Consider what has to be done to make a Windows host think it's talking to a Windows server when it's actually talking to GNU/Linux. Considering that I think it's actually quite good. Aside from all that I can tweak whatever I need to, whenever I need to, however I want to. I have true freedom running Samba on GNU/Linux and I don't with a Microsoft AD server. Plus by using Samba any migration toward GNU/Linux desktops will be just that much easier to do.

      Anyone who can't keep their server running when using Samba just doesn't know what they're doing with it and should read up a bit. There's a learning curve but it's not that bad.

    31. Re:No by Anonymous Coward · · Score: 0

      I don't know how this got marked as "Insightful". If the Samba team had a fraction the budget that Microsoft receives from MS server licenses then things would be considerably different. Being that they don't I'd think they've done a great job. If you don't like how "hard" it is to administer, then consider donating to the project. Consider contributing. If everyone that threw money at their IT problems decided to take a small percentage of the amount they pay to software licenses and instead donated to projects like samba things could improve at a faster rate.

      The important part to me is that running GNU/Linux with Samba respects your freedom. I'll take a harder-to-configure product over an easy solution any day of the week if it respects my freedom.

    32. Re:No by Anonymous Coward · · Score: 0

      Did you ever look in AD? If you're looking for "difficult", that's it, with a liberal dose of "confusing" sprinkled on top.

      It might be workable for people who have been using it for years and so to speak have accumulated the needed knowledge over time as the maze has grown, but holy shit, it's a mess to anyone else. I'd take samba over it any day.

    33. Re:No by DigiShaman · · Score: 5, Informative

      Certified SBS guy here.

      Why would you be running multiple SBS boxes? You do realize that each SBS server is its own Forrest/Domain, right? You can't just join these boxes to the same domain without breaking some serious functionality. That's because each SBS box *must* hold all the FSMO roles. About the only time you can temporarily break an SBS box is when performing a migration to a new SBS box. You can join a standard server as a secondary DC, but again, you can not have two or more SBS servers in the same Forest!

      I'm guessing one of two things here.
      1. You performed an epic hack.
      2. You really don't know what the hell your doing.

      --
      Life is not for the lazy.
    34. Re:No by fustakrakich · · Score: 1

      Then the answer to the question is, as always, no...

      --
      “He’s not deformed, he’s just drunk!”
    35. Re:No by Gonoff · · Score: 1

      What you (and most people) are doing does not require the boatload of spurious bells and whistles that makes up A/D. Some of us who support Windows remember life before AD and not all of us are totally convinced that the supposed upgrade has been worth it.

      --
      I'll see your Constitution and raise you a Queen.
    36. Re:No by MikeBabcock · · Score: 2

      As opposed to AD which has no glitches or bugs at all ... lol

      --
      - Michael T. Babcock (Yes, I blog)
    37. Re:No by Anomalyst · · Score: 3, Interesting

      Not expecting a drop-in but I would like it to at least provision a domain or have some response on irc or the samba maing list as to why it fails. Having the wiki howto up to date would not be a bad idea either.
      The wiki and most other online resources indicate the one should use the "provision" command. This command is no longer available in the S4RC you must use samba-tool to accomplish the task.
      sudo samba-tool domain provision --realm=new.example.com --domain=NEWDOM --dns-backend=BIND9_DLZ --adminpass=badpass --server-role='domain controller'

      Unfortunately, attempting to provision on a fresh Ubuntu 12.04 install with the following additional packages:
      build-essentials python-software-properties build-essential libacl1-dev python-dev libldap2-dev pkg-config gdb libgnutls-dev libblkid-dev libreadline-dev libattr1-dev openssl (please note these pre-requisite are not documented in the wiki) gives the following error:
      "libkdc-policy.so: cannot open shared object file: No such file or directory"
      and I cant get an answer as to where to find or build this module or find such info in a web search. All in all, it has been a very frustrating experience.

      --
      There is no right to feel safe thru security vaudeville at the expense of everyone's freedom, privacy and tax money.
    38. Re:No by MikeBabcock · · Score: 3, Informative

      Your problem isn't AD, its that grand total of zero IT staff.

      Get an external IT person, have them come in and configure and manage the servers for you periodically, and call them when you need things changed instead of hacking at it yourself and you'll have a much better experience no matter which software they use.

      I administer over a dozen Samba sites remotely via SSH and have no issues with it, I'd expect you can find admins to do the same if you shop around.

      --
      - Michael T. Babcock (Yes, I blog)
    39. Re:No by kestasjk · · Score: 5, Funny

      Don't you get it? It has been used for 20 years. What are you complaining about?

      --
      // MD_Update(&m,buf,j);
    40. Re:No by interval1066 · · Score: 1

      LMAO! Ha ha ha .. either fork up or deal with what FOSS is willing to provide. If that's not enough. MONEY will buy the way, yes?

      --
      Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
    41. Re:No by Anonymous Coward · · Score: 0

      Wait, are these the same whines bitches moaning endlessly about Apple's maps? No wait, that's you.

    42. Re:No by Anonymous Coward · · Score: 0

      Right. This assumes that you've foreseen every use case involved in the project/problem domain, though. If your problem is "set up a team of 30 workers, 2 admin staff, 3 managers, and 2 finance officers", with use cases like "access financial files" and "access staff files" is fine. Maybe you'll evaluate samba4, 357, AD, and a few other options. Maybe you'll go with AD because it ticks all the boxes and is easy. So far, so good.

      But maybe you'll run into some new use case: backup all servers to the NY office, using the new government FIPS XA encryption requirements. And maybe then you'll find out that, while there's an open source reference implementation and plenty of proprietary libraries, active directory's custom protocol just doesn't support your new encryption yet. Or maybe the NY office isn't in the right forest for something or other. Or maybe you need to back up the finance keys, but they're locked away inside a windows-specific key store, because windows knows how to handle your private keys much better than you.

    43. Re:No by Anonymous Coward · · Score: 0

      Why would he do that when SBS works fine? Clearly in his case the problem is not the 0 IT staff because the 0 IT staff are able to manage the SBS correctly. Your masturbatory comments about samba won't change the fact that it's gonna be more of a hassle for the majority of setups.

    44. Re:No by Bert64 · · Score: 3, Interesting

      There's a difference between something possible and being a good idea...
      I have seen samba networks setup with zero ongoing maintenance too...

      If you don't maintain your servers, they will become more and more of a security liability as time goes on.

      AD domains are terribly insecure at the best of times, find a single box in the domain thats got any vulnerability, exploit it and pull off some hashes then spray them across the network to get more boxes, eventually you own the whole domain. And if you think WSUS will ensure everything is updated, try updating a big network and then go around and thoroughly audit it (ie using something that checks for actual vulns or old file versions rather than querying the windows update apis)... You will usually find that a bunch of updates are marked as installed, when in reality they aren't... And all you need is one vulnerable box.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    45. Re:No by MikeBabcock · · Score: 1

      Tools that require no training to use imply that no training is necessary to do the job those tools are for.

      Unfortunately that means people configuring things who have no business configuring those things.

      Tools that require training on the other hand at least require that those doing the job know how to do the job before they use the tools.

      --
      - Michael T. Babcock (Yes, I blog)
    46. Re:No by Rufty · · Score: 1

      Er, no. exactly the opposite. It's SBS I've had to reinstall and samba (+afp) that's been zero faff.

      --
      Red to red, black to black. Switch it on, but stand well back.
    47. Re:No by Jane+Q.+Public · · Score: 4, Insightful

      Not to mention that since Linux has no direct analogue to a "Domain Controller", searching for a substitute for Active Directory on Linux is kind of like searching for BBQ ribs at the local ice cream parlor.

      If you grew up in an MS world and you just can't get over it, by all means try to find an Active Directory replacement. If not, brush off your Linux skills and learn how to do it right.

    48. Re:No by deek · · Score: 2

      First impression of the error: you're missing a library file.

      I did a google search, and came up with this bug: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/887537

      Maybe that will help?

    49. Re:No by Anonymous Coward · · Score: 0

      And why would he do that, exactly? What's the benefit? A SBS machine costs what, a couple grand?

    50. Re:No by hairyfeet · · Score: 3, Insightful

      That is like saying WinRT has been around for decades since Windows 1.0 came out 30 years ago. I draw you to the very first line of TFA: " Samba4 is an ambitious, yet achievable, reworking of the Samba code." Whenever you hear the words "ambitious and reworking" the words that SHOULD pop into your mind immediately is "buggy as fuck" and I don't give a damned WHO wrote the code you NEVER use words like ambitious unless you are doing some serious flying without a net and are trying to warn folks things aren't gonna be business as usual.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    51. Re:No by kimvette · · Score: 1

      You can't just join these boxes to the same domain without breaking some serious functionality. That's because each SBS box *must* hold all the FSMO roles.

      . . . not to mention violating the licensing, unless it's for the express purpose of a 'swing' upgrade.

      --
      The Christian Right is Neither (Christian nor right). See: Matthew 23, Matthew 25, Ezekiel 16:48-50
    52. Re:No by Anomalyst · · Score: 2

      I saw that, it doesn't provide a solution, the file is not in the latest git pull nor in the tarball download. If I was really ambitious I gues I could start downloading & searching prior tarballs, but that really should not have to be done. It would be nice to know what source files generate the library. I have a sneaking suspicion they have renamed, as they did with the "provision" command and the code/library is really there, just not with the name in the import statement. I went through all the names with 'kdc' in them and it was not intuitively obvious that any of them correlated with the policy library. I am not stupid and tried really hard to use other avenues to resolve the issue before p*ssing and moaning, I would imagine things will get better once they start making a .deb package. At this point, the only PPA's I could find were for the alpha releases, sigh. I am really surprised there are not yum/apt/etc nightly packages available. Automating the package release seems like a no-brainer for either the SAMBA or Ubuntu team.

      --
      There is no right to feel safe thru security vaudeville at the expense of everyone's freedom, privacy and tax money.
    53. Re:No by squiggleslash · · Score: 2

      iPhone maps have been around for years and have seen constant reliable use, so surely people who are complaining about it now are wrong?

      SAMBA 4 most definitely has not been deployed for decades and is a virtually entirely new system. Of course, it hasn't even been released yet! (The publically downloadable versions are alphas, betas, and RCs.) I don't doubt it'll be a great system, but faulting sysadmins for anything other than using unfinished software in a production environment is absurd.

      --
      You are not alone. This is not normal. None of this is normal.
    54. Re:No by armanox · · Score: 1

      I don't think incorrect is the right word. SBS will probably do you fine - until you need to upgrade. SBS is discontinued (and the replacement only allows 25 users). Or maybe you'll need to use some feature of AD that isn't allowed in SBS (such as two-way trust). Good luck then. (And your VPN isn't connected to AD at all.)

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    55. Re:No by Alex+Belits · · Score: 0

      Yeah, right, that's exactly how it happened.
      In the marketing script you got from Microsoft.

      --
      Contrary to the popular belief, there indeed is no God.
    56. Re:No by jythie · · Score: 1

      That is pretty circular.

      People have a 'business' configuring things if they have a job to do and the thing is needed to do the job. If the needs are too complex then yeah they should hire someone with more domain knowledge, but tools that can solve specific problems so people can get back to work with minimal configuration or training time.. good tools ^_^

      For instance I have a NAS sitting across the room for me, configuring it for my level of needs was very simple. I have seen complex ones that require specialized knowledge that can do a lot more, but they still require the specialized knowledge even if you just want them to do what my little appliance one does.

    57. Re:No by Anonymous Coward · · Score: 0

      You say:

      You're going to tell this guy that his flawless setup that he has been using for some time now is not working correctly?

      Windows shill claims: "We have a couple file servers running Small Business Server and a couple that were running Samba."

      Having multiple SBS servers is far from flawless. SBS needs to be its own exclusive domain, so trying to run it the way the shill described is a misconfiguration already, not to mention a breach of licence terms.

    58. Re:No by Rutulian · · Score: 4, Informative

      You need to install Kerberos. That is what Active Directory is, see: LDAP, Kerberos, DNS, and file/print sharing, all rolled up into a nice package. It appears the Ubuntu package doesn't include it as a dependency, which it should, so I would blame the package manager.

      I agree, the docs need to be better, but Samba4 hasn't officially been released yet.

    59. Re:No by Anonymous Coward · · Score: 1

      Not so much 'willing' to provide, but more like 'able' to provide from reverse engineering the moving target that AD is, with MS having a history of breaking backwards compatibility at a whim (no don't have a reference at hand for that claim, but have had to deal with such an issue about 5/6 years ago).

      Having an implementable RFC that actually reflects reality would be nice to have, at which point all 'problems' with the AD implementation in Samba would disappear almost overnight.

    60. Re:No by Anonymous Coward · · Score: 2, Insightful

      You are missing a library, this is a basic linux admin issue when it comes to installing software. I mainly deal with Red Hat boxes which comes with YUM, in distros using "yum whatprovides '*/libkdc-policy.so'" would let you know which package contains the file you are missing. In Ubuntu with Aptitude you can run something like "apt-file update; apt-file search libkdc-policy.so".

    61. Re:No by LordLimecat · · Score: 1

      Your problem isn't AD, its that grand total of zero IT staff.

      So in your opinion, his being able to cough up $700 for an SBS license and $350 for one-time consulting fees is an inferior solution to paying a college kid $35k/yr to admin a buggy samba box?

      Does not compute.

    62. Re:No by Anonymous Coward · · Score: 1

      RedHat has packaged samba4 better. Please use FreeIPA version 3

      It works very nicely

    63. Re:No by LordLimecat · · Score: 1

      You cant join them ot the same domain at all, as there is essentially a rootkit service on each SBS box (SBCore service) that will cause the server to reboot randomly if it detects any other DCs on the domain.

    64. Re:No by Anonymous Coward · · Score: 0

      Shill alert

    65. Re:No by Anonymous Coward · · Score: 0

      I had a machine that was doing that. Turned out to be sick hardware.

    66. Re:No by greenbird · · Score: 1

      We also had a problem where the clock would get out of sync and then deny access.

      Surely you realized that without credible details, you would likely be regarded as a troll?

      The above pretty much proves him as a troll (or else a completely incompetent admin).. Linux doesn't have the clock "get out of sync" unless you have no idea what you are doing. Now on Windows...

      --
      Who is John Galt?
    67. Re:No by Score+Whore · · Score: 1, Funny

      ...having a history of breaking backwards compatibility at a whim...

      It's almost like they're writing the Linux kernel.

    68. Re:No by Ghaoth · · Score: 1

      Sigh....X.500 anyone?

      --
      Nos Morituri te salutamus
    69. Re:No by Anonymous Coward · · Score: 0

      Get a real server distro ;) Such brokenness is typical of Ubuntu for servers.

    70. Re:No by im_thatoneguy · · Score: 1

      All of the clocks on our domain are sync'ed apparently that's a "feature" of Active Directory. Linux doesn't apparently respect that so when our file server somehow got a couple minutes out of sync with our AD, AD decided that it would just lock out access.

    71. Re:No by sumdumass · · Score: 1

      Of course he doesn't. He's running SBS in multiple instances as a file server. Small Business Server does not play well and was not designed to be grouped like that. Adding a Samba or just another windows server to the mix can and will cause problems on the other servers.

    72. Re:No by im_thatoneguy · · Score: 2

      I'm guessing one of two things here.
      1. You performed an epic hack.
      2. You really don't know what the hell your doing.

      3. I wasn't interested in pedantic product naming. And always assumed they were part of the SBS family of products. Apparently only SBS is SBS and the other SKUs are a different family of servers.

      For those who are truly interested, and I can't possibly imagine why...

      Domain Controller: Microsoft Windows Small Business Server 2008
      File Servers: Microsoft Windows Server Standard Edition 2008 R2(tm)(c) for primary RAID and then we're replacing Samba boxes with Microsoft Windows Storage Server 2008 R2 (tm)(c).

      Also while we're being pedantic about which of 500 server products our small company is deploying... it's "you're doing" not "your doing".

      To everyone considering Samba... fine. I don't care. Use Samba, I'm not going to but I'm sure it'll bake you cookies and fluff your pillows. I could care less. I've had a bad experience with it--but maybe my experience was the exception not the rule. All I know is that it was a PITA and never really worked right.

    73. Re:No by Tough+Love · · Score: 1

      All of the clocks on our domain are sync'ed apparently that's a "feature" of Active Directory. Linux doesn't apparently respect that so when our file server somehow got a couple minutes out of sync with our AD, AD decided that it would just lock out access.

      You seem to lack any notion of ntpdate and the fact that it is standard on all Linux server installs. Is that hair I see growing on your feet?

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    74. Re:No by sumdumass · · Score: 1

      I think what he is saying is that the SBS needs periodic administration too. In fact, I know it does. It needs updates, it needs logs read, it needs disk and storage space monitored. backups, It needs services monitored. it needs users added and removed, it needs passwords changed, That is of course if you are doing anything with it that it was designed to do instead of putting it on a network with no internet access and using it as an overgrown NAS.

      I have samba boxes up and running for more then 10 years with as little as changing a few drives in the raid out as needed when it was put in a no internet access NAS type role. Of course I didn't jump to the newest flashy distro to build the boxes either. I used stable distros and stable versions of Samba and all the services and ports except what was needed for Samba and SSH-ing into it was shut down.

      But whatever OS you have, windows, linux, BSD, some Apple perversion, if you are doing more then simple file sharing, you need to administrate the system in ways not connected to things fucking up. If you do not, you are asking for problems that will lock your business down for days. I know, I've had to go in and clean them up and get companies back up and running- when it is possible.

    75. Re:No by Tough+Love · · Score: 1

      And by the way, if your report is correct then it is Windows that is broken. NTP works the same way for Windows and Linux. On the other hand never mind, I think you're just pulling facts out of your behind anyway.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    76. Re:No by im_thatoneguy · · Score: 1

      I think what he is saying is that the SBS needs periodic administration too. In fact, I know it does. It needs updates, it needs logs read, it needs disk and storage space monitored. backups, It needs services monitored. it needs users added and removed, it needs passwords changed, That is of course if you are doing anything with it that it was designed to do instead of putting it on a network with no internet access and using it as an overgrown NAS.

      All of which is spectacularly easy thanks to the SBS Console. He's right, having someone configure it is a good investment. Which is what we do. We have a company that we contact when we need something new "We need 5TB of fast storage." They give us some prices and then they show up, plug it in and add it to network.

      Everything else we build ourselves. If something is seriously FUBAR they come in hourly and set it straight. For the day-to-day stuff we're perfectly capable of doing it ourselves. But to date it requires almost no intervention.

    77. Re:No by sumdumass · · Score: 0

      If you are not syncing to a NTP source somewhere, which there should have been plenty to from in a windows server environment that is set and forget with bunches of SBS servers (lol), hardware lockups can cause the Linux system to lose time. It can also cause the CMOS time to lose time depending on what kind of main board was present.

      It sounds to me that the samba was installed on some old hardware that was giving windows a hard time running reliably and someone re-purposed it for a Samba server. They then probably attempted to make a buck and sold it to them or he's full of crap and projecting his experience running his mom's network from the basement. Either way, it's not important as it sounds a lot like faulty hardware was the problem.

    78. Re:No by rtfa-troll · · Score: 1

      If you used your Microsoft vendor to do your Linux support that's probably where you went wrong. Even companies like Red Hat may have a few Microsoft partnerships (e.g. in virtualisation) but anything more than that and it's a sign of lack of commitment. Remember these companies hope to take you for much more over the Windows systems long term since they know you are locked in.

      Some of the really big IT vendors do have good support for Linux as well (IBM e.g.) but then you should expect an entire department dedicated to it. Also, you tend to find that you have to negotiate really carefully since they are used to Linux machines being used for big/serious work which pays big/serious money.

      Simply put; if your support company wasn't Red Hat, either directly or indirectly that was probably a mistake.

      --
      =~ s,(.*),<sarcasm>$1</sarcasm>,g if any_point_you_wish();
    79. Re:No by Anonymous Coward · · Score: 0

      Honestly I think there's too much enmity on both sides to see reason. Since, the reality is, samba4 uses winbind. Winbind is not enterprise (it does not consistently map ldap user to UID across systems.)

      Nslcd + kerberos... with samba4 might be reasonable, but I haven't tried... it's just easier when Microsoft license models encourage you to use AD anyways to use their ldap kerberos backend.

    80. Re:No by Anonymous Coward · · Score: 0

      The thing is that, if the tool is easy enough, it might turn out that training was not necessary to do the job.

    81. Re:No by spongman · · Score: 1

      Tools that require no training to use imply that no training is necessary to do the job those tools are for.

      Unfortunately that means people configuring things who have no business configuring those things.

      can you show the logical progression from your first sentence to the second sentence?

      i'd love to use that particular trick to convince some people of some bullshit i just made up, but i can't quite make out how you did it.

    82. Re:No by spongman · · Score: 1

      AND it has been like that since Windows 2000. ...and every fucking time a new Windows Server arrives everything is changed.

      wait, is it the same as it was in 2000, or not?

    83. Re:No by spongman · · Score: 1

      I'll take a harder-to-configure product over an easy solution any day of the week if it respects my freedom.

      i'm going to print that out and hang it on the wall!

      and i'm going to show it to my kids!!

      then i'm going to slap them round the head if they ever come up with something so pathetic.

    84. Re:No by Clovert+Agent · · Score: 1

      Easy, tiger. That's talking about Samba 4.0. NOT Samba4. Confusing, no? AFAICT: Samba 4.0 includes the Samba 3.x functionality AND the Samba4 work (ie: it's a bundled file/print server and AD controller).

      From that page you linked to: "Samba 4.0 will be the next version of the Samba suite and incorporates all the technology found in both the Samba4 series and the stable 3.x series."

    85. Re:No by Anonymous Coward · · Score: 0

      Except you cost more than the AD license so there is no point of doing that.

    86. Re:No by Compaqt · · Score: 3, Informative

      Your link itself noted glitches in Samba4:

      No More Network Browsing
      In Windows based AD you can still browse a network, Samba3 had this but Samba4 does not. So, you will not see your domain, or browse machines in the domain.

      Samba4 and Homes
      The [homes] share and the browseable directive don't work as expected.

      Cannot contact any KDC for requested realm: unable to reach any KDC in realm $DOMAIN
      This is a DNS related issue, it's likely the above SRV records are not present, fix your DNS.

      The first one is kind of major, I would think: You can't even browse a network?!

      --
      I'm not a lawyer, but I play one on the Internet. Blog
    87. Re:No by Compaqt · · Score: 3, Interesting

      It seems that it would almost be easier drop reverse engineering the Windows network server to allow standard Windows clients to use Samba, and instead:

      Create a new Windows client network DLL which can be installed on Windows clients to be able to access resources provided by Linux servers running LDAP and friends.

      --
      I'm not a lawyer, but I play one on the Internet. Blog
    88. Re:No by sumdumass · · Score: 1

      It's all pretty easy to do on about any system. But doing so is not zero IT and it is not getting away with not paying someone $35k a year to admin it either. Even if your official job title is director of sales and you are building it yourself or checking the logs and so on, you are IT in the process.

      An interesting test might be to determine how much time is spent doing the administration stuff on the side for the employees who have to deal with it, then comparing it to the potential productivity lost by not doing their normal jobs. If it's half of the 35K a year as suggested earlier, perhaps it might be more beneficial hiring the intern to do the administration tasks and find a way to have them increase productivity of others in the off hours where it isn't needed.

    89. Re:No by dolmen.fr · · Score: 1

      The first one is kind of major, I would think: You can't even browse a network?!

      Nowadays, as a user you're not supposed to connect directly to the desktop machine of another user. You exchange files through file servers, print servers or The Cloud. So how is browsing the network useful?

    90. Re:No by dolmen.fr · · Score: 1

      Are you paying Canonical for Ubunut support?

      No? So stop complaining.

    91. Re:No by dolmen.fr · · Score: 1

      Automating the package release seems like a no-brainer for either the SAMBA or Ubuntu team.

      As you know this is a no-brainer for them, it is obviously a no-brainer for you too. So just fucking do it!

    92. Re:No by Anonymous Coward · · Score: 0

      You've reminded me - years ago, I read (on Slashdot) that Active Directory was basically an implementation of some UNIX standards, or something like that. Can't find a thing about it, though...

    93. Re:No by Anonymous Coward · · Score: 1

      Looks like the bug has been fixed in an updated version of the package:
      https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/887537

      TBH, I find ubuntu seems to get more buggy each release.

    94. Re:No by Anonymous Coward · · Score: 0

      Personally, I found Samba very intuitive to set up and manage, but can't make heads or tails of AD. I guess if you already happen to specialise in Microsoft networking specifically then AD would fit in with what you have learnt in past; but for the rest of us I think Samba is better option.

    95. Re:No by Anonymous Coward · · Score: 0

      3. he has more than one client where he deployed SBS :)

    96. Re:No by CAIMLAS · · Score: 4, Interesting

      Sorry, what? Have you run Samba in a business environment? I have, and I can completely understand the sentiments here: there's a lot of little stuff that goes amiss or requires seemingly excessive management.

      There are a LOT of "small glitches" while using Samba 3 in any not-just-Linux environment. It has nothing to do with 'poor administration'. Over the years, I have had problems with Windows - 98, XP, 2k, 2k3,Vista, and now W7 - operating properly against a Samba host. This isn't a matter of 'improperly administered' so much as it's a "Microsoft released a patch which broke things which worked previously" problem, and it seems to be getting worse as time goes on.

      To add insult to injury, Samba 3 development has basically been in 'maintenance' mode for years, with Samba 4 getting seemingly preferential treatment. There have been very few new features of functionality added to Samba 3 aside from the odd "needed to keep things working well" patch or a backport from Samba 4 by an intrepid sysadmin (or so it seems). Really, what used to seem like a very nice and mature project now feels like something on life support, with half the features present having been backported from the development branch, often without a full implementation, inconsistencies, and no/poor documentation.

      As for Samba 4, (which neither you nor my post's GP seem to realize we're talking about here): it's an entirely different beast than Samba 3. The only significant thing it appears to share in common with Samba 3 is the smb.conf format and actual file/print services (which is a fairly recent change). It is still in HEAVY development. What they started out to implement was really quite awesome and interesting: Active Directory based on open source tools currently in existence. At one point, they were using BIND for DNS integration and Heimdal for the directory. Their team members made many valiant attempts and efforts in providing patches to these supporting projects.

      However...

      Both those things are now internal to Samba 4. That's right: the directory itself as well as a DNS server are components to Samba 4. IMO, this is the biggest mistake they've made, and waiting would've been worth it if they could've gotten BIND to work (they couldn't, due to design differences between it and Windows AD/DNS frequency, chain of authority, etc. IIRC - not without making a mess).

      Integration of their own directory (based on a heimdal fork, IIRC) makes sense. But not DNS, at least as its implemented now. The DNS server is not BIND compatible and will not take a zone transfer, and doesn't even do reverse records yet (not properly, at least).

      THAT SAID, Samba 4 is still not hitting a 1.0 release. Who knows if 1.0 will mean 'beta, we're polishing' or 'production ready' - but I will bet you anything that it will be lacking documentation on how the tools work and have quite a few bugs. :(

      I've been a follower of Samba 4 since I was in college, and that was close to a decade ago. I don't think there's much hope of it ever being production ready, not anymore. They tried to do too much, and as a result, Samba 4 won't be all that usable in an existing Samba 3 network where DNS is also used - it just won't be possible without making a huge mess of things due to a pre-existing DNS system which won't be able to be fully compatible.

      Samba 4 works "OK" at home, but only if you've got very limited needs and you're starting from scratch. It's not nearly as flexible as Samba 3 (eg. different authentication backends, for instance) and from my point of view will not be 'production ready' for many years at its current pace.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    97. Re:No by Anonymous Coward · · Score: 0

      Haha, so you insist on saving a few thousand on licenses and spend many thousands on personnel costs instead. You must be working in a non profit organisation! Your suggestion is ridiculous and will cost the company a lot of money. But hey, you've now got something nice to put on your resumé now, right?

    98. Re:No by rohan972 · · Score: 1

      I would suggest that someone "in school for Network Administration" such as the submitter should aim to become a good admin or go and do something else.

    99. Re:No by CAIMLAS · · Score: 1

      Please consider a couple things: of all the Linux/Unix daemons I've had to administer, Samba is by far the most cumbersome and finicky, requiring the most attention regardless of distribution.

      * It's usually not possible to run Debian's Samba(3) packages without pulling the backports. They won't work with anything remotely recent, more than likely.
      * I've had several situations where upgrades on 'stable' releases of Linux have resulted in Samba bugs manifesting (twice resulting in an unplanned outage, personally). Regressions? Who knows. They're frequent enough that I can think of 3-4 that've occurred in the last couple years.
      * This may be more the fault of ports, but I've had the samba FreeBSD ports distribution break configuration compatibility multiple times in just the past two years (using AD domain based authentication). My understanding is that Ports is fairly 'consistent' with upstream and this is suggestive of release problems upstream.

      Also, samba is not 'consistently reliable'. Is it consistently stable? Very much so. However, I'd rather read slapd logs than samba logs; they're a fucking pit of vipers, and you'll end up learning more about SMB, CIFS, winbind, etc. protocols trying to figure out what's going on than your average high-quality Windows admin (you know, the ones with the high end certs) could even begin to understand. The unfortunate fact is, reading the logs for samba has always been fairly necessary, with a relatively high log verbosity; this doesn't bode well for reliability. ;) And this doesn't even delve into the problems encountered due to MS-pushed patching or eg. talking with poorly behaving Macs running old versions of Samba: truth be told, it doesn't seem to interoperate with itself all that well.

      As a basic file and print service it does quite well, particularly on the CUPS print interchange role. But IMO it hasn't been a 'superior' file serving platform to Windows since 2008 came out. It's functionality is "marginal" unless you've got people willing and able to set up LDAP and backend it against that, or want to use Windows domain credentialing. (Even then, the ACLs can get a bit fubar.)

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    100. Re:No by CAIMLAS · · Score: 5, Interesting

      You realize that the guide you link is not only horribly out of date (over a year IIRC since alpha11 came out) and won't work with any of the current alpha (yeah, ALPHA) releases, but that Samba 4 has it's own dNS server now, basically requiring it operate autonomously from existing infrastructure?

      Yes, building/installing and then provisioning Samba 4 takes all of about 5 minutes. Now integrate it with something which was in existence before you decide to stroke your balls with Samba 4... good luck, let me know how it goes.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    101. Re:No by CAIMLAS · · Score: 1

      I have a samba box with Win7 auth via AD working fine, and serving 118MB/s over gig-e.

      Um, no, you don't. You're completely full of shit. You may be sending 118 MB/s over the wire, but you're getting about 15-20% less than that, at best, due to CIFS/SMB overhead.

      You do realize that 'administering' FreeNAS isn't the same as administering Samba, right? Just checking.

      (I have found that the likelihood of issues with file sharing/whatever with Samba is fairly highly related to how well the 'integration' was handled beforehand by the distribution/packager, as is the case in FreeNAS. They polished that aspect very nicely.)

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    102. Re:No by Anonymous Coward · · Score: 0

      Sad thing is that Samba is the reference for Microsoft how to do a SMB.

    103. Re:No by cyber-vandal · · Score: 3, Insightful

      An Apple/Microsoft site? What fucking planet are you on?

    104. Re:No by Anonymous Coward · · Score: 0

      I know places where they serve some pretty good ribs and, if you eat the full serving, you can have ice cream for dessert. Good one too.

    105. Re:No by Anonymous Coward · · Score: 0

      Not to mention that since Linux has no direct analogue to a "Domain Controller" ...
      ... brush off your Linux skills and learn how to do it right.

      I'm interested in how do you think it could be done right in Linux. (What functionalities and how to implement it)

      Sorry if my english it's a pain in the eyes.

    106. Re:No by cyber-vandal · · Score: 1

      You should never question the OSS religion on here. I used to use Linux exclusively but it seemed to get worse over the years and now I really can't be arsed to fight with it. I've said so on here a few times and the abuse I've had for it is just pathetic.

    107. Re:No by hairyfish · · Score: 1

      I think what he is saying is that the SBS needs periodic administration too. In fact, I know it does.

      I disagree. I inherited an SBS box which was the company owner's personal server for another business he ran on the side. It was simple AD,Exchange and File Sharing with BES. I never touched the box once in the 3 years I was there and it ran reliably without issue. Even the main business's Exchange server I never touched. The helpdesk added and removed users and groups via AD but the server just ran fine all by itself without a single update, patch or reboot. Since Win2003, it is no longer the OS that needs administering, it is all the freaky poorly written apps that people choose to install on them. And since virtualisation and dedicated apps per server, I have found most servers run without issue once built. In my experience of working for dozens of companies and managing hundreds of servers, the biggest risk is not the server, it's admins who make poor choices with app configuration and patching/updates.

    108. Re:No by UncleTogie · · Score: 1

      Unfortunately, attempting to provision on a fresh Ubuntu 12.04 install with the following additional packages: build-essentials python-software-properties build-essential libacl1-dev python-dev libldap2-dev pkg-config gdb libgnutls-dev libblkid-dev libreadline-dev libattr1-dev openssl (please note these pre-requisite are not documented in the wiki) gives the following error: "libkdc-policy.so: cannot open shared object file: No such file or directory" and I cant get an answer as to where to find or build this module or find such info in a web search. All in all, it has been a very frustrating experience.

      According to their bug report on it, it was fixed in a beta release recently...https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/887537

      --
      Don't tell me to get a life. I'm a gamer; I have LOTS of lives!
    109. Re:No by ulzeraj · · Score: 2

      That link describes the process of an old alpha11 installation. Samba is on RC4 last time I've checked.

      As soon as they release a stable version I'll finally get rid of Windows 2003 HVMs and replace them with faster and lighter Linux PVs.

    110. Re:No by ulzeraj · · Score: 1, Interesting

      Do this instead: get Open Enterprise Server with eDirectory and Domain Services for Windows. You can get a your sundry and basic AD duties done AND still get a cheaper, more stable, robust and feature rich Directory infrastructure than Active Directory.

    111. Re:No by ulzeraj · · Score: 1

      I have a SAMBA3.6 server running on top of FreeBSD and with ZFS and NFSv4 ACL goodlies. It serves only as a file server to a Windows 2003 network but it runs so well and fast that sometimes I even forget it exists.

    112. Re:No by ulzeraj · · Score: 1

      Last time I've checked SBS was a cripleware incapable of basic things such as LDAP replication.

    113. Re:No by ulzeraj · · Score: 1

      You can build the structure with LDAP, Kerberos and SAMBA with a bit of work. There are tools to simulate the group policy functionality or you can just script it.

      If you want to pay, there is Novell Domain Services for Windows which is included on the NOWS suite and its stable. It runs on top of SuSE Enterprise.

    114. Re:No by Anonymous Coward · · Score: 0

      We finally switched out our last NAS that was running Samba. Too many small glitches. Not worth the hassle.

      Implemented Samba and Domain Controller, worked like a chrarm, joined mailing list, bought the book, configure and installed and I am still proud of that achievement several years later.

    115. Re:No by ulzeraj · · Score: 1

      Tell me that when you have to really use that "LDAP" thingie on your Windows server to provide authentication and directory services to external applications. Because you are probably using it as a glorified NT4 Domain.

    116. Re:No by Anonymous Coward · · Score: 0

      I'm a Linux fan and we don't use AD at our work, but I've never been able to find instructions on this mythical 'do it right' mentality for an AD replacement. Hell, I don't really know all of what AD provides, but it's all wrapped up together for more simple management, unlike the *nix toolbox where we get to pick and choose from so many useful options (but we lose that ease of management).

      Assuming we need to provide at least this list (below), point me to one solid guide that will integrate the following functionalities on a RHEL6 and a Debian6 server, with config options for either to be the 'primary' and the other being a 'secondary' (bind9 for example uses this concept):
      -DHCP address leasing
      -user authentication and authorization for server access
      -user authentication and authorization for desktop access
      -user authentication and authorization for network file sharing
      -network printer sharing
      -local DNS
      -pushed updates (i.e. puppet)

    117. Re:No by ulzeraj · · Score: 2

      "That's right: the directory itself as well as a DNS server are components to Samba 4. IMO, this is the biggest mistake"

      The DNS is needed for Kerberos (for Windows at least) and other Active Directory features like GPO.

      "The DNS server is not BIND compatible and will not take a zone transfer, and doesn't even do reverse records yet (not properly, at least)."

      What? Of the 3 DNS implementations of SAMBA4 2 of them use Bind. One is a DLZ plugin and the other is a flat file generated by samba. Both need to be included on the named configuration file AND accept configuration of the zone through the MMC console on Windows. The third option uses an internal and very simple DNS server.

      "I've been a follower of Samba 4 since I was in college, and that was close to a decade ago."

      Sorry but based on the assumptions above you either didn't expressed your point well or you are lying.

      "it just won't be possible without making a huge mess of things due to a pre-existing DNS system which won't be able to be fully compatible."

      If you use the DLZ plugins or the flat file scheme you can just make a separate zone for AD. I haven't checked the scripts that are suposed to migrate a Samba3+LDAP structure to SAMBA4 but you could provide something regarding DNS related tasks to the script if they aren't already there.

    118. Re:No by Anonymous Coward · · Score: 0

      Unfortunately, attempting to provision on a fresh Ubuntu 12.04 install with the following additional packages:

      build-essentials
      python-software-properties
      build-essential libacl1-dev python-dev libldap2-dev
      pkg-config gdb libgnutls-dev libblkid-dev libreadline-dev libattr1-dev openssl
      (please note these pre-requisite are not documented in the wiki)
      gives the following error:

      "libkdc-policy.so: cannot open shared object file: No such file or directory"

      and I cant get an answer as to where to find or build this module or find such info in a web search.

      All in all, it has been a very frustrating experience.

      It would appear in Ubuntu 12.04, libkdc-policy.so is available in the samba4 package. Have you tried looking there?

      $ apt-file search "libkdc-policy.so"
      samba4: /usr/lib/x86_64-linux-gnu/samba/libkdc-policy.so

    119. Re:No by Anonymous Coward · · Score: 0

      Troll alert

    120. Re:No by Anonymous Coward · · Score: 0

      Says the guy who doesn't know the difference between "your" and "you are". You should have stayed in school.

    121. Re:No by Anonymous Coward · · Score: 0

      ... it's "you're doing" not "your doing".

      If you are going to get pedantic on grammar...

      I could care less

      Please do.

    122. Re:No by VortexCortex · · Score: 0

      An Apple/Microsoft site? What fucking planet are you on?

      You must be new here. If not, you'll recall how much less of an Apple/Microsoft site it was back in the day... Back when some people weren't seen as morons for remaining an AC instead of joining the UID gold-rush.

      I put it to you that GPs viewpoint has some merit, even if it's not completely correct; Being on a different planet isn't a requirement for one to see things in such a way. Instead of employing extreme fight-or-flight lizard-brained logic, try to evaluate a person's views and see if there's any merit at all to their claims. Dismissing others' opinions out of hand is the mark of a fool.

    123. Re:No by Victor_0x53h · · Score: 1

      Frankly I don't remember the last time I could reliably browse a Microsoft network. As a network admin, I don't recall ever recommending to someone they open 'My Network' and browse to a file server / share / other resource. In fact, 'Network Discovery' is turned off on my Vista machine currently and as a result browsing the network won't work. This must be a default to not have 'Network Discovery' turned on.

    124. Re:No by Anonymous Coward · · Score: 0

      As someone who's administered both, I disagree. Linux/Samba4 has been much more solid for us than Windows/AD.

    125. Re:No by Anonymous Coward · · Score: 0

      Samba is always playing catch-up. In fairly complex environment but the most departmental network, it's not worth the hassle. No matter how good your sysadmin is, he/she probably has better things to do.

    126. Re:No by cthulhu11 · · Score: 1

      Samba was twitchy when I used it, but that was ~10 years ago. When the GGP wrote of a NAS running it, my immediate thought was that who knows WTF the NAS vendor did, especially if this is some POS low-end thing from QNAP or something. Heck, look at the Android world where new devices are coming out with software that's what, 3 major revisions old?

    127. Re:No by slacktivist · · Score: 0

      I hope you're not as wishy-washy with your wife.

      But shower sex is aaaawweeeesome. So I've been told. By his wife.

    128. Re:No by Anonymous Coward · · Score: 0

      Are you paying Canonical for Ubuntu support?

      No? So stop complaining.

      they should be paying me for being subjected to Unity.

    129. Re:No by Anonymous Coward · · Score: 0

      AD works better if you are going to implement AD's more advanced functions such as group policies. Trying to get group policies to work with SAMBA is an exercise in futility.

    130. Re:No by sensationull · · Score: 1

      I never touched the box once in the 3 years I was there and it ran reliably without issue. Even the main business's Exchange server I never touched. The helpdesk added and removed users and groups via AD but the server just ran fine all by itself without a single update, patch or reboot.

      If you listen carefully you can hear security crying its eyes out in the corner. Just because you can does not mean you should. I know that many Windows products will work reliably for long periods of time but all software has holes. If its connected to the internet then updates are a good idea even if they can break things on occasion.

    131. Re:No by Compaqt · · Score: 1

      So what do your users do? Type in network locations?

      \\blah\whatever\something ?

      Sounds Linuxy.

      --
      I'm not a lawyer, but I play one on the Internet. Blog
    132. Re:No by DrStoooopid · · Score: 1

      Matter of fact, you're not supposed to be running multiple SBS servers in a domain. Per Microsoft.

      --
      There are 2 groups of people you can make fun of on the Internet without fear of attack. The illiterate, and the Amish.
    133. Re:No by sjames · · Score: 2

      Funny that, I have always managed to set and forget. It just works.

    134. Re:No by bigtrike · · Score: 1

      Looks like you may need newer versions of the "samba4" and "samba4-clients" packages?

      https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/887537

    135. Re:No by Anonymous Coward · · Score: 0

      No, his problem isn't AD, and it isn't the lack of IT staff. It's Samba4. Can't you read? AD works with no IT staff. Read that again. AD works with no IT staff. Samba4 does not. Having AD is valid. Having no IT staff is valid. Having Samba4 in that environment is not valid. Thus Samba4 is the problem.

      In the words/memes of another geek site I frequent, TRWTF is Samba4. It tries to be AD and fails. From what I understand, it's still in alpha dev stages, so maybe TRWTF is people who use it in production.

    136. Re:No by Anonymous Coward · · Score: 0

      Exactly. I've had a Samba server sharing out CAD data that was accessed simultaneously to Unix and PC-based CAD clients (CATIA V4/5, NX, Pro/E), and we've never had an issue with file permissions or data integrity. It was simple to set up, and easy to maintain. This has been our solution for over 10 years. We are just now getting ready to disband it as our Unix client list has been shrunk down to about 4 nodes.

    137. Re:No by Anomalyst · · Score: 1

      Looks like you may need newer versions of the "samba4" and "samba4-clients" packages?

      running the latest (rc4) I even swapped some emails with andrew bartlett on the mailing list, still no joy.

      --
      There is no right to feel safe thru security vaudeville at the expense of everyone's freedom, privacy and tax money.
    138. Re:No by Anonymous Coward · · Score: 0

      sooo.. use version 3 until they fix these things in v4?

    139. Re:No by arkane1234 · · Score: 1

      Well, they're two different things really so that's probably the reason.
      AD is just extended LDAP with a communication protocol slapped on top of it and multi-server redundant. ... and I'm not a Windows guy, at all.

      Im waiting until Samba4 becomes a decent AD alternative and I'll use it on my home network.

      --
      -- This space for lease, low setup fee, inquire within!
    140. Re:No by arkane1234 · · Score: 1

      Instead of saying names of things existing previously, answer the question.
      We realize X.500 was the legacy version of LDAP. The moon shot was the legacy of the shuttle, as well.

      --
      -- This space for lease, low setup fee, inquire within!
    141. Re:No by arkane1234 · · Score: 1

      This... this alone is the main reason samba hasn't taken off, really.
      Snide remarks.

      --
      -- This space for lease, low setup fee, inquire within!
    142. Re:No by arkane1234 · · Score: 1

      That's an Ubuntu issue, mainly. It sounds like the packaging wasn't set up correctly. It also sounds like they're trying to make things so easy that it's hard.

      --
      -- This space for lease, low setup fee, inquire within!
    143. Re:No by arkane1234 · · Score: 2

      The linux kernel has broken backwards compatibility?
      The drivers are still there... unless you're mistaking the Linux kernel with the glibc shared libraries.

      --
      -- This space for lease, low setup fee, inquire within!
    144. Re:No by arkane1234 · · Score: 1

      So you have to pay for stuff to work, but the broken stuff is out there free?

      I sure am glad *I* don't use Ubuntu.. yeesh.

      --
      -- This space for lease, low setup fee, inquire within!
    145. Re:No by Anomalyst · · Score: 1

      That's an Ubuntu issue, mainly.

      Not really, there's no PPA for RC4. Installation was by git clone & git pull,config, make, make install. I also tried from the tarball, same result no such file for the library import. I'm sure it'll sort out when they start building the .deb, but it doesn't do me any good now, nor does it allow me to help test the RC since I can get it to provision a new domain.

      --
      There is no right to feel safe thru security vaudeville at the expense of everyone's freedom, privacy and tax money.
    146. Re:No by Anonymous Coward · · Score: 0

      Well said!!! I agree. This is the reason for most of the open source software that we've tried out to dump it for commercial software. The 'little' got ya's are not something that a critical operation can live with. It only takes one of those little 'got ya's to fail your user's service level agreement of uptime of 99.999% to be missed.

      Samba 3 is okay for programmers and such, but not reliable enough for our customers. And since it makes no sense to have a production environment that doesn't make our testing environment we've pitched it, but for the smallest internal subsystems. And those should be gone in the coming months as we eliminate the cost of using Samba 3, I.E. Linux 'experts' that are no longer of use.

    147. Re:No by arkane1234 · · Score: 1

      correction.. GOOGLE maps have been around for years and have seen constant reliable use.

      the iPhone used google maps until the changeover with iOS 6.

      --
      -- This space for lease, low setup fee, inquire within!
    148. Re:No by Anonymous Coward · · Score: 0

      The best answer to your question, quote from: http://www.computing.net/answers/linux/what-are-the-alternatives-to-active-directory-or-novell/31423.html

      "I think you are a little confused as to the difference between a Directory Service and Samba, which is just an Open Source implementation of Microsoft's SMB file sharing protocol. Have a look at Wikipedia's article on Directory Services ( http://en.wikipedia.org/wiki/Directory_service ) which lists several implementations and explains of what a Directory Service is."

    149. Re:No by srwalter · · Score: 1

      sudo apt-get install libkdc2-heimdal

      --
      Freedom is the freedom to say that 2 + 2 = 4
    150. Re:No by silanea · · Score: 1

      That is what I do. It takes precious little time, and It Just Works. Both things I cannot say of Windows' network browsing.

      --
      Rudolf Hess edited Mein Kampf. He was the very first grammar nazi.
    151. Re:No by Bryansix · · Score: 1

      SBS is going away but using the ADUC snap-in is not any harder then SBS so your comments still hold mostly true.

    152. Re:No by UnderCoverPenguin · · Score: 1

      Difficult is relative. An admin trained on Linux is going to have (some) difficulty retaining to admin Windows. It won't be as easy for her/him as for someone starting fresh (and has nothing to unlearn).

      Whatever the "tool", there is always the perception that the "other tool" is harder. And there is always the perception that learning even a radically different new version of the "same tool" is easier than learning the other tool, even if the other tool is lot more like the current tool than the new version compared to the current tool.

      --
      Don't try to out wierd me, three-eyes. I get stranger things than you, free with my breakfast cereal. --Zaphod Beeblebr
    153. Re:No by Bryansix · · Score: 1

      Ya, basically there is a reason that a lot of companies are rolling out NAS solutions that run Windows Storage Server instead of Linux.

    154. Re:No by Anomalyst · · Score: 1

      sudo apt-get install libkdc2-heimdal

      libkdc2-heimdal is already the newest version.

      --
      There is no right to feel safe thru security vaudeville at the expense of everyone's freedom, privacy and tax money.
    155. Re:No by Anonymous Coward · · Score: 0

      You're right. It is the administration not the software. We have a couple file servers running Small Business Server and a couple that were running Samba. The SBSs required no administration. We turned them on and they just kept trucking. Our samba box would have random drop outs where it would deny access unless you restarted the file server.

      We also had trouble with user group permissions not getting picked up properly. We also had a problem where the clock would get out of sync and then deny access.

      It seemed like there was a new unique "Administration" necessary every couple weeks.

      I have a samba server running for the past 6 years, only rebooted to replace the disks and upgrade AV packages. Have not had any issues, so why is my story is so much better then yours?

    156. Re:No by bn-7bc · · Score: 0

      Granted the guide he linked to refers to an ALPHA release but as of October 30. release candidate 4 is out and an updated howto (SambaWiki so this is updated continuously) is available at http://wiki.samba.org/index.php/Samba4/HOWTO
      Yes samba has its own dns server but it can easily (according to the howto) be integrated whit recent bind releases so yoy don't have to abandon your current dns infrastructure

    157. Re:No by Ghaoth · · Score: 1

      I understand that you have no sense of humour. Perhaps it just whizzed over your head...Sigh.

      --
      Nos Morituri te salutamus
    158. Re:No by sumdumass · · Score: 1

      Wow.. the mod trolls wasted a point on that..lol they must be getting desperate.

    159. Re:No by Anonymous Coward · · Score: 0

      http://en.wikipedia.org/wiki/HTTP

    160. Re:No by hairyfish · · Score: 1

      If you listen carefully you can hear security crying its eyes out in the corner.

      By security do you mean FUD merchants? IT Security is similar to the TSA in a lot of ways. All theatre and fear, no real results. Just because some twit can imagine a worst case scenario doesn't mean it's going to happen. In my 20 year experience, over zealous patching has brought about more outages than anything else. So you'll excuse me if I take your TSA-like advice with a huge grain of salt.

    161. Re:No by Compaqt · · Score: 1

      Right, that's what you do. But what about (l)users?

      Or, I guess you could set up a simple HTML page per department that lists links to the resources that they normally need.

      --
      I'm not a lawyer, but I play one on the Internet. Blog
    162. Re:No by cusco · · Score: 1

      Automating the package release seems like a no-brainer for either the SAMBA or Ubuntu team.

      This is where I see the FOSS community failing more than anywhere else. There needs to be an equivalent to InstallShield, which none of the releases that I have investigated (albeit very casually) over the years come close to. You and I might be willing to spend the time to dig through the documentation, post questions in the forums, and track down obscure error messages just to get a random application to install, but 99 percent of the population has almost no interest (and even less ability) to do so. The long-awaited 'Year of Linux on the Desktop' won't happen until application installation and configuration is as straightforward as under Windows or Apple systems. I'm hoping that the Android app stores provide some inspiration.

      --
      "Think about how stupid the average person is. Now, realise that half of them are dumber than that." - George Carlin
    163. Re:No by Anonymous Coward · · Score: 1

      An Apple/Microsoft site? What fucking planet are you on?

      Earth. If the constant GPL haters and fanboyizm doesn't prove it for you, remove your head from your nether regions.

    164. Re:No by tehcyder · · Score: 1

      Are you paying Canonical for Ubunut support?

      No? So stop complaining.

      Truly an Ubuntu fanboy.

      --
      To have a right to do a thing is not at all the same as to be right in doing it
    165. Re:No by Anonymous Coward · · Score: 0

      The problem is, in most non-geek managers' eyes, Red Hat is then just a smaller version of Oracle or Microsoft. And most companies are run by non-geeks. The majority of businesses are not software development companies with a Linux guru as CEO.

      The philosophical arguments about Open Source software are irrelevant to most businesses, since if you want to change or customise something you have to pay a Linux developer to do it in the same way you would for a Microsoft developer.

    166. Re:No by cusco · · Score: 1

      Don't see what's so hard to believe. Used to work at a place that had AIX, Novell, OS2, Solaris and Windows servers. The record for uptime was my NT4 domain controller/file-print server with 624 days without a reboot. If you have a private network without the need to run Updates monthly a year without reboots is easy on good hardware.

      --
      "Think about how stupid the average person is. Now, realise that half of them are dumber than that." - George Carlin
    167. Re:No by cusco · · Score: 1

      Actually that's a feature of Kerberos, which is integrated into AD. Can't remember the whole mechanism at the moment, but it's something to do with certificates only being valid for x-amount of time with automatic renewals, and if the clocks get too far out of synch the cert is considered invalid and the system is cut off until it acquires a new one (via reboot in your case). To ease administration MS made all domain controllers time servers, so the Linux box should have been configured to time synch with a DC on a regular basis (domain members do it weekly). Sounds like they got lazy and just had them synch on restarts.

      --
      "Think about how stupid the average person is. Now, realise that half of them are dumber than that." - George Carlin
    168. Re:No by cusco · · Score: 1

      Umm, I've done it with two different products and as long as I had good connectivity to the DCs have had no problem. Care to describe what you've run into?

      --
      "Think about how stupid the average person is. Now, realise that half of them are dumber than that." - George Carlin
    169. Re:No by MikeBabcock · · Score: 1

      I never suggested that anyone use Samba. I said he should have external IT help with his network, and didn't suggest he change it from any one thing to any other thing.

      Is reading comprehension on Slashdot really this low now?

      --
      - Michael T. Babcock (Yes, I blog)
    170. Re:No by MikeBabcock · · Score: 1

      cf. my reply to AC here: http://slashdot.org/comments.pl?sid=3229857&cid=41901733

      Anyone running any server with no IT people is asking for trouble. Have support, external or otherwise. If you can't afford or don't need a full time on-site IT person or staff, then have someone external that understands your needs and network.

      I never told anyone to switch to Samba, I only stated that I provide the service I recommended to people running Samba, and I'm certain there are people doing it for Windows servers as well.

      --
      - Michael T. Babcock (Yes, I blog)
    171. Re:No by MikeBabcock · · Score: 1

      Wow, please link the above post on your resume if you ever apply for a computing job to save employers the trouble of believing you have a clue.

      The OP said security, personifying the concept. The parent didn't say security companies or anything of the like that you seem to be reading into the post.

      Also, their comment is very true -- not patching a server is a recipe for disaster, especially if you don't have trained IT staff who know which patches can be safely avoided in specific circumstances.

      How many credit card, personal information, banking and medical software exploits do you need to read about before you realize that patching and security maintenance is incredibly important?

      Perhaps that's the problem -- you should do some reading.

      --
      - Michael T. Babcock (Yes, I blog)
    172. Re:No by Jane+Q.+Public · · Score: 1

      "You can build the structure with LDAP, Kerberos and SAMBA with a bit of work. There are tools to simulate the group policy functionality or you can just script it."

      No doubt. But that's my point. That's doing it right.

    173. Re:No by Lev+Lafayette · · Score: 3, Insightful

      There is a degree that this comment is fair however. With FOSS if there is a problem, the admin can fix it even if it is poorly written. So if the admin *doesn't* fix it, or *can't*, yes, they do have to shoulder that responsibility. With proprietary software however, the admin can't make these changes. So if the software is bad, even if the user knows what is wrong there is little that they can do. Ultimately it *is* bad software, because software that you can't fix is a damaged good.

    174. Re:No by WuphonsReach · · Score: 1

      Well, the fact that it's finally in release-candidate status is a good sign. I'm hoping we can retire our windows file server next year with this.

      --
      Wolde you bothe eate your cake, and have your cake?
    175. Re:No by jwhitener · · Score: 1

      This isn't a matter of 'improperly administered' so much as it's a "Microsoft released a patch which broke things which worked previously" problem, and it seems to be getting worse as time goes on.

      Do you have windows automatic updates turned on? That would be an issue then.

      In a mixed environment everything must be tested before being applied. If you find the MS patch introduces a glitch with Samba, don't install it.

      If you don't have time to test things, then a mixed environment is always going to be buggier than a homogeneous one.

    176. Re:No by petermgreen · · Score: 1

      I dunno about other places but here at uni the general system for central resources tends to be mapping drives through login scripts. This has the advantage that a user doesn't need to care where exactly their personal storage is, just that it is found on the P: drive, stuff for the EEE department in general is on the R: drive and so-on.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    177. Re:No by hairyfish · · Score: 1

      Perhaps that's the problem -- you should do some reading.

      That is the problem with security theatre, it's all too much reading and hyperbole, not enough reality. I read that the commies are coming, then I read that the terrorists are coming, now it's something else is coming. Guess what, I stopped reading and the sky didn't fall on my head.

    178. Re:No by MikeBabcock · · Score: 1

      I'm quite certain anyone with the background necessary to understand what I said would follow (and possibly disagree) with what I said.

      No tricks necessary.

      If you really need an example, look at those Habitat for Humanity and other 'non-pro-built' homes or construction jobs.

      Most people wouldn't pick up flooring nail gun and tries to use it without asking how, but many many people pick up a saw or hammer and think since its use is obvious they can help without asking how to best use the object in question.

      --
      - Michael T. Babcock (Yes, I blog)
    179. Re:No by MikeBabcock · · Score: 1

      The problem with making my argument is that it almost certainly requires insulting people randomly, but I don't mean to in advance.

      But here goes. Your NAS was easy to set up, but I've seen people install three drives because they know multiple drives gives redundancy, choose JBOD or RAID-0 and not understand that a single drive failure loses most or all of their data. It was so easy after all.

      I've seen people configure the NAS automatic backup and not realize it wasn't working because they didn't know to check the logs and see if it had actually worked.

      I've helped people reconfigure a NAS box that they'd set up on a home LAN with a port forward so they could access it from work and not understand why having ports 139 and 445 visible from the Internet is a bad thing even with the password protection Windows file sharing offers.

      I repeat that I believe the problem with easy-to-use things that are in fact very complicated is that people without the proper basic understanding of how to configure such things will trust their (very poor) instincts when making decisions.

      This also applies to Wifi routers, network switches, wireless printers, laptops, etc.

      A counter-example would be a coffee maker. Most people couldn't build one if they had to and don't really understand the internals but they get that it needs water and if its gummed up to wash it out. If they do that wrong, there's very little that can go wrong, and the bits that will electrocute them are hidden away and require severe effort to get at.

      --
      - Michael T. Babcock (Yes, I blog)
  2. What for? What do you need to do with it? by rtfa-troll · · Score: 5, Insightful

    It's important to realise that Active Directory has a bunch of overlapping different features. Samba4 is a great for part of it. Puppet is great for a different part of it (the ability to configure systems - like a superset of Active Directory Group Policies) LDAP covers some other parts etc. etc. You need to be really careful with this question because it is already loaded. Essentially, if the answer is "Active Directory" you are asking the wrong question. Your overall system administration story with Linux will be much better than Windows but you need to start thinking more from the beginning since it isn't always as obvious which tool is the right tool.

    --
    =~ s,(.*),<sarcasm>$1</sarcasm>,g if any_point_you_wish();
  3. Not yet. by phoenix_V · · Score: 5, Insightful

    Samba 4 is in it's Alpha release stage and is not recommended for production. That said it's a remains to be seen thing if it will be.
    It also depends a great deal on how and what you use AD for. For simple authentication you can use samba 3 + LDAP for that now.
    For programs that require AD not so much with either.

    1. Re:Not yet. by CastIronStove · · Score: 1

      The linked Samba wiki claims that Samba4 is at the release candidate stage. I still wouldn't use it in a production environment, however.

    2. Re:Not yet. by sprior · · Score: 4, Funny

      What a coincidence - Windows 8 just made its Alpha release too.

    3. Re:Not yet. by phoenix_V · · Score: 3, Informative

      I may have to put up a test copy then. I suspect there are few real world test cases being run, but an RC is far enough along
      for me to justify spending some cycles at work on it. There are more samba 3 + LDAP setups out there than people may realise
      and all of them stand to benefit from Samba 4.

    4. Re:Not yet. by Anonymous Coward · · Score: 5, Informative

      I've got four offices running various versions of Samba4 on ZFS, up to the latest git head pull. Some of those offices have been running alpha versions for two years without an issue, we mostly use it for roaming profiles and AD user management. Some portions don't work as well as a pure Microsoft environment may, like how many GPO setting changes appear to do nothing (like to try disabling CTRL+ALT+DEL before entering a password).

      It works for roaming profiles and it works well, but managing permissions (userid mapping, etc) between SMB4 and Linux is a pain the ass. Maybe I just haven't looked hard enough.

      Several of the AD configurators don't really do anything to the Samba4 installation, like managing shares. Changing ownership and making sure things are world-readable (like a common share) is also a kludge, something that shouldn't be true in a production ready software package.

    5. Re:Not yet. by jmintha · · Score: 5, Informative

      Unless I missed something, Samba 4 is not in Alpha release anymore. It has gone through beta, and is now in release candidate stage. (rc4 currently) It is designed as a full Active Directory implementation (including DNS and LDAP)

    6. Re:Not yet. by Anonymous Coward · · Score: 0

      Not sure why stable Samba is taking so long, but maybe it's time to settle on certain features and stabilize (they do backport stuff to SAMBA 3 at least) after almost a decade of development. Not my call though. It's non-profit software and they aren't forced to do anything.

    7. Re:Not yet. by simplexion · · Score: 1

      Doesn't Samba4 work with redirected folders and offline files? If it does, why the hell are you using roaming profiles?

    8. Re:Not yet. by Anonymous Coward · · Score: 0

      For programs that require AD not so much with either.

      FreeIPA version 3 is production ready and work well as AD replacement.

    9. Re:Not yet. by David_Hart · · Score: 1

      What a coincidence - Windows 8 just made its Alpha release too.

      Funny, but misleading...

      Windows 8 cannot be used as an AD server. You need Windows Server version 2000, 2003, 2008, or 2012 (Server version of Windows 8) to implement Active Directory services. AD has been around since Dec 1999, when Windows Server 2000 was released. Windows Server 2000 and AD wer in alpha/beta for almost 2 years before that.

      SAMBA4 has been in beta since June and has just been updated to a release candidate.

      Would I run AD on SAMBA4 in a production corporate IT environment. No! Not if I wanted to keep my job. There are too many critical corporate functions that rely on AD for authentication to trust it to a new and unproven technology. I might use it in a development environment until it is proven, but not production.

      Don't get me wrong. I have used SAMBA3 in an NT environment and as an authentication mechanism in an AD environment for UNIX systems. But SAMBA4 is still too new.

    10. Re:Not yet. by CAIMLAS · · Score: 1

      You may have missed where they were ripping out DNS subsystem functionality (interoperability with BIND and a couple other options, IIRC) and replacing it wholesale with their own samba4 DNS implementation. I think they did that during later betas, but I'm not sure.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    11. Re:Not yet. by Anonymous Coward · · Score: 0

      How well does AD and Linux work for managing permissions?

      As far as I've seen, AD ignores it and it's Linux's fault for not working with it properly.

      Most users of AD looking to use Samba as a replacement are thinking they need all the abilities of AD when they don't.

    12. Re:Not yet. by ulzeraj · · Score: 1

      Bind options are still there. You just need to know how to "./configure --help".

    13. Re:Not yet. by Anonymous Coward · · Score: 0

      What a coincidence - Windows 8 just made its Alpha release too.

      All Windows releases are alpha's. They stop supporting them before they have a chance to become beta's.

  4. Samba3 could fool XP by CodeheadUK · · Score: 1, Interesting

    I've managed to get XP clients to join an NT domain using Samba as a PDC. Samba 4 wasn't an option at the time, but I don't see why AD emulation should be beyond the realms of posibility.

    The biggest problems I had were the cryptic errors from the Windows boxes, not Samba.

    1. Re:Samba3 could fool XP by Anonymous Coward · · Score: 0

      How many days of configuring and reading documentation did you need? What about server replication for high availability? Replication bandwidth and scheduling? Integration with other domains/forest? And so on and so on and so much on....

    2. Re:Samba3 could fool XP by tibit · · Score: 2

      I don't think these days there's much "configuring and reading documentation". There's one samba-provided registry file you need to import on every Windows Vista/7/8 host before joining them to the domain, and that' sit. It pretty much works. Server-based printers w/ drivers don't work for some printers because said printer drivers are buggy and won't take anything but only certain windows server versions. If you use IPP printing, things are fine. I still keep drivers on the server and push them to clients using windows-native print server configurator.

      --
      A successful API design takes a mixture of software design and pedagogy.
    3. Re:Samba3 could fool XP by Anonymous Coward · · Score: 0

      Funny perspective you have when the question is about whether Samba4 is viable AD replacement. You call it bugs on the Windows side, but it's really an incompatibility on the Linux+Samba4 side. It's those annoying little glitches that the first post alluded to.

      I can't see the effort of making a non-native implementation work worthwhile. This guy will be locked in to support 24x7 once he's figured it out. Pretty shit from a work-life perspective, and a massive risk for his employer.

    4. Re:Samba3 could fool XP by rubycodez · · Score: 1

      half hour of reading on web for basic domain authentication (two domains) and file sharing

    5. Re:Samba3 could fool XP by sensationull · · Score: 1

      Agreed, that 'one samba-provided registry file you need to import on every Windows Vista/7/8 host ' disables as much security as it can and winds Windows back to NT4/2000 levels of security. Not exactly the best thing to do in any environment.

    6. Re:Samba3 could fool XP by tibit · · Score: 1

      Since when "DomainCompatibilityMode" winds Windows back to "NT4/2000" levels of security? You don't even need it with Samba4, I'm using Samba3.

      --
      A successful API design takes a mixture of software design and pedagogy.
    7. Re:Samba3 could fool XP by tibit · · Score: 1

      I have Samba3 that was pretty much hands-off except for when upgrades broke because I have misconfigured things. It was my choice to use the bleeding edge releases, though. As samba releases moved ahead, they've plugged various holes that let misconfigured systems keep on working. This can be easily mitigated by doing proper testing prior to going into production. If you don't want to upgrade, just keep things the way they are and you'll be fine. Redhat-provided samba is a good choice since they only include security changes and don't add new "features" in that do break things. If one would stick with, say, CentOS5/RHEL5-provided Samba, it would be totally hands-off once configured. We're talking 5 years of continuous hands-free service. It hardly gets any better than that.

      --
      A successful API design takes a mixture of software design and pedagogy.
    8. Re:Samba3 could fool XP by Anonymous Coward · · Score: 0

      The original ones turned off most of the cifs security so the machines behaved like NT boxes. Then they needed to disable SMB signing and smb2 until they caught up, if they have yet, SMB 3 is now out with W8.

  5. Re:Dumb Question is Dumb by phoenix_V · · Score: 5, Informative

    Samba 4 *is* intended to be a full AD implementation. Currently it has a built in LDAP and Kerberos server set in the same daemon. That is a problem
    for some, like myself, that use Samba 3 + LDAP for shared auth. When complete is *should* be a fairly complete implementation of the AD specs, all
    of them. I have no idea how long this will take, or just how complete it is, but those are the design goals. All of this is a result of Microsoft releasing the
    full spec due to the European Union lawsuit.

  6. Re:Misunderstand of what SAMBA actually is...... by phoenix_V · · Score: 5, Informative

    I also commented above, Samba 4 *is* intended to be a full AD server implementation. It is using the documents Microsoft was forced to release
    as a result of an EU lawsuit.

    How complete an implementation it ends up being and how well it works will have to wait to be seen once it exits Alpha status and gets a few
    beta releases under it's belt.

    It's a whole new samba in the end.

  7. Nein. by doubledown00 · · Score: 5, Informative

    It works for small environments. But as you start getting above 50 people AD is the way to go for two reasons: 1) Less admin overhead time. Like it or not, AD "just works" unless you really snork it up; and 2) AD credentials integrate with more stuff and it's not tenable to have to maintain different user databases for each one. Sooner or later an enterprise will want exchange.,,,,,,,and spam filtering......and internet proxies etc. There are a multitude of products out there that will integrate with AD. To get the same with Linux / Samba (if it can be done at all) will require cobbling together services and solutions that will complicate your life. The bottom line: I went through my Linux zealotry phase too. Then I got a life and couldn't spend hours on end reading docs and fiddling with services and config files. Towards that end AD just simplifies user admin and frees you up to deal with other stuff. Linux has its place in the enterprise, but it ain't as an AD replacement.

    1. Re:Nein. by Anonymous Coward · · Score: 1

      mmm no. Linux / Samba is one way to go, AD is another one. AD will take you to Exchange. Linux/Samba will take you to better solutions.

      Lok Zentyal (www.zentyal.org), an integrated Linux distro with LDAP / Samba / Mail / eGroupware / VoIP / Messaging services. No need to fiddle with config files, easy to setup in 10 minutes through your web browser.

    2. Re:Nein. by doubledown00 · · Score: 3, Informative

      >No need to fiddle with config files

      A simple browse through the forums quickly showed this is simply not true. Reading on how to enable Outlook integration confirmed that. Same old same old. It's alright if you have available time, a client willing to pay for the learning curve, and users comfortable with "out of mainstream" software. If you have clients like these, count yourself lucky.

    3. Re:Nein. by Anonymous Coward · · Score: 0

      You do not know seem to have a lot of recent knowledge about samba. It is practically a requirement for all but the smallest site to use LDAP as the backed database. This effectively means you don't need to maintain different user databases.

      Why exactly do you need AD authentication for spam filtering and internet proxies?

    4. Re:Nein. by smooc · · Score: 1

      You're out of date. Samba 4 (although at RC now) does Active Directory. Don't spread FUD please.

      --
      - In Memoriam: Jeroen de Bruin (1972-2004), bye bro
    5. Re:Nein. by doubledown00 · · Score: 1

      >You do not know seem to have a lot of recent knowledge about samba. It is practically a requirement for all but the smallest site to use LDAP as the backed database. This effectively means you don't need to maintain different user databases.



      All the more reason I don't want to putz with it.



      >Why exactly do you need AD authentication for spam filtering and internet proxies?

      Because in my consulting gigs it is all about reducing *my* pain and aggravation. It gets annoying having users constantly complain about the indignity of having to enter credentials to get into a web-managed spam queue or having to login with a special password to be able to view Facebook on their workstations. Or any number of problems with having to identify not just the workstation but who is logged into it etc.

      With the products that integrate with AD (Palo Alto's internet appliance line for one) none of the above are issues. Done. I don't get any angry user calls, and the client pays my invoices without hassle because everything "just works".

    6. Re:Nein. by doubledown00 · · Score: 1, Insightful

      No, not out of date. Just got tired of Samba 3 not fulfilling my clients' needs and said fuck it.

      On a broader level your assertion is absurd. You're prepared to say Samba 4 does AD and call it good based on an RC. Slashdot rightfully doesn't give Microsoft a pass on something like that, I don't see why an open source project should be any different.

    7. Re:Nein. by Anonymous Coward · · Score: 0

      It doesn't do GPO, among other things, AD is more than just file sharing, Kerberos and LDAP, stop spreading FUD please.

    8. Re:Nein. by ThatsMyNick · · Score: 1

      Because Samba 3 never claimed to do AD, and Samba 4 claims to do AD. That is why.

    9. Re:Nein. by Anonymous Coward · · Score: 0, Informative

      SOGo is a groupware server which recently added Exchange protocol compatibility using Samba4 - just sayin...

    10. Re:Nein. by Anonymous Coward · · Score: 0

      If you want Exchange, Outlook and the whole mess associated with it, go AD.

      But if you prefer LDAP, IMAP, CalDAV and real Open standards, go LDAP, avoid AD. Talking about Zentyal (or Zimbra for example) you'll find you are not going to need Outlook. You can use everithing from your web browser or, if you prefer, you can use a real mail client, like Zimbra Client or Thunderbird.

    11. Re:Nein. by Anonymous Coward · · Score: 0

      BTW I'm not English native speaker (plz forget my typo/grammar errors)

    12. Re:Nein. by dirkmitt · · Score: 1

      There are alternatives, but they all work differently. Thus between 50 people, I don't see how useful pure file sharing remains. Instead, you might want to go with one of the popular Web Content Management Systems, or WCMS. "eGroupware" is just one, free example. But then don't expect to drag-and-drop files.

    13. Re:Nein. by Anonymous Coward · · Score: 0

      I would not want to be one of your clients. Are you really putting your needs in front of theirs?

    14. Re:Nein. by Anonymous Coward · · Score: 0

      2) AD credentials integrate with more stuff and it's not tenable to have to maintain different user databases for each one. Sooner or later an enterprise will want exchange.,,,,,,,and spam filtering......and internet proxies etc. There are a multitude of products out there that will integrate with AD. To get the same with Linux / Samba (if it can be done at all) will require cobbling together services and solutions that will complicate your life.

      You do not have to do the heavy lifting. Seriously, try FreeIPA version 3. ALL the heavy lifting has been done by RedHat and you really do have a true AD that is require you answering 3 question to get a full AD up and running

    15. Re:Nein. by pirhana · · Score: 1

      As someone who has used and deployed Zentyal for many customers, I have to say that your conclusion derived from reading the forum thread is terribly wrong! Some of our Zentyal implementations have more than 1000 outlook users and are working without any problem. Configuration was not very difficult in any stretch of the word. Right now, I am testing the latest version of zentyal which includes samba4. One problem I see with samba4 in general is that documentation is very very scarce. For e.g, I want to integrate SOGo 2 groupware( which has built in, native outlook support using Microsoft protocols) with Zentyal and the samba4 of Zentyal. But I don't see any documentation in zentyal, sogo or samba web site regarding how to query/manipulate the built in LDAP server of samba4. If I can do that, I can offer a complete exchange replacement for the customers. The beauty of Zentyal is that complete administration of the system is using a very attractive and powerful web interface.

    16. Re:Nein. by Turmio · · Score: 1

      You're now talking Samba3 here. Samba4 is a different kind of a beast. It fully implements everything (protocols, services) that when packaged together is then called AD by Microsoft. At least that's what it aiming at, some stuff is not ready and many things might be broken. So you should be able to use a Linux server running Samba4 as a drop-in replacement for a Windows server that implements AD. All those AD enabled gadgets shouldn't know a difference and just work as is.

    17. Re:Nein. by Anonymous Coward · · Score: 0

      Interesting. I run two networks, a secondary school with 400 PCs, a bunch of Linux servers running OpenLDAP, Samba 3.5, Squid, Dansguardian, Cyrus.Postfix Egroupware and an annual IT budget of £40,000 and a primary school with Server 2008R2 on a single server.

      So far this year, the server 2008R2 box has needed considerably more attention than the Linux boxes despite the fact that only serves about 40 computers. Admittedly, Active Directory "just works" but that's generally until it starts spewing errors into event viewer, the printers disappear and you have to reboot to get it all working again and yes, it's patched and we've been working on fixing it for ages. Having said that, Server 2008 is piss easy to set up but once running, the Linux boxes win out on stability and no way could we afford Windows Server on the budget we have.

    18. Re:Nein. by drinkypoo · · Score: 1

      The lack of "just works" is the part I can't get my head around. If a guide can be written, surely a script can be written, right? Why do we all have to replicate the same effort? I would be happy to write the script if I had ever got Samba set up doing AD correctly. I admit, I've never tried very hard, mostly because no one has ever paid me to do it and I have zillions of other projects. But occasionally I have tried to get it working, without success. Why isn't it just an install, and answer a couple of questions? If Microsoft can do it...

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    19. Re:Nein. by Anonymous Coward · · Score: 0

      "I can offer a complete exchange replacement" how/what is the unified messaging support with this integrating with call manager?

    20. Re:Nein. by cusco · · Score: 1

      MS has 69,000 people working full time-plus on it. I can kind of understand why there's a difference in usability . . .

      --
      "Think about how stupid the average person is. Now, realise that half of them are dumber than that." - George Carlin
  8. Back in the day .. well June by OzPeter · · Score: 4, Informative

    Slashdot discussion about Samba 4's Beta release Samba 4 Enters Beta

    --
    I am Slashdot. Are you Slashdot as well?
  9. AD for what? by Anonymous Coward · · Score: 0

    Please excuse my ignorance on Samba 4, I know it allows authentication but I don't know how robust the feature set is.

    Some people hardly use AD. All it does for them is authentication. In that case, I would expect it to be an easy fit.

    Microsoft AD offers a lot of features and many things integrate with it. The more of a Microsoft shop you are, the more you can become dependent on Microsoft's AD. Group policy is what jumps to mind the most for me. I don't know if you can use it with Samba 4, but it does make a lot of things easier. Most of what it does could be solved with scripts, I find myself using scripts less and less.

    I find myself wanting to get our domain functionality level up to 2012 already for the new features, but I know many others that could care less. I would not be surprised to find a domain running 2000 or 2003 functionality levels. Those are the people that could get away with something else.

  10. Re:hahahahahah by Anonymous Coward · · Score: 1

    You are right, Samba is not. But Samba4 is.

  11. release software... by Anonymous Coward · · Score: 0

    You would be well advised to research the difference between release candidates and released software. Samba4 is not yet released... it is coming but not there yet.

    NDS is seen as an alternative to active directory... Yet mostly in larger deployments. Whether this is licensing or complexity... Im not sure yet

  12. All-Linux network by Compaqt · · Score: 1

    The poster didn't say whether his instructor had a problem with a Windows client/Linux server setup or with a Linux network in general.

    E.g., what if you just cut Win clients out of the picture? Just have straight up Linux. Would he still have a problem?

    Secondly, if you did have straight Linux, what kind of software stack would you have?

    How well does LDAP work when you get to the nitty gritty? Is Kerberos something you'd be using? What's the best NAS? FreeNAS? 7 or 8? Or NAS4Free? Just a Linux box running NAS-type packages?

    Single signon?

    --
    I'm not a lawyer, but I play one on the Internet. Blog
    1. Re:All-Linux network by Zombie+Ryushu · · Score: 1

      Yes, For all Linux networks, Samba does change things. Samba 4 is backward compatible with all of OpenLDAP's and Heimdal Kerberos's clients. In a purely Linux network, Linux machines would connect to the Samba 4 Active Directory as Open Directory Clients.

  13. Love Samba by kilodelta · · Score: 1

    Samba has had NT support since way back and now has AD compatibility. So it works as a drop in for Windows servers that cost $$$$.

  14. Mixed results in a mixed environment by 93+Escort+Wagon · · Score: 4, Interesting

    We have, for many years, had a computing environment that, on the server side, is a mix of Red Hat Enterprise and Windows. Users and groups are (ostensibly) the same in both environments. The servers running Samba were in AD but were not acting as DCs.

    Samba has always handled the user accounts perfectly. Groups, on the other hand, break fairly frequently - and by "break" I mean it stops realizing that group "foo" on Windows is also group "foo" on Linux. Since most of our end users are on Windows boxes, and most of the authorization on the web server (my main concern) is handled using groups, this has been a big headache for me. Fortunately we were able to convince our manager it wasn't worth the continued investment in man-hours by our Linux and Windows guys to keep debugging this group issue, and we just pulled the plug - now everyone has to use scp/sftp, and everything works well.

    Admittedly this is a narrow use case I'm describing. Also I wouldn't be surprised if everything would be peachy if 100% of the AD stuff was being handled by Samba (and ONLY by Samba). But if this is a mixed environment, you should do some serious testing before making a decision.

    --
    #DeleteChrome
    1. Re:Mixed results in a mixed environment by ruir · · Score: 4, Informative

      Back here we are also handling the file servers, users and groups in a +10 thousand user infra-strutucture, and things work pretty well.

    2. Re:Mixed results in a mixed environment by Anonymous Coward · · Score: 0

      Why even bother with Samba? Just configure pam_ldap and nslcd to map users & group directly from AD.

  15. Re:for-profit schools by ArchieBunker · · Score: 1

    Pretty sure most collages and universities also turn a profit. At least the all the deans and administrators do.

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
  16. NOT Recommended. by Anonymous Coward · · Score: 3, Insightful

    Samba may be able to do some of the windows file and printer sharing... even acting as a domain controller. BUT. Trust me. It will be hell to administer. For what you pay for Windows 2012 standard... with Hyper-V, and all the roles and services you just get... I dont see how you can compete with the ease of use and administrations. In the other-hand, if you are hard core UNIX/Linux and you need to support a few windows boxen in your environment.. then this is a great fit for you. Otherwise, stay away... far away. Anything you save in dollars you will spend in time... ten times over.

    1. Re:NOT Recommended. by Anonymous Coward · · Score: 0

      > Anything you save in dollars you will spend in time... ten times over.

      That's impossible, because my time is worth nothing.

      .

  17. Depends on what your requirements are by Nkwe · · Score: 2

    When you talk about alternatives to Active Directory you need to be specific as to what features of Active Directory you refer to. Active Directory is a lot of things: Distributed multi-master database, Authentication provider, Authorization provider, Configuration management system, and more. The Active Directory infrastructure provides: File services, Print services, Group policy, LDAP, DNS, DHCP, and other services.

    I haven't read in detail about Samba 4, and it appears that the Samba Wiki is down at the moment, but there is a decent description on the Fedora Project site. According to the Fedora site, Samba 4 includes the ability to be a domain controller and implements the Kerberos stack, but it is not clear that it provides the centralized configuration management that Active Directory does. This centralized management (Group Policy) and the ability to delegate administration (Organizational Unit based delegation) are very powerful features of Active Directory and what keep large organizations on the platform.

    If what all you are looking for is a shared account database and the ability for multiple workstations to authenticate against it, Samba 4 may be just the ticket. If however you are looking for a replacement for Active Directory at an enterprise level, I doubt it is there yet.

    1. Re:Depends on what your requirements are by domatic · · Score: 2

      It does. Install the RSAT tools on a Windows client and use to manage Group Policies on the Samba4 controller.

      http://www.microsoft.com/en-us/download/details.aspx?id=7887

      The HOWTOs for Samba4 all emphasize this.

    2. Re:Depends on what your requirements are by Anonymous Coward · · Score: 0

      A lot of the GPOs do nothing when you change their defaults.

  18. Samba 4 changes everythying by Zombie+Ryushu · · Score: 5, Informative

    Since 2005, The combination of OpenLDAP, Heimdal Kerberos, and Samba 3 has been a staple in the Linux Infrastructure, with other services such as FreeRadius, NFSv4, and AFS being tacked on for good measure.
    Many if not most Linux based utilities support LDAP. Unlike Samba 3, which functioned as an OpenLDAP based application, Samba 4 completely replaces OpenLDAP, and Heimdal Kerberos. Consider the following. Samba 3, while far beyond what Windows NT4 was ever capable of, expanded the NT4 Domain concept far beyond it' design limiations. In the most recent era, Samba 3.5 and 3.6, created an enhanced form of NT Domain Authentication just for interoperability with Windows 7. (This is very fascinating because it uses Windows 2003 Sign and Seal with NT4 Authentication, something NT4 never could do.) So it can be be said, while Windows 7 expressly drops support for Windows NT4, Windows 7 has express support for Samba 3.

    Yet the sword of Damoclese has swung over the head of Samba 3.x for a long while. Vista dropped support for NT4 Style System Policies, requiring administrators to resort to registry Trickery with Wine and third party policy tools such as NitroBit.

    Samba 3 brought about a form of NT Domain that supported LDAP as a backend, could use Kerberos for Authentication both for file shares and joining the Domain. (Although only other Samba clients could utilize the Kerberos aspects of Samba 3.) Could delf out policy by OU. With help from OpenLDAP, Samba 3 could overcome the single PDC limitation, and all Samba Domain Controllers could be writable PDCs because OpenLDAP supported Multi-master Replication.

    Beyond Samba, FreeRadius could use LDAP for authentication, Evolution could garner configuration information from OpenLDAP, for IMAP and SMTP settings (CalDAV Support was never added, even though there were feilds in the OpenLDAP schema for the three CalDAV based Calendar, Addressbook, and Task List.) This cooperated with eGroupware. Sudo could draw Sudoers from OpenLDAP, as could NSS. Each had their own unique Schemas.

    Unlike when Windows moved from NT4 Domains too AD, the movement was simple, before, you had no Directory Service, and now, boom! you do. In the Linux world LDAP has been a reality for a long time. Many applications are built to participate in Open Directory based Domains based on OpenLDAP Schemas. What happens if the Schemas conflict definitions? How will this be resolved?"

    1. Re:Samba 4 changes everythying by kestasjk · · Score: 1

      So what you're saying is "no, it isn't a viable alternative" ?

      --
      // MD_Update(&m,buf,j);
    2. Re:Samba 4 changes everythying by Zombie+Ryushu · · Score: 1

      I am not saying that. I am saying Samba 4 OpenLDAP backward compatibility because it uses OpenLDAP Internally. You would just change how the LDAP files are configured.

      Before with OpenLDAP:
      nss_base_passwd ou=People,dc=domain,dc=com?sub
      nss_base_shadow ou=People,dc=domain,dc=com?sub
      nss_base_group ou=Group,dc=domain,dc=com?sub
      nss_base_hosts ou=Hosts,dc=domain,dc=com?sub
      sudoers_base ou=People,dc=domain,dc=com?sub

      With Samba 4:
      nss_base_passwd CN=users,dc=domain,dc=com?sub
      nss_base_shadow CN=users,dc=domain,dc=com?sub
      nss_base_group CN=users,dc=domain,dc=com?sub
      nss_base_hosts CN=Computers,dc=domain,dc=com?sub
      sudoers_base CN=users,dc=domain,dc=com?sub

      The object class data types all have to be imported from OpenLDAP.

  19. The real world by Billly+Gates · · Score: 5, Insightful

    Ask yourself why?

    I used to be like you when I was 20 a decade ago. Here is what I have learned. Your enterprise hates change and looks at you as a financial burden and unnecessary cost unless you work for an IT company. If they have AD why switch? If what they have works don't mess with it.

    I saw this pop up last week on slashdot when Microsoft suggested business users stop using XP. Shockingly a decade ago on slashdot people would be laughing at everyone using a 11 year old platform who refuses change all based on Microsoft. Fast forward today you see folks under 35 freak out and DEMAND XP BE SUPPORTED FOREVER because changing is something you never ever do! Those over 35 got modded down saying upgrading is part of your job. The point is to put SAMBA 4 in you have to fight such people. They hate change and will cling to obsolete products as their behaviors in the last decade taught htem to lock versions with no updates and view everything as a cost center. Even a free product like Samba as such.

    If it breaks who do you sue? Who do you call for support? Will you be handed a pink slip with a boot up your ass out of the door if something breaks? AD is standard, it is used by everyone else, other products like SQL Server, Sharepoint, and Exchange use it. It is part of the proprietary eco system at work and even though slashdotters breathe down Linux as the end all for everything it is not in an already established enterprise environment.

    Just stick with AD. It is what you will be quizzed on and expected to know in your first job interview. If you do not know it they will find someone else who will. It is that simple.

    1. Re:The real world by doubledown00 · · Score: 0

      To quote Dave Hester, "YUUUUUUUP!"

    2. Re:The real world by Gothmolly · · Score: 1

      But do you want to work for someone who doesn't know what Samba is?

      --
      I want to delete my account but Slashdot doesn't allow it.
    3. Re:The real world by smash · · Score: 1

      They likely know what SAMBA is. Its just not on the roadmap. Pulling out all the windows DCs and replacing, re-writing internal documentation, re-training/re-hiring SAMBA competent staff and giving up the ability to call Microsoft (or any vendor) when it breaks are all significant costs. For what? 10% performance improvement, IF samba is configured properly? Never mind having an uncertain future, if MS decide to extend AD in a way that the Samba team are unable to re-implement promptly.

      Cost/Risk vs reward, for the enterprise it is a total no-brainer. I'm a unix admin since 1995, a Windows admin since 1996, and if you were to suggest replacing my DCs with Samba (as the new guy) you'd get laughed out of a job.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    4. Re:The real world by Anonymous Coward · · Score: 0

      I'd do it when the hardware running the windows domain started failing. Because then and only then it might be a cost saver rather than a cost maker.

    5. Re:The real world by smash · · Score: 2

      How so? You're buying new hardware anyway, presumably. If your enterprise is on volume licensing, then the licenses already exist and are transferrable...

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    6. Re:The real world by Anonymous Coward · · Score: 0

      DEMAND XP BE SUPPORTED FOREVER

      Let's make a distinction here. I don't demand that Microsoft support XP forever: they should have the right to decide whether to do so or not. I do think, however, that they should not have the right to prevent other people from supporting it when they decide to stop: at that point, they should release the source code.

    7. Re:The real world by Anonymous Coward · · Score: 0

      Yes kids, remember that no-one got fired for choosing IBM.

  20. Bahahahahaaa by Anonymous Coward · · Score: 0

    Maybe it's mediocre at mimicking NT4's domain system but AD is way out of Samba's league. That's OK though, AD has only been out for 12 years so it's still got some time to catch up.

  21. Samba4 works great for small offices by fang0654 · · Score: 5, Informative

    So far I've set up several small offices using Samba4 as a drop in replacement for Active Directory. Here is what I've found it does well: Windows Authentication, AD DNS, Group Policy, Easy scripting (python tools and libraries). What it doesn't do well yet: Replicating AD with other servers. I haven't had much experience using subdomains, etc, mainly because I haven't been able to get it to replicate. But for a small office, it works fine.

    1. Re:Samba4 works great for small offices by ShoulderOfOrion · · Score: 1

      If I had mod points, I'd mod you up for being one of the few posters who actually answered the original question.

  22. Context? by fm6 · · Score: 1

    This question needs some context. My first reaction was, "Hey, what about LDAP?" Then it occurred to me that the instructor was assuming a lot of MS-centric infrastructure that needs AD support. But that's just an assumption.

    I've noticed a certain MS-centric viewpoint in many community college course on networking,. This probably has to do with MS giving schools a lot of resources.

  23. Rather than looking at a replacement... by HerculesMO · · Score: 4, Insightful

    Look at the use case.

    I know too many Windows and Linux folks who try to shoehorn one way of doing things so it runs the way they want them to. This post reeks of that.

    Find the best business reason to use one thing or another. I don't disqualify MS because it's not open source, or Linux because it's free. There are costs to doing everything, and usually made up outside of what infrastructure you decide on.

    That said, Windows is best on the desktop because of Group Policy, its extension into things like System Center, IT Asset Management systems, reporting, workflow, automation, etc. I know it "can be done" with Linux but the process is usually smushed together and kludgy. Windows is simpler because of the software that supports it, many of them made by MS themselves.

    I will stick with *nix for my backend requirements, and Windows for my front end. Until something changes drastically, I don't see much point in trying Linux on the desktop -- it's clearly not its strong suit.

    --
    The price is always right if someone else is paying.
    1. Re:Rather than looking at a replacement... by DragonTHC · · Score: 1

      No one was ever asking if they should use Linux on their desktop. The question was about replacing an active directory windows server with Linux/Samba.

      --
      They're using their grammar skills there.
    2. Re:Rather than looking at a replacement... by HerculesMO · · Score: 2

      Fair point... but if you're talking about having a server with Windows clients and trying to supplant AD, it's a futile exercise. It all works together really well because it's designed to. Once you lose control of being able to administer huge swaths of clients via GPO, you lose an organizational edge.

      Unless you're a software firm intent on showing you can do without. But most people aren't software firms in that position.

      --
      The price is always right if someone else is paying.
  24. Typical Instructor by Murdoch5 · · Score: 1, Flamebait

    Samba 4 is an EXCELLENT replacement for Active Directory. Any first year IT / Networking student should be able to configure a complete domain controller and master PC using Samba. In many cases Samba out preforms Active Directory on Windows. Samba uses less resources, less over head and that all get returned in speed. Infact the only case where I would consider using Windows Server in place of a Linux Server is if I could only hire grade 10 IT nerds who have no idea what there doing. If you want a server you want Linux, Windows is for people who want to show off there GUI instead of getting work done.

    1. Re:Typical Instructor by Anonymous Coward · · Score: 0

      Samba 4 is still in the release candidate stage (RC4) - so I'm not sure in what alternate reality it is considered to be an 'EXCELLENT' replacement.

    2. Re:Typical Instructor by Anonymous Coward · · Score: 0

      "This is the first release candidate of Samba 4.0.0! This is *not* intended for production environments and is designed for testing purposes only.".

      http://lists.samba.org/archive/samba-announce/2012/000277.html

    3. Re:Typical Instructor by tokencode · · Score: 2, Insightful

      Oh really? I ran multiple data centers and managed over 3,000 Windows Servers on 150 independent AD domains, Windows server is every bit as capable as Linux for almost all functions. In some, it excels at far beyond linux, such as managing enterprise networks via Active Directory. As with anything, it's about selecting the right tool for the job. Your statement "only case where I would consider using Windows Server in place of a Linux Server is if I could only hire grade 10 IT nerds who have no idea what there doing" simply goes to show that you are the grade 10 IT nerd who has no idea what he is doing.

    4. Re:Typical Instructor by Murdoch5 · · Score: 3, Interesting

      I know exactly what I'm talking about, in my experience the only people who blast Linux are really covering up the fact they don't understand it. Windows is capable because Microsoft slapped a over bloated GUI on. I've used many Windows and Linux servers and I have yet to see a case where Linux wasn't the better choice in 99% of all cases. That 1% is for the "special" software that some VP wants installed that only runs on Windows.

      I've had many people complain that they have to learn the command line to use Linux and they need to understand how the network works and etc.... but I tell them to grab a book and learn. Out out the 100's of Linux servers I managed I would down grade 0 of them to Windows, from my personal experience Windows gets in the way and allows slop on my network, Linux keeps it neat and running fast, even the master Domain controller which is used for something like 1000 people to log onto the network is Linux based. Before I started the Domain controller was a Windows Server and the login time wasn't horrible, after I upgraded it to a Linux server we shaved about 1/2 second off the login times and another 20% on resource use. So my statement holds, If you don't want to use Linux for your network then you either don't understand it or you don't want to put effort in upfront.

    5. Re:Typical Instructor by tokencode · · Score: 1

      You're simply further proving your ignorance. It is not some 1% of "special" software. The vast majority of EHR/EMR medical applications are Windows based at least on the front-end. I never said anything about not wanting Linux on my network, again it is about selecting the right tool for the job. Just for your information, not all Windows Server installs have a GUI, it is optional. Windows is every bit as scriptable and managable via a command line as Linux if you know what you're doing. Maybe the fact that you are so put off by Windows is a really a reflection of your lack of knowledge regarding it. I stand by my original statement, you don't know what you're talking about.

    6. Re:Typical Instructor by Murdoch5 · · Score: 1

      Okay but I'm going to bring this back to my original point that Linux and samba can create a better domain controller and active directory setup then windows. Maybe for medical applications you do need windows, I don't know as I'm not in that field but as for domain controllers I would go samba over windows in 100% of all cases.

    7. Re:Typical Instructor by Anonymous Coward · · Score: 0

      When AD implements basic rollback functionaklity then we might consider it the "right tool for the job".

      In the meantime, for hardcore installations (>20k clients), it's no match for a properly admin'ed Linux room.

    8. Re:Typical Instructor by tokencode · · Score: 1

      I completely disagree, just take a look at what the majority of 20k+ user enterprises run, hint, its not samba4

    9. Re:Typical Instructor by smash · · Score: 1

      LOL. I has a hammer. Everything I see is a nail!

      Use the right tool for the job. For AD services, that's a proper Windows DC.

      Just like I wouldn't run IIS as an internet facing webserver, or Microsoft TMG as an edge firewall - I won't run SAMBA for core AD infrastructure.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    10. Re:Typical Instructor by smash · · Score: 1

      Rollback facility for the entire domain? You employing muppets? I've administered the AD here for 9 years out of the past 12, and have never needed to do a rollback. Delegate control properly, secure your shit and AD is fine.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    11. Re:Typical Instructor by Murdoch5 · · Score: 1

      Yep the right tool lol not the easy I have a start button tool.

    12. Re:Typical Instructor by David_Hart · · Score: 1

      I know exactly what I'm talking about, in my experience the only people who blast Linux are really covering up the fact they don't understand it. Windows is capable because Microsoft slapped a over bloated GUI on. I've used many Windows and Linux servers and I have yet to see a case where Linux wasn't the better choice in 99% of all cases. That 1% is for the "special" software that some VP wants installed that only runs on Windows.

      I'm curious as to how you define "better" in the 99% of cases where you would select UNIX/LINUX?

      Do you mean more corporate support? or, perhaps, you were talking about the ratio of Windows system administrators vs LINUX administrators on the market? Or, maybe you meant the ability to manage and update all of those servers with centralized management tools? These are all benefits that Windows has always had over UNIX/LINUX. It's one of reasons why the majority of servers in data centers are still Windows. We do have a mix of UNIX servers in our environment, but they are largely used for specialized applications such as our science computing clusters.

      I'm happy that s large majority of UNIX/LINUX servers works well in your environment. But, from my experience, it's relatively unique.

    13. Re:Typical Instructor by smash · · Score: 1

      Good luck with third party application support.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    14. Re:Typical Instructor by Murdoch5 · · Score: 1

      Fair enough, if that is what you've experienced then I can't say your wrong, however from my experience I've had great success, currently Unix/Linux supports all and more of the mainstream tools / support available on Windows, well rolling it out is initially more difficult, once you get use to it, I find it's a quicker to implement. My only issue is that usually when people bash Linux / Unix on the server they bash it because they don't know it. They call out features, software, harware and network support features that exist and when you keep probing them for information you really find out either they don't know what there talking about or they don't want to put effort in to learning a new platform. Once you've mastered the Linux server then you start to see a lot of little stupid Microsoft holes appearing everywhere.

    15. Re:Typical Instructor by Murdoch5 · · Score: 1

      On a server ...... Maybe and I'm being series 1% of what I need to run server side can't be ran on Linux / Unix systems. For that I'll pop a KVM with Windows server and leave it alone.

    16. Re:Typical Instructor by cusco · · Score: 1

      Medical apps
      Security systems
      Alarm systems
      CCTV
      Building automation
      Fire systems
      Power management systems
      Client software for all of the above
      Almost all engineering apps

      Those are just fields that I have personally been working with in the last couple of years. Except for really cheap and crappy DVRs and the Pelco Endura system ($$$) there are no adequate Linux replacements for them.

      --
      "Think about how stupid the average person is. Now, realise that half of them are dumber than that." - George Carlin
    17. Re:Typical Instructor by cusco · · Score: 1

      Yes, I get the idea. You haven't a clue what you're talking about.

      S2 is a nice Linux-based access control appliance, but it gets into trouble when you add more than about 30 doors or 3 sites. Exacq has a decent Linux-based NVR/DVR, but it's strictly a stand-alone system, no centralized management, no federation, no integration with other systems, their Windows systems are far superior. Zoneminder and Asterisk might be adequate for a 7-11 store or a homeowner, but when you start working with professional installations they're not even worth considering.

      The customer that I was working with this morning has 17,300 card readers and 18,600 cameras worldwide, centrally managed, with tight user controls, in depth logging, and which handles over a million events a day. Think about a hospital with 250 card readers, 170 cameras, 150 sensor input points, a dozen elevators, three score output relays, two dozen client machines, anti-passback areas, area lockdowns, and integration into infant abduction, pharmacy, time and attendance, and HR systems. Imagine trying to cobble together the collection of kluges it would take to make something like that work, and then think about whether you are willing to risk the lives and well being of hundreds of patients on your work of art.

      This type of system resides only in the Windows ecosystem, Lenel, AMAG, Software House, Milestone, and the like. The Pelco Endura system, which is strictly video, is the only Linux based enterprise-class system in the entire security and automation industry.

      --
      "Think about how stupid the average person is. Now, realise that half of them are dumber than that." - George Carlin
    18. Re:Typical Instructor by Murdoch5 · · Score: 1

      If you change the scope of the post after you ask it then of course my answer will be wrong, if you wanted to scope it initially then scope it. So again I do know what I'm talking about, apply scope during or before your point not after.

    19. Re:Typical Instructor by cusco · · Score: 1

      Your original scope was, "I have yet to see a case where Linux wasn't the better choice in 99% of all cases." Your world view and work experience has to be pretty small for that to be true.

      --
      "Think about how stupid the average person is. Now, realise that half of them are dumber than that." - George Carlin
    20. Re:Typical Instructor by Murdoch5 · · Score: 1

      Not at all, the original scope started with my stating that Samba 4 made a better Domain Controller then Windows which it does, then I stated that Linux will make a better server platform in 99% of all cases, which it would. If I needed that 1% I'll throw KVM on and then install a windows machine and run what I need into it, I would still use Linux at the core of the server, even if you put Windows in a KVM it's still a Linux server. So I'm still correct on my view.

  25. What "Group Policy is" by Zombie+Ryushu · · Score: 4, Interesting

    Keep in mind that "Group Policy" is, truly, is merely Windows Registry keys stored in the LDAP database in Active Directory. Samba 4 will store these in it's LDAP database. Something Samba 3.x+OpenLDAP Couldn't do.

    Linux has no Registry, Linux approaches the Group policy concept differently by having application level Sub-Schemas that have to be imported into the tree. Linux applications then have to be configured to call on the LDAP Database instead of using it's local files. There are OpenLDAP Schemas for:

    Sudoers
    Evolution
    eGroupware/phpGroupware
    DHCP
    Samba 3 of course
    Bind (Deprecated)
    Posix Accounts (/etc/password, NIS and NFS related)
    CUPS (Printers)
    Kerberos
    Posix
    Puppet
    urpmi (Exclusive to Mandriva)
    Apache (Can store httpd cluster information)
    Zimbra ...and more.

    When Samba 4 is released, you have to import all these OpenLDAP entries into the Samba 4 LDAP tree.

    1. Re:What "Group Policy is" by Anonymous Coward · · Score: 1

      Actually, Group Policies are nothing but a file stored in the domains SYSVOL folder. Look for the "Registry.pol" file under the GPOs UUID, open it up with a unicode capable text editor. AD acts as a settings store for other services.

  26. Depends on what you want to do... by bevenhall · · Score: 2

    Take a look at http://www.zentyal.org/ .

  27. it's an excellent replacement by DragonTHC · · Score: 1

    Samba + OpenLDAP is a fine choice for AD replacement.

    --
    They're using their grammar skills there.
  28. Re: Puppet for config/package to Windows? by Jonah+Hex · · Score: 1

    Off topic, but how does Puppet do with Windows clients, both server and workstations? Can it handle the standard packages I'd deploy via AD? I've been perusing their website but only see that Windows can be a client, not seeing the extent of it yet. Thx for any info in advance, I'm a rollout and installation pro from the Windows side of the data center and always looking for more config/app management skills. - HEX

  29. Let the kids have their toys by codepunk · · Score: 1

    Let the kids have their toys, put your efforts into the man tools.

    --


    Got Code?
    1. Re:Let the kids have their toys by Anonymous Coward · · Score: 0

      >Let the kids have their toys, put your efforts into the man tools.

      Your preference for mantools is something that's best kept to yourself. (Not that there's anything wrong with that, of course.)

    2. Re:Let the kids have their toys by Anonymous Coward · · Score: 0

      men tools... or better known as Mentos

  30. i believe by Anonymous Coward · · Score: 0

    Samba4 is on the verge of being a viable alternative to AD. Check back in a few years.

    There is a commercial AD replacement that i believe uses Samba4 at its core: Centrify.

  31. How Bout Noe. by Anonymous Coward · · Score: 0

    SAMBA 4 as a simple directory replacement for Active Directory is no where near ready. But, even if it was close, it would still be lacking "minor" things like a dead simple and reliable GUI that even end users can use. It would still lack integration into third party application capabilities for Share Point and Exchange-like apps as well as reporting, monitoring and so much more.

    The fact of the matter is that a directory far technically superior to Active Directory has been available for a couple of decades. That is Novell eDirectory. Yet, the defacto decision has been to cast it aside in favor of Active Directory, which is slowly approaching a similar capability. Even if SAMBA 4 were vastly superior technically, it would still have no chance against the integration and ease of use that Active Directory has over the most prevalent and widely used operating systems and applications on the planet.

    1. Re:How Bout Noe. by pirhana · · Score: 1

      > SAMBA 4 as a simple directory replacement for Active Directory is no where near ready.

      Its in last or second last RC stage right now and final version is expected by end of this month

      > But, even if it was close, it would still be lacking "minor" things like a dead simple and reliable GUI that even end users can use

      Integration with Zentyal (www.zentyal.org) is already in place and it has a "dead simple" GUI for every common tasks required by the admins

      > It would still lack integration into third party application capabilities for Share Point and Exchange-like apps

      Based on samba4, SOGo(www.sogo.nu) has released sogo version 2 which is a feature-by-feature replacement for exchange and has native outlook compatibility. If this is integrated with Zentyal, it should be a perfect replacement for AD/Exchange combination

      > Even if SAMBA 4 were vastly superior technically, it would still have no chance against the integration and ease of use that Active Directory has over the most prevalent and widely used operating systems and applications on the planet.

      You forget one very important point here. Along with all the deployments and usage of AD, there are lot of problems too like stability, virus, worms, license etc. People are desperately looking for an alternative based on Linux. If they can get something solving these core issues, they are ready to make "compromise" on some peripheral features and problems.

    2. Re:How Bout Noe. by Anonymous Coward · · Score: 0

      >> SAMBA 4 as a simple directory replacement for Active Directory is no where near ready.

      >Its in last or second last RC stage right now and final version is expected by end of this month

      This doesn't change the validity of the original statement in any way. It hasn't shipped and if it does ship, it will still be lacking.

      >> But, even if it was close, it would still be lacking "minor" things like a dead simple and reliable GUI that even end users can use

      >Integration with Zentyal (www.zentyal.org) is already in place and it has a "dead simple" GUI for every common tasks required by the admins

      Mmm. I think the comparison between the AD MMC and Zentyal is a poor choice that leaves you open to having your argument picked apart. You also left out the part about it being reliable or something that even end users could use. Zentyal is fail.

      >> It would still lack integration into third party application capabilities for Share Point and Exchange-like apps

      >Based on samba4, SOGo(www.sogo.nu) has released sogo version 2 which is a feature-by-feature replacement for exchange and has native outlook compatibility. If this is integrated with Zentyal, it should be a perfect replacement for AD/Exchange combination

      LOL. You've made it clear that you have no clue what Exchange is. SOGo is yet another failed attempt at being Exchange 2000. Today's Exchange 2010 has again raised the bar a little beyond those heady days of a decade ago. I'm still LOL!

      >> Even if SAMBA 4 were vastly superior technically, it would still have no chance against the integration and ease of use that Active Directory has over the most prevalent and widely used operating systems and applications on the planet.

      >You forget one very important point here. Along with all the deployments and usage of AD, there are lot of problems too like stability, virus, worms, license etc. People are desperately looking for an alternative based on Linux. If they can get something solving these core issues, they are ready to make "compromise" on some peripheral features and problems.

      You assume a lot about me and my memory. Allow me to assume that you are clueless. The VAST majority of people don't seem to have any issue at all dealing with AD, licensing cost, stability, or even defending their servers against viruses and worms. That's why the VAST majority of servers that utilize directory services run Windows. You are right about one thing though, SAMBA 4 would be a (bad) compromise.

  32. Novell has AD emulation by Anonymous Coward · · Score: 0

    Novell in its SLES/OES has an install option that you can use with eDirectory called Domain Services for Windows (Google dsfw).

    It essentially has a Novell written (ie: well tested "enterprise" quality software) that has a translation layer that converts active directory calls to eDirectory. The translation occurs transparently and works with at least win2k3 as a AD server. New versions should work with 2k8 soon (if not already). What else is nice is that when you use dsfw, you no longer need to use the Novell client or their tools (ie: Console 1 or eDirectory via http) to manage the windows machine; you just join it to a domain like usual and manage it entirely via MMS (group policies, etc.). And yes, they use Samba to provide the file access.

    It works. Use it. Otheriwise, just stick with MS and go with AD if you _really_ need flawless AD compatibility.

  33. it is cool! by Anonymous Coward · · Score: 0

    i dunno about samba 4 but v.3. could do the roaming profile thing with winXP.
    so all your stuff is on the samba server. if a XP box acts up or breaks, just move to another box (or plugin a spare)
    put in your username and password (on the domain) and continue your work (which the XP will fetch
    from the samba server).
    doing it for the first time was a nightmare, but with all things linux-y, the "IT WORKS!" -or "IT'S ALIVE"
    is a real dr. frankenstein moment and definitely worth it : )

  34. Re: Puppet for config/package to Windows? by dodobh · · Score: 3, Informative

    Puppet has a server and client setup. The Puppet server process is Unix only.

    MSI packages are supported. I'm not sure about group policies yet.

    --
    I can throw myself at the ground, and miss.
  35. The closed source bit of Samba... by Shuntros · · Score: 3, Interesting

    I realise Novell aren't exactly a powerhouse any more, but does anyone else remember about 5 years ago when they released Domain Services for Windows? That was basically Samba 4, but using eDirectory and NSS (that's a proper man's filesystem, for you young kids) as the back end. I only played with it briefly whilst at my last employer, but damn did it rock... All the NSS clustering and good bits of Novell tech were totally transparent. The only time you knew you were talking to a Linux box was if you opened up a DC in MMC and looked at its properties, where it said something along the lines of "SuSE Linux Open Enterprise Server".

    Fairly obvious that Jeremy A was largely responsible for DSfW, just a shame that stuff was most likely locked up as Novell IP and off limits to Samba 4.

    1. Re:The closed source bit of Samba... by ulzeraj · · Score: 1

      It works like a charm and it helps a lot on pure Novell environments that need Active Directory because of a certain software or operating system. With Novell-CIFS it even respects the trustee control lists.

    2. Re:The closed source bit of Samba... by Shuntros · · Score: 1

      I figured it probably would. I used to love working with Novell products and used to proudly have all my CNE/CNI certs framed in the office but left that organisation (education) before I had chance to get involved in transitioning from Netware to OES2 on SuSE. Now sat up in management towers wishing I could still be getting my hands dirty. Such is life.

  36. Not replace, but maybe work with. by xaoslaad · · Score: 1

    I don't think you can replace Active Directory for things like Group Policy, etc. The functionality just isn't there, as far as I know. On the other hand check out the FreeIPA project in Fedora (and IPA in RHEL) - they now support creating trusts with Active Directory domains which allows sharing resources, etc. This is the gist of how it works: https://fedoraproject.org/wiki/QA:Testcase_freeipav3_ad_trust

    1. Re:Not replace, but maybe work with. by Anonymous Coward · · Score: 0

      Group Polcies are just a text file in the domain controllers SYSVOL. It works fine, and was working just fine back in alpha14 at least.

    2. Re:Not replace, but maybe work with. by xaoslaad · · Score: 1

      Thanks for the info, I did not know that.

    3. Re:Not replace, but maybe work with. by Daltorak · · Score: 1

      I don't think you can replace Active Directory for things like Group Policy, etc.

      Strictly speaking, Group Policy and user settings management stuff is not "Active Directory". It is a layer on top of Active Directory, which was originally called IntelliMirror but now just goes by the name Group Policy. All "Active Directory" gives you is a scalable authentication layer based on DNS and Kerberos with some interesting hierarchy features, the ability to "trust" other AD organizations to varying degrees, as well as a schema-based object system that anyone can expand on. AD objects can represent any kind of "thing" you have in your organization.

      If you had the resources, you could probably build a complete OS X or Linux-based user and computer settings management system, on top of Active Directory, without actually doing things the "Windows way". As long as the operating system/desktop environment supports a way of storing and protecting settings that a user can access but not change, then you're good to go. (This is the one thing the Registry has going for it -- you can secure individual settings, whereas with other operating systems, you can only apply security at the file level.)

    4. Re:Not replace, but maybe work with. by Anonymous Coward · · Score: 0

      Quest Authentication Services (now Dell) and Centrify already allow you to apply group policies to Linux (or Unix) AD joined clients.

    5. Re:Not replace, but maybe work with. by ulzeraj · · Score: 1

      SAMBA4 implements GPO and so a lot of other systems that are not "AD" like Zenworks.

  37. several alternatives... by pouar · · Score: 1

    OpenLDAP, OpenDJ, FreeIPA. does anyone bother to use google anymore.

    --
    while :;do if windows sucks;then mv windows /dev/null;pacman -Sy linux;fi;done
  38. Novell still has solutions by Anonymous Coward · · Score: 0

    Check out products from Novell for really good stuff that integrates well across Windows and *nix.

  39. AD has serious problems by whois · · Score: 2

    I don't think it's bad for what it does, but the inability to rollback changes or even to know what's been changed is a serious oversight. There are third party tools that fix this (Google search for active directory change control), but for a large scale environment you shouldn't have to rely on third parties to make a tool usable.

    Contrast this to a UNIX based ldap server (openldap) where the entire directory can be saved and reloaded as a text file over and over again.

    AD also has the tendency to bury lots of information behind properties windows that have 30 or so tabs. Even if you look at all of those you'll still miss disconnected pieces like group policies or if an AD account has an exchange account.

    I don't think "replace AD with Samba" is a good idea though. If you're going to be using lots of Windows systems then you're better off managing them with the tools provided by the vendor.

  40. Re:Dumb Question is Dumb by Anonymous Coward · · Score: 5, Informative

    ...it has a built in LDAP and Kerberos server set in the same daemon. That is a problem...

    The reason is that M$'s implementation of things like LDAP is broken. So a standard LDAP (or Kerberos) server is not going to work.

    E.g., OUs that really aren't (In AD, OUs are just cosmetic). There are attributes associated with objects that break LDAP spec. etc.

    Microsoft broke Kerberos just enough to prevent using a standard Kerberos server setup, but works to use std. clients against AD.

    Microsoft broke DNS in the 90s. They allowed things like underscores in names which are illegal according to spec-- all standard DNS servers now allow underscores to allow interop with the broken M$ implementation. There is even a DNS RFC that comes just short of naming M$ which calls out that they butchered and abused DNS in their AD implementation-- this abuse interoperates with current DNS servers, though. so this isn't a reason for including their own DNS.

    So, rather than breaking every other existing software package, or trying to maintain a bunch of patch sets, Samba just includes its own implementation of the above with breakage compatible with M$'s breakage.

  41. eDir by Anonymous Coward · · Score: 0

    I don't see it in the posts, but having a number of AD environments (unrelated companies) large and medium sized which I'm involved in I'm still baffled by the lack of capability compared to directories and the related functions of old. Yes, I'm specifically talking eDirectory (NDS) worlds of which I still have one running and keep having to check back on what I can do to ensure I'm not seeing the world through rose tinted glasses.

    Samba + related systems are trying to fill a theoretical gap when eDir is already linux native, just commercial. Couldn't Attachment/Novell do us all a favour and set eDir free as the linux directory solution?

  42. Not realistic in an environment containing Windows by tokencode · · Score: 1

    Unless you plan on completely removing Windows from your environment, including client devices you are responsible for, Active Directory is clearly the right choice. Samba4 might off an alternative in the sense that it can serve the same function as many parts of AD, but it is not a realistic alternative when you consider the additonal administration if you are already running a Windows domain.

  43. Straightforward... by Junta · · Score: 1

    I assume the fixation with AD specifically to the point of referencing Samba 4 means Windows will be a way of life.

    Once released and incorporated into something like RHEL, then I'd say Samba 4 becomes worthy of consideration. At that point in time:

    -If your infrastructure is mostly Windows, stick with AD.

    -If your infrastructure/clients is mostly Linux (or clients aren't going to be traditional Windows workstations either way) or you have *realistic* ambitions of this being the case, then Samba 4 will probably be a worthwhile mechanism to integrate and service the occasional Windows presence. Note the realistic aspect of such ambitions cannot be stressed enough. There are a number of pie in the sky plans that everyone who is a part of it *knows* will never happen, and then you'll be stuck with what will be inevitably awkward infrastructure in a windows centric businsess.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  44. Something LIKE AD for linux desktops... by anon+mouse-cow-aard · · Score: 1

    The answer is no, Samba4 is not a good idea for admining a network of linux desktops. The point of Samba is to admin a windows network with a linux server. The poster never mentioned windows, and is asking about a tool like Active Directory for linux. He likely just means distributed authentication management. The answer is likely openldap (with or without kerberos) For all the other functions, there are tools, like chef, puppet, dsh, etc... that are better than anything in the Windows world.

    1. Re:Something LIKE AD for linux desktops... by Zombie+Ryushu · · Score: 1

      Samba 4 is backward compatible with OpenLDAP.

    2. Re:Something LIKE AD for linux desktops... by anon+mouse-cow-aard · · Score: 2

      Fair enough, but to admin a Linux network, LDAP to Samba is like replacing a bicycle with a 30 ton truck. Sure, it is still transportation, but the operating costs are a little different. On Linux, you don't need it. You don't need NT shares (just use sshfs) you don't want group profiles (just use files in /etc), things done with Samba are usually done far more simply on Linux without it. Once you have it in place, you need to feed it... that complexity costs admin time forever. Sure, if you are stuck with a mixed environment, then it is necessary, but if you can avoid it, it is better to apply a suite of lighter tools.

    3. Re:Something LIKE AD for linux desktops... by Zombie+Ryushu · · Score: 2

      You don't understand. AD IS LDAP. The Samba 4 AD Server runs OpenLDAP and Heimdal Kerberos.The file /etc files direct the machine to look to LDAP for configuration and policy instructions.

  45. Re:hahahahahah by Cute+and+Cuddly · · Score: 0

    You sound like steve balmer (I meant it as a bad thing)

  46. Resara by gregthebunny · · Score: 1

    It's too bad Resara shut down. Hopefully someone will pick up its pieces.

  47. Re:NAS is irrelevant by rduke15 · · Score: 1

    We finally switched out our last NAS that was running Samba. Too many small glitches. Not worth the hassle.

    NAS boxes tend to be designed for home users. They are not a "real" server where you can easily install anything you need, and comfortably configure it. If you need stuf that is not in the web interface, it gets difficult. You cannot compare Samba on a NAS to a real server (be it a Linux or Windows server).

    Besides, the whole comparison is irrelevant because the poster was talking about AD. So that means it is AD vs. Samba 4, which just released ther first "release candidate". That is not the same thing as Samba 3, which is a very reliable replacement for Windows NT server. I manage about a dozen servers with Samba 3 for various small businesses, and it works very well.

  48. Re:Dumb Question is Dumb by Anonymous Coward · · Score: 0

    Someone mod this up. It's the absolute truth and not well known.

  49. Re:Dumb Question is Dumb by myowntrueself · · Score: 1

    Samba 4 *is* intended to be a full AD implementation. Currently it has a built in LDAP and Kerberos server set in the same daemon. That is a problem
    for some, like myself, that use Samba 3 + LDAP for shared auth. When complete is *should* be a fairly complete implementation of the AD specs, all
    of them. I have no idea how long this will take, or just how complete it is, but those are the design goals. All of this is a result of Microsoft releasing the
    full spec due to the European Union lawsuit.

    I don't think I'm understanding this 'full AD implementation' thing.

    Are you seeing Group Policy as being outside of a full AD implementation?

    Or can Samba4 do Group Policy?

    --
    In the free world the media isn't government run; the government is media run.
  50. Re:hahahahahah by rubycodez · · Score: 4, Informative

    to do which functions and to scale to what size? login authentication for 100 users in a medium sized business works very well, the medical office management company I set up with vmware and linux servers (but windows desktops) has been working very well that way for 3 years already.....

  51. smbpasswd by Anonymous Coward · · Score: 0

    To the samba ppl. You could tell us theat smbpassword -a makes it work. I is not obvious.

  52. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  53. No by Anonymous Coward · · Score: 0

    A good *alternative* to ActiveDirectory is OpenDirectory or similar. Samba is pretty much just a direct copy of ActiveDirectory, which means it is compatible with Windows by default, but inherits many of the same weaknesses as AD.

  54. no by smash · · Score: 1

    If you want active directory, run active directory - and when you're chasing down some wierd behaviour between client and server you can go to a single source for support.

    If you don't want active directory, run something else.

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  55. Maybe for quite small client counts or custom sw by Craig+Ringer · · Score: 2

    Overall, no, it isn't even close. Samba 4 may offer the core features of AD its self, but it doesn't offer all the powerful management and Group Policy tools, system deployment facilities, etc. Some of it could probably be hacked in on top, but IMO, it's really not worth it.

    I was running a Samba3 domain on an LDAP directory for years. It was OK, but always had annoying warts and problems, plus it was a pain to run. Automatic printer drive deployment was fiddly and never that reliable. Group Policy wasn't even an option.

    Eventually I gave in and moved over to win2k8. As a heavy Linux user and long-time *nix sysadmin, I have to say, for running Windows networks I am NEVER going to use anything else. Sure it has its issues, but it's reliable and it has an amazing array of system management tools.

    The Microsoft Deployment Toolkit alone is worth running a Win2k8 box for : just PXE boot your clients and have them auto-re-install themselves, install software and printers, change settings, add local users, install updates, and reboot almost ready to use. You can do this with a USB key and a manually copied Windows PE image, but it's fiddly and annoying.

    Then there's Group Policy. Group Policy actually makes me want to use Windows. It makes me want to get rid of my Linux thin clients - despite their reliability - because with Group Policy I can just push changes out to all machines (or defined subsets) with a few simple changes in a central directory. It's seriously impressive.

    About the only irritation is that so many software packages use custom installers rather than the Microsoft Installer (MSI), so it's not always easy to roll them out via Group Policy server push. Some of those that do (I'm looking at you, Adobe) don't make it easy to just download their updates whenever they come out and push them via Group Policy; you have to go and check for updates by hand. Fail.

    Despite the irritations, there's just nothing like it for booting a client off the network and having it come up ready to use. Redirect the user's desktop and documents folder and you don't even need to worry about the machine breaking or having client backups; you back up the redirected folders, and if the machine breaks you just re-image it because it has no local data of any importance on it.

    The sad fact is that tools like this are no fun to work on, so they're not something we're going to be seeing in Linux/BSD land in a hurry.

  56. Re: ...An imitation of a de-facto standard. by dirkmitt · · Score: 1

    I think one needs to realize that MS became a de-facto standard, and that Samba is a Linux emulation of it. From what I see here, Samba4 also does Active Directory. But then it becomes a Linux re-implementation of A/D. Is it highly important to emulate pure file sharing at all? I once told myself that file sharing via a File Server may be a wrong approach to some problems, except when I'm copying and pasting some files here at home, between a mere 5 personal boxes. Even between my 5 home boxes, I've run in to Samba hiccups. It's true that Samba is even accepted by my Windows 7 Pro, 64-bit client, while running on a Linux server. But it's a wavelike phenomenon based on Windows popularity. /There should/ be better ways to go, for large enterprises. Mind you as sincere as I am, the main alternatives I can think of, are probably too Linux-centric for you. I.e. you could do an NFS mount, a Unison sync via SSH, some form of WCMS, some form of OpenVPN / SSH tunneling, etc..

  57. libkdc-policy.so by Anonymous Coward · · Score: 1

    $ lsb_release -r
    Release: 12.04

    $ apt-file search libkdc-policy.so
    samba4: /usr/lib/x86_64-linux-gnu/samba/libkdc-policy.so

    $ apt-file list samba4 | grep kdc
    samba4: /usr/lib/x86_64-linux-gnu/samba/libkdc-policy.so
    samba4: /usr/lib/x86_64-linux-gnu/samba/service/kdc.so

  58. Moreover... by Anonymous Coward · · Score: 0

    Nothing is stopping someone like Puppet Labs from using Active Directory to push policy to unix domain members. Puppet currently has plugins for LDAP to push variables/manifests down to nodes. The difference here is using the AD LDAP (and the OU structure) to push not settings themselves but instead pull which policy objects apply (read via CIFS from SYSVOL, replicated by FRS across your DCs) to use for hosts and following the same inheritance logical for hosts, users, and supporting loopback processing, which would segue nicely with how AD currently handles Windows systems. That way you could have one policy object for say setting HTTP proxy settings, and while there would be an entry for IE 6 and 8+, and then a separate entry for puppet-managed Firefox on Unix, at least it would hang together in one logical object and apply for the appropriate machines/users.

    It's not terribly difficult write snap-ins or even basic ADMX templates to encode these key/values and put an admin-friendly face on them.

    Centrify already has some of this (client plugins, management snap-ins for Windows admin workstations in AD). This is something I think that needs to become more commonplace.

    The actual "artifacts" involved are very basic. ADM and ADMX files are simple INI-like files, fairly straightforward to author and parse. POL files are documented in technet and are essentially a binary version of the REG file format (add/modify/delete name-value pairs). You can also use INF files instead which can be specific to Puppet (treated like a foreign client-snapin to be ignored by Windows clients) but that requires writing a DLL to plug into MMC on Windows if you want to author/edit them on the Windows side.

  59. Re:NAS is irrelevant by Anonymous Coward · · Score: 0

    We never have problems serving files from our netapp systems. Perhaps you should upgrade?

  60. Re:Dumb Question is Dumb by Anonymous Coward · · Score: 0

    Samba 3 can already do group policy.

  61. Samba vs AD by Anonymous Coward · · Score: 0

    Sorry to say but Samba does not come close to AD, we tried it and failed (hard)

    with entry level costs for AD via SBS 2011 you would be silly not to use it.

    yes AD costs a bit more to deploy as its not free but you will save a heap by not wasting hours trying to do and deal with issues you should not have to.

    Having WSUS in place alone saves a lot of time and money and that's before you start using GPO's do work their magic.

  62. AD is more than SMB by Anonymous Coward · · Score: 0

    The Network Administration teacher is right there is no good alternative for AD that can just drop in and work. Before jumping all over him ask what AD actually is because there is a whole lot more going on there than just SMB shares. If you can find a way to give COM objects all the access they want without AD in linux then you deserve the nobel prize.

  63. No. by Anonymous Coward · · Score: 0

    Still way too far behind AD.

  64. Re:Dumb Question is Dumb by Anonymous Coward · · Score: 0

    "(In AD, OUs are just cosmetic)"

    You're not really making yourself look as if you have any experience with AD here.

  65. Re:hahahahahah by ls671 · · Score: 2

    Fuck proprietary AD calls. LDAP is the standard to code apps with. AD has an LDAP interface by the way.

    --
    Everything I write is lies, read between the lines.
  66. AD was orig. a copy of UNIX file permissions? by fadethepolice · · Score: 1

    This is pretty funny considering microsoft was nothing but a good late follower to this market. Samba, if not samba 4, is a pretty easy to use alternative to AD. Setting up a file share or administering a small office network with it is very much possible, and for most people preferable. Doesn't windows AD basically copy the original UNIX user permission structure, so, by definition, any UNIX System is a replacement for AD?

    1. Re:AD was orig. a copy of UNIX file permissions? by Anonymous Coward · · Score: 0

      This is pretty funny considering microsoft was nothing but a good late follower to this market.

      No, actually Microsoft has always been a leader in this market. At one point Novell did seem to have a decent offering, but in the end it was no match for AD.

      Samba, if not samba 4, is a pretty easy to use alternative to AD. Setting up a file share or administering a small office network with it is very much possible, and for most people preferable. Doesn't windows AD basically copy the original UNIX user permission structure, so, by definition, any UNIX System is a replacement for AD?

      I think that you are not really aware what a directory service is (hint: it is not about file system directories). The Windows NT line of Windows has always had much more advanced file system permissions than Unix file system permissions. For instance, Windows has proper ACLs out of the box which allows inheritable permissions, multiple single-user and/or multiple group permissions on the same object, "deny" permissions, more granular permissions (more than just xrw) allowing users to change security attributes without being the owner etc.

    2. Re:AD was orig. a copy of UNIX file permissions? by fadethepolice · · Score: 1

      I remember when I could just open up a command prompt in windows nt to bypass the security. I don't think this was ever possible with unix.

  67. Re:Dumb Question is Dumb by kevmeister · · Score: 4, Informative

    Microsoft broke DNS in the 90s. They allowed things like underscores in names which are illegal according to spec-- all standard DNS servers now allow underscores to allow interop with the broken M$ implementation. There is even a DNS RFC that comes just short of naming M$ which calls out that they butchered and abused DNS in their AD implementation-- this abuse interoperates with current DNS servers, though. so this isn't a reason for including their own DNS.

    Not really correct. The DNS specification in RFC1035 from 1987 allows the use of underscores in names. This has never changed.

    This is a common misconception because the use of underscores in hostnames IS prohibited and this remains true. Microsoft chose the use of underscores in thier AD implementation to remove the possibility of name-space collision with hostnames. BIND, the most popular DNS server in use only permits underscores in hostnames when an option is set to override the default.

    Microsoft has broken lots of standards either because they didn't understand them or found it advantageous to ignore them, but this is NOT one of them.

    --
    Kevin Oberman, Network Engineer, Retired
  68. adfsv2 by Anonymous Coward · · Score: 0

    does samba4 support claims based authentication using WIF as does adfsv2?

  69. Re:What for? What do you need to do with it? by CAIMLAS · · Score: 1

    OK, so if I want to have centralized login/credential management for my Windows workstations/laptops but don't want to let Windows near the server room, where do I start?

    "Active Directory" or "Samba 4" are really the only two answers I'm aware of, and currently, I don't like either.

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
  70. And you don't understand by Anonymous Coward · · Score: 0

    If you don't need all that AD gives you (or all that Samba4 gives you), then you don't need AD or Samba4.

    If all you need are network shares or windows boxes, you don't install AD/SMB. You install nfsd.

  71. Re:What for? What do you need to do with it? by Anonymous Coward · · Score: 0

    This is the correct answer. AD creates a foundation layer upon which all kinds of stuff gets built from desktop administration to email, sharepoint to digital encryption, and a whole suite of really good stuff that you may or may not use at all.

  72. Re:Dumb Question is Dumb by ulzeraj · · Score: 1

    And then there is the PAC on Kerberos. I've read that the Samba team decided to implement their own internal LDAP and Kerberos systems because it would require so many modifications and patches on existing and stable projects that no open source project would want to maintain just because of Samba.

  73. Re:Dumb Question is Dumb by ulzeraj · · Score: 1

    "Or can Samba4 do Group Policy?"

    It does.

  74. Re:Maybe for quite small client counts or custom s by ulzeraj · · Score: 1

    But there is GPO support on SAMBA4. You can even manage them remotely through GPMC on a Windows computer.

  75. Re:Dumb Question is Dumb by myowntrueself · · Score: 1

    "Or can Samba4 do Group Policy?"

    It does.

    So I can roll out configurations to Windows 7 workstations, like get them to install software, set password policy, configure firewall settings etc all from a samba4 server?

    --
    In the free world the media isn't government run; the government is media run.
  76. Re:Dumb Question is Dumb by ulzeraj · · Score: 1

    As far as I can tell the policies that can be set through the GPMC console are equal or better than those on a Windows 2003 server so I think you should give a good look at it. All those more cheesy policies I've checked like desktop settings and restrictions, package installation and more are there.

    I don't know if you can edit the password settings through the "Domain Security" MMC but I'm not saying you can't either. The "samba-tool" command however allows you to set password policies.

    Again, go look at it. Even if you are not planning to use it because its an interesting experience. I'm not saying that OP should use it because its still in release candidate stage but it will become a great piece of software when they release a stable version.

  77. Samba4 is not the only way. by Anonymous Coward · · Score: 0

    You could skip Samba4 and call Symas if you want consistent SID/POSIX mapping without learning everything about the protocols and paradigms of both systems. Or if you already understand the Deep Magic just use Kerb5 (MIT or Heimdal) and GSSAPI and SASL and OpenLDAP from sources.

  78. No. by Anonymous Coward · · Score: 0

    Been down the Samba road a few times. While it's a wonderful tool, it's just not as seamless and well developed as AD. There's places to use it, as an AD controller, well, that would not be preferred unless you had no choice. It's definitely going to take more labor. If you're OK with that (labor is free camp), go for it.

  79. Depends on the costs, for starters. by Ungrounded+Lightning · · Score: 1

    If two tools do similar jobs in the same use case, but one can be administered by someone who isn't a dedicated professional, and the other one requires a specialist, then within that use case, the easier to use tool is better.

    Really? What if the one that doesn't require the specialist costs more than hiring or training up a specialist? What if the one that doesn't require a specialist has other costs - like lockin, single-source supplier dependency, higher vulnerability to attack, etc.

    I'm not saying that is the case with AD vs Samba (especially samba4, which is NOT yet released for production use). I'm not in charge of deploying either and haven't had any reason to compare them. I'm just saying that administrator skill level is not the only cost to compare.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  80. vampire by WhiteDragon · · Score: 1

    Samba vampire basically automates this. It replaces an existing domain controller, by reading all the users/ groups/shares/member servers/etc. and then *becomes* it.

    --
    Did you mount a military-grade, variable-focus MASER on an unlicensed artificial intelligence?
  81. Samba4 is great! by Anonymous Coward · · Score: 0

    Yes, samba4 is having growing pains. But we have several companies currently operating on Samba4 domains.
    Also, you are using windows tools to administer, so it couldn't be anymore the same. all you are doing is getting rid of the ridiculous price tag

  82. why change? by Anonymous Coward · · Score: 0

    I'm a sys admin that deals with active directory among other things, I’ve never installed Samba but I got to ask why would I want to have Samba? Every place I’ve ever worked in recent history has had Active Directory setup when I got there. Why would I try to migrate to Samba when AD works just fine? Aside from the windows license AD is free, it’s the industry standard, 99.9% of software that integrates with Samba is also going to integrate with AD, but many products support AD but not Samba. It’s much easier to get support either free via forums, blogs, web searches etc, or paid support from Microsoft. It’s much easier and cheaper to find consultants that know AD. Active Directory supports things like group policies and AD integrated DNS zones. Does a product like Exchange integrate with Samba in a supported way? I don’t believe so, even If it does now my Exchange admin needs to know samba, that’s going to be a lot harder to find that one who also knows at least a little AD. The question isn’t why shouldn’t I go to Samba, but why should I.

  83. Linux-based shares by Compaqt · · Score: 4, Insightful

    Well, OK, granted for personal machines.

    But you should at least be able to browse the available servers, right? What I see is the community will continue to put out buggy Windows interop software because M$ can't just hand over the AD source.

    Anyway, like I said in another place in the discussion, the Linux community seems to have went about this wrong.

    It would have been better to come up with a networking addon for Windows clients to allow them to easily browse and connect to resources provided by Linux servers in a hierarchical domain arrangement (basically, Domain Name System). So: ibm.com, fl.ibm.com, miami.fl.ibm.com, files1.miami.ibm.com, etc.

    Auth handed by OpenLDAP and Kerberos. Remote login by RADIUS.

    Some of that stuff would need some polishing around the edges plus integration, but again, writing your own Windows client DLL should seem to be much easier than divining and decoding messages passed around an AD network.

    Also: it would have been nice to really think outside the box. Like, how about allowing users to browse resources instead of being concerned with which server a resource happens to reside on?

    --
    I'm not a lawyer, but I play one on the Internet. Blog
  84. Schools and textbook vendors. by Ungrounded+Lightning · · Score: 1

    I've noticed a certain MS-centric viewpoint in many community college course on networking,. This probably has to do with MS giving schools a lot of resources.

    Tell me about it.

    I just started a database class at a full-blown 4-year-degree-granting college. The class requires the use of SQL Server 2008 Express (preferably R2) and its management studio. It's on a half-term, running at double speed to get done in eight weeks, so there's no time to even experiment with running parallel with MySQL, let alone attempting to do the assignments on it and falling back / testing on MS if something screws up. My home is now a pure unix/linux shop, so I (actually, my wife B-) ) configured up an XP system on a spare laptop just for this class. (We already have the firewall set up to provide a logically and physically separate "rednet" LAN to isolate any Microsoft machines - from when she had a similar situation at a community college.)

    At first I wondered why the class couldn't use MySQL. It has about the same penetration as SQL server in the industry (and then there's Oracle, so MS is actually a small player in this pond), which means learning only the MS way may be carreer-limiting. MySQL is free, is open-source (so students could get under-the-hood if they wanted to see how the sausage is made), etc. Even asked The Prof if the school was considering switching over later - but answer was just that class is on it now. Then I cracked the book (From John Wiley & Sons), and it became clear:

    "Now available to educational institutions adopting this Wiley textbook is a free 3-year membership in the MSDN Academic Alliance. The MSDN AA is designed to provide the easiest and most inexpensive way for academic departments to make the latest Microsoft software available in labs, classrooms, and student and on student and instructor PCs. Database software, including Access and SQL Server, is available though this Wiley and Microsoft publishing partnership, free of charge with the adoption of Gilleson's textbook. ... Each copy of the software is the full version with no time limitation and can be used indefinitely for educational purposes."

    Then in chapter 2: "The diagramming technique we will use is called the ... E-R model. ... there are many variations of the diagrams ... We will use [the version] provided by Microsoft Visio ..." And so on.

    The schools are bribed with free, up-to-date, software and support IF they build their courses around the book. The publisher is bribed with a captive market into publishing a book that is designed to make students familiar only with the Microsoft ecosystem databases, documentation styles, and development tools. The students graduate ready to drop into a Microsoft-based operation but are left floundering and uncomfortable in a shop using other databases or documentation styles.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  85. AD/LDAP delusion by Anonymous Coward · · Score: 0

    I work at a major web-hosting company where the entire infrastructure is Linux; including workstations and desktops.

    The problem here is the assumption that you even need active directory. We instead completely ditched that idea and manage all machines using puppet. It's faster and easier and has the added bonus of patch management and installation of software specific to a machine.

    The problem with AD (or its alternatives such as openLDAP) is that it becomes a long term nightmare to manage. The only benefit is that it gives whomever is managing it job security.

  86. Re:for-profit schools by slacktivist · · Score: 0

    How does one get into this collage racket?

  87. In some scenarios yes by div_2n · · Score: 1

    As many have mentioned, it depends on your requirements. My past experience with Samba leads me to believe that it will probably take some bug fixing after the point release to make the edges smooth.

    I also wouldn't encourage forklift upgrading Active Directory with this unless you have a compelling reason to do so such as licensing issues with no budget to fix.

    With the integrators that will put mindless GUIs on top of it in the coming years, I would guess it could be very good replacement for AD in many scenarios. There will always be some that won't such as third party apps that require AD and do not provide support for a Samba environment.

  88. What really matters by Anonymous Coward · · Score: 0

    What really matters is, do you want to put in place a system that most admin dont know about, puting your company at risk if you leave and do a poor job at managing it.
    It's already complicated enough to manage in a GOOD way Active Directory but replacing it altogether, you are not doing a service to your employer.

  89. Re: Puppet for config/package to Windows? by Anonymous Coward · · Score: 0

    Group policies are really just bundles of registry settings and Puppet and CFEngine can both manage registry settings easily.

  90. get a brick wall and a bucket of small sharp rocks by jonadab · · Score: 1

    All you need to do is get a small brick wall (four feet wide by six feet tall is enough) set up in the network administrator's office. Next to this set a bucket, and keep the bucket full of rocks. The rocks should be small but as sharp and pointy as possible. First thing each day, have the network administrator put one or two of the rocks inside each of his shoes and keep it there for the rest of his shift, then periodically have him bang his head against the brick wall.

    This will adequately simulate all the really important aspects of the experience of working with MSAD. Technically you could also use Samba, but it isn't necessary.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  91. DON'T DO IT! by Anonymous Coward · · Score: 0

    you can get it to work. it will be amazing. if you are scriptaculous it can be easy to administer.

    but wait till the next windows OS comes out. good luck upgrading a samba DC to speak to new clients..... nightmare.

  92. Re:Misunderstand of what SAMBA actually is...... by HuguesT · · Score: 1

    So, thank the EU then ?

  93. Re:Maybe for quite small client counts or custom s by Craig+Ringer · · Score: 1

    Does it actually *work* properly though?

    Samba 3 had network printer driver support. Theoretically. In practice it was a buggy PITA that took 10x as much work to get to the point where it worked 1/2 as well as the Windows setup.