Slashdot Mirror


Samba 4 Technology Preview Released

daria42 writes "Samba creator Andrew Tridgell has officially released a technology preview of Samba 4 at the Linux.conf.au conference in New Zealand, ending a three-year wait for users. But wait before upgrading those servers. 'It may eat your cat,' says the Samba team in a statement, 'but is far more likely to choose to munch on your password database.'" From the article: "'Samba 4 supports the server-side of the Active Directory logon environment used by Windows 2000 and later, so we can do full domain join and domain logon operations with these clients,' the group said in a statement on its Web site, noting this feature was 'the main emphasis' for the new software."

30 of 167 comments (clear)

  1. Jeremy Allison on Samba 4 by Anonymous Coward · · Score: 5, Informative

    Came across this (short but interesting) interview with Jeremy Allison, one of the project's lead developers, where he talks about Samba 4:

    http://www.linuxformat.co.uk/modules.php?op=modloa d&name=News&file=article&sid=217

    Any software that has a 'Susan Stage' has got to be cool :-)

    1. Re:Jeremy Allison on Samba 4 by laptop006 · · Score: 3, Informative

      Erm, he's not a major developer of samba 4, Tridge is, Andrew Bartlett is, and a few others are, but Jeremy isn't (at least according to Andrew Bartlett yesterday).

      I'm at LCA2006 and have spent several hours with both Tridge and Andrew Bartlett, testing, fixing bugs, and identifing missing features of samba4. I'm not a samba team member, just a sys-admin who wants samba4 to be the best code possible before I deploy it.

      --
      /* FUCK - The F-word is here so that you can grep for it */
    2. Re:Jeremy Allison on Samba 4 by node+3 · · Score: 5, Interesting
      There's a very interesting quote at the end of that article:
      "Let's be honest, we don't really care about selling it, we're just having fun doing it. So long as we're having fun and we're working on problems that interest us then other people can worry about market share and how you sell it to the government or whoever, because that's the stuff that interests them."

      If you think about it for a minute, if you consider how Open Source functions, where people work on the things that interest them, the "suits" that are often derided from some quarters are just filling a non-technical need in the Open Source community. There are often calls for people to test, write manuals, and create artwork as something they can do if they aren't programmers, but perhaps "marketing, sales, build corporations" are things that also should be added to that list?

      To clarify, I'm certainly not talking about the CherryOS-style GPL-theives, but honest and earnest businesspeople (even though their motives may be primarily cash, they still must abide by proper Open Source rules).

      Anyway, thought it was interesting.
    3. Re:Jeremy Allison on Samba 4 by smittyoneeach · · Score: 3, Insightful
      where people work on the things that interest them
      Let's not kid ourselves: this is the good news/bad news of FOSS.
      The genius of proprietary software: getting you to trade your sovreignty for code that does a lot of the less interesting stuff.
      Unless you're actually selling that printer, are you going to want to spend all day writing a driver for it, much less testing it against a bazillion OS's?
      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    4. Re:Jeremy Allison on Samba 4 by DocLandolt · · Score: 3, Interesting

      "even though their motives may be primarily cash, they still must abide by proper Open Source rules"

      Just out of curiosity, what are these? Not 'all' rules -- but does anybody know (or offer wild speculation on) what happens when open source and fat wads of cash collide?

    5. Re:Jeremy Allison on Samba 4 by Chemicalscum · · Score: 4, Insightful

      RMS started the Free Software Movement because he wanted to improve a printer driver for an early laser printer and they wouln't give him the source.

  2. What Kind of Passwords Does It Prefer? by gurutc · · Score: 3, Funny

    Smooth or Crunchy?

    --
    Moderation in All Things... Especially Moderation - gurutc
    1. Re:What Kind of Passwords Does It Prefer? by DeadRoman · · Score: 4, Funny

      I was going to say that it likes them hashed.

  3. Just Work (TM) by ObsessiveMathsFreak · · Score: 4, Insightful

    But can I make an anonymous read/write share without performing invasive surery on config files. And can I then easily mount that share?

    Samba is great as a home network share, but it's not a single click system. Security on a home netowrk doesn't really interest me. I'd like to be able to "just share" the files without setting up users etc, etc.

    --
    May the Maths Be with you!
    1. Re:Just Work (TM) by tpgp · · Score: 5, Funny

      Security on a home netowrk doesn't really interest me.

      I know - thats why I'm posting this from your home PC.

      I'd like to be able to "just share" the files without setting up users etc, etc.

      Just post your requirements here I'll set them up for you... after all I don't want your home net to be locked down ;-)

      Seriously - just because you would like software to be shipped insecure (and easy) by default doesn't mean that it should be. Have a look at this guide - Samba-3: A Simple Anonymous Read-Write Server

      --
      My pics.
    2. Re:Just Work (TM) by Pecisk · · Score: 4, Interesting

      What he meant there should be definetly easy way to turn it on, of course, with warning that some security problems could arise. AFAIK, KDE and GNOME has both easy ways to create shares for now, but there is no way to configure SAMBA for just several default scenarios which could be - anonymous read-only, anonymous read-write, user-based read-only, user-based read-write, custom. Default could be user-based read-only. Or something like that.

      For example, OS X Tiger server uses SAMBA for Windows support. Any mangling with configuration goes trough Server Admin GUI (you can mess with configuration file too), but any changes gets written back to standard smb.conf.

      It could be very good and nice present for common crowd.

      --
      user@ubuntubox:~$ stfu This server is going down for shutdown NOW!
    3. Re:Just Work (TM) by HoosierPeschke · · Score: 3, Informative

      Easy... as in SWAT?

      --
      Mr. Universe: "They can't stop the signal, Mal. They can never stop the signal."
    4. Re:Just Work (TM) by mwood · · Score: 3, Insightful

      "[Samba is] not a single click system." Hooray for that. I'd love to be able to give the boot to these Windows servers with their sysadmin-hostile pointy-clicky interfaces and their million and one secret Registry keys that have no user interface at all. Go Samba Team!

  4. it's in Debian by CAPSLOCK2000 · · Score: 5, Informative

    Debian allready has packages.
    Install them by running:
    aptitude install -t experimental samba

    But you'll need to add an entry for experimental to /etc/apt/sources.list first.
    If you don't know how to, you shouldn't be messing with experimental software anyway.

    1. Re:it's in Debian by Thing+1 · · Score: 3, Informative
      "If you don't know how to breathe, you shouldn't bother taking your first breath."

      Or, closer to the original: "Breathing. If you don't know how to, you shouldn't be messing with environmental oxygenation anyway."

      Here's a link to a howto for configuring your Debian installation to use the experimental packages. (It's in section 4.6.4.3, or just search on the page for "experimental".)

      --
      I feel fantastic, and I'm still alive.
  5. Samba 4 by YearOfTheDragon · · Score: 5, Informative

    There has been info about Samba 4 for some time. Andrew Bartlett wrote a year ago an interesting thesis about Samba 4 and Active Directory (PDF).

    But the release of this TP is good news, I hope that the use of Microsoft's Active Directory as an authentication service for Linux systems is coming to an end. All what we need now is a nice GUI.

    --
    -= If you fight Dragons long enough, you will become a Dragon =-
  6. What is this samba you speak of? by squoozer · · Score: 4, Interesting

    Since discovering the joys of NFS I've not looked back (yes I do know what samba is and I run a samba server). Compared to Samba, NFS is almost too simple and reliable. Give me my complixity and unreliablity back!

    --
    I used to have a better sig but it broke.
    1. Re:What is this samba you speak of? by BenjyD · · Score: 3, Interesting

      I'm not a sysadmin, but I never got how NFS prevented a user plugging a computer which they have root access on into the network, mounting a common NFS mount, "su"ing to somebody's UID and then deleting their files. AFAICS, SMB handles this by requiring credentials of some kind from the computer. Can anyone explain this?

    2. Re:What is this samba you speak of? by Spacelord · · Score: 5, Informative

      I'm not a sysadmin, but I never got how NFS prevented a user plugging a computer which they have root access on into the network, mounting a common NFS mount, "su"ing to somebody's UID and then deleting their files. AFAICS, SMB handles this by requiring credentials of some kind from the computer. Can anyone explain this?

      "Authentication" with NFS is IP based. You grant access to NFS mounts by specifying which hosts can mount that share. This implies that the hosts you allow are trusted, and that your network is trusted as well. So yes, if a computer you have root access to has been granted read/write access to an NFS mount then you can just su to someone else's UID and delete their files on that NFS mount.

      Is it a good idea to use NFS in a security sensitive environment? Probably not.

    3. Re:What is this samba you speak of? by BenjyD · · Score: 3, Insightful

      That doesn't help when the root user creates a user account with the correct UID and then logs in as that user, does it?

  7. Re:Only 6 years by RenatoRam · · Score: 3, Informative

    Actually, windows copied in 2000 what was available in other environments for many years. AD is the bastard son of ldap+kerberos+smb.

    What took years is reverse-engineering all the weird quirks MS introduced in the previously standard systems.

    Besides, Samba can do a lot nifty things AD can't, so who's behind?

    --
    Ciao, Renato
  8. Re:Only 6 years by tpgp · · Score: 3, Insightful

    So, in 2006, Samba is finally able to do what windows was able in 2000?

    Five years to reverse engineer a difficult, obfuscated protocol is quite frankly amazing.

    And you see - they don't really have to offer full compatability immediately - but if they do it before win2k ends its lifecycle, SAMBA + *nix offers companies dependant on AD a way out without having to go the win2k3 route.

    Way to innovate, OSS community!

    Way to troll dJOEK!

    There is virtually no innovation in software, proprietary or OSS - everyone is just copying everyone elses ideas & making incremental improvements...

    I mean we're all using the same desktop paradigm from 30 years ago - and the only substatial innovation I've seen in that is overlapping windows (from maybe 25 years ago)

    --
    My pics.
  9. My cat lost his password by digitaldc · · Score: 4, Funny

    'It may eat your cat,' says the Samba team in a statement, 'but is far more likely to choose to munch on your password database.'

    Wow, it only took 25 days for Samba to break its New Year's resolution to eat less and lose weight.

    --
    He who knows best knows how little he knows. - Thomas Jefferson
  10. Re:Only 6 years by TallMatthew · · Score: 4, Informative
    So, in 2006, Samba is finally able to do what windows was able in 2000?

    Um, no. LDAP and Kerberos weren't invented by Microsoft. They put the two together and called it Active Directory, straying away from the RFCs and throwing in all manner of tweaks that required extensive reverse engineering on the part of the Samba team to figure out. That means figuring out the protocol from the packets, which is an incredible feat, especially as Microsoft's protocol designs aren't easily discerned and contain all sorts of weird gotchas (purposefully).

    There's a lot of complexity under that GUI of yours and, whether you want to believe it or not, Microsoft isn't such an innovative organization. Generally, they poach something that's already widely available and tweak it so it won't be interoperable with other systems. If you call that innovation, then I guess that speaks for itself.

  11. But as an Active Directory replacement? by Money+for+Nothin' · · Score: 4, Insightful

    Can it do authorization of group access to a given application? How about publishing network resources (printers, workstations, etc.)? Can Samba 4 replicate its data between multiple sites? Is Samba 4's AD functionality even built off any sort of LDAP technology to begin with (probably OpenLDAP, if anything)?

    For all MSFT's faults (and there are many, as /. routinely points out), AD *is* a decent NOS directory...

    1. Re:But as an Active Directory replacement? by gentimjs · · Score: 4, Interesting

      Yes, active directory is decent - if you only ever want windows clients. I confess that Ive got a samba3 server (Gentooooooo) as "full" member of our W2K ActiveDirectory - and even got the permissions synced up enough so that users can right-click files and play with permissions through the gui on the doze client. HOWEVER this setup took weeks of tweakage, involved a dozen or so actual software packages, and required violating some published microsoft specs on how AD (supposedly...) works. If samba4 gives me this without the BS, I'm happy. If samba4 lets me replace my domain controller and have the existing doze infrastructure not notice, I'm even more happy.

  12. Which version of Active Directory? by j-cloth · · Score: 5, Interesting

    This all sounds great, but will it work when(if) Vista comes out? Previously, I had samba setups running beautifully on Win2K networks. Then 2003 came out and it messed it all up. Eventually Samba (and supporting docs) caught up and 2003 now works reasonably well. So will Samba 4 come out with great support for 2003 then break as soon as Vista is released?

  13. Lets be clear - by gentimjs · · Score: 3, Informative

    Lets be clear on this point -
    When vista comes out, samba will not break.
    MS will simply have changed the standard/protocol/whatever in some way that thier own prior implementations will be tolerant of but Samba will not. Samba will not be busted, MS' own implementation of thier own technology (or other peoples tech, kerberos for example) is what will be busted.

  14. Re:Only 6 years by mwood · · Score: 3, Informative

    Well, actually Microsoft faced a difficult challenge when they decided to go with Kerberos. The NT security model wasn't a very good fit, but they were committed to it by years of investment and dependent design decisions, not to mention a huge installed base. They had to find a way to paste SIDs onto Kerberos. It was a long time before the rest of us got an unencumbered look at the TDATA that they worked out to do this, but once the format was known working with it should not be that complicated.

    In terms of volume of proprietary information to work out, the plethora of interlocking directory object types that an ADS client depends on has got to be the big challenge. The static characteristics of these objects and their attributes are documented (I use the term loosely) in the PSDK, but how they are used or even what some values mean is not at all clear. Throw in a few obvious copy/paste errors in the doco. to cloud the issue further and it's not surprising that Samba took this long. Create a new ADS forest and look at all the stuff that was put into it out of nowhere.

  15. Easy Transition? Excellent. by foo+fighter · · Score: 4, Interesting

    This is going to be fantastic for consultants when Win2K Server support ends.

    Many companies are not going to want something that isn't supported and will be looking where they should transition. Savvy consultants can propose a migration to Samba which could provide higher margins than reselling Microsoft solutions -- especially if they aren't a close partner of Microsoft -- and they will be able to fix problems and customize the solution themselves without having to point fingers (they still can, they just don't have to).

    This quote from the article gets me all warm and tingly inside:
    "Tridge demonstrated sucking the life out a Windows 2003 PDC [primary domain controller] in one click, importing all its user and machine information using SWAT."
    "He then restarted [domain server] BIND on his Samba 4 server, changed the server role to PDC ... shut down the Windows PDC and then logged into the domain with an XP client using the new Samba 4 server as the PDC."

    --
    obviously no deficiencies vs. no obvious deficiencies