Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Samba Adopts GPLv3 For Future Releases

Posted by kdawson on Mon Jul 09, 2007 06:20 PM
from the first-trickle-in-the-flood dept.
Jeremy Allison - Sam writes with news that the Samba Team has decided to adopt the GPLv3 and LGPLv3 licenses for all future releases of Samba. Follow the link for a FAQ addressed to Samba developers and contributors. "To allow people to distinguish which Samba version is released with the new GPLv3 license, we are updating our next version release number. The next planned version release was to be 3.0.26, this will now be renumbered so the GPLv3 version release will be 3.2.0. To be clear, all versions of Samba numbered 3.2 and later will be under the GPLv3, all versions of Samba numbered 3.0.x and before remain under the GPLv2."
+ -
story

Related Stories

[+] News: Jeremy Allison Talks Samba and GPLv3 167 comments
dmarti writes "The software that enables Linux to act as a Windows file and print server is adopting the Free Software Foundation's new license. What will be the impact on users, distributors, and appliance vendors? Samba maintainer Jeremy Allison answers, in a podcast interview."
[+] A Case Study In GPLv2 / GPLv3 Compatibility 239 comments
An anonymous reader writes "A project called OpenChange is working to develop an open source client library for Microsoft Exchange. They are heavily dependent on Samba code for the underlying protocol support and have been forced to move to GPLv3 once Samba moved. This has gotten in the way of legally adding support to other software such as KDE, which is unwilling or unable to go GPLv3." It sounds like all the developers involved expect the GPLv2/GPLv3 issues to be resolved in time.

Update: 10/01 12:26 GMT by KD : Dan Shearer, of OpenChange and the Samba Team, wrote in to correct the anonymous submitter's mistaken implication that OpenChange moved reluctantly to GPLv3. Read on for his actual position.
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Indeed. A lot of projects are going to be switching to GPLv3 from GPLv2 in the coming weeks and months, are we going to get an article for each one of these projects that change their status? Why is this news?
    • by AuMatar (183847) on Monday July 09 2007, @06:25PM (#19807277)
      For the major ones, yes. Especially early adopters. And Samba is definitely a major FOSS project, their switching is a win for the GPL3.
      • by khasim (1285) <brandioch.conner@gmail.com> on Monday July 09 2007, @06:31PM (#19807333)
        Yep, Samba is a major project.

        But more to the point, LOTS of vendors re-package Samba and sell it as NAS's and such.
        • Re: (Score:2, Interesting)

          by Anonymous Coward
          We could soon see NAS, etc. vendors forking Samba 3.0.x so they don't have to deal with GPLv3 ... then the whole fun mess of was this patch copied from 3.2+ into the fork or does it just happen to look the same since the fix is only sensibly done in a limited number of ways.
          • by Nimey (114278)
            Some NASes still come with Samba 2.x, like the Snap 210 I got last year.
          • by Jeremy Allison - Sam (8157) on Monday July 09 2007, @06:47PM (#19807517) Homepage
            I doubt that. Why would NAS vendors need to fork ? It's not like dealing with GPLv3 is harder than dealing with GPLv2. I expect our vendors to just roll along with us, as will and vendor that doesn't have "discriminatory" patent agreements.
            Jeremy.
            • I expect our vendors to just roll along with us, as will and vendor that doesn't have "discriminatory" patent agreements.

              I'm not trying to be snippish or anything. But are there any vendors that you know of that do have such?

              Particularly with the new Samba on the horizon.
          • by drix (4602) on Monday July 09 2007, @07:31PM (#19807883) Homepage
            G'luck with that, is all I have to say. Having once waded into the Samba codebase trying to ferret out a bug, I can't see them getting very far unless they manage to snipe one of the core developers. Samba is giant and the amount of resources needed to backport every bugfix (to say nothing of feature additions) and be at all subtle about it has got to exceed just accommodating the new license. And don't forget Samba 4 is on the way, so you lose ADS too if you want to fork 3. No, I think they'll either put up or shut up.
          • by MightyMartian (840721) on Monday July 09 2007, @11:50PM (#19809749) Journal
            And that's fine. They can support the full weight of patches and development for the pre-GPL3 code bases. They won't have the open source community lending them a hand with things like Samba and the Linux kernel. Can you see the vendors building NASs with Samba getting together to pool their resources to keep GPL2 versions up and running? Either these vendors will give up the lock-in and play nice, or their products will increasingly become dated and substandard.
          • by alexgieg (948359) <alexgieg@gmail.com> on Monday July 09 2007, @06:54PM (#19807565) Homepage

            So what? Does switching to GPLv3 change anything about [LOTS of vendors re-packaging Samba and selling it as NAS's and such]? There's nothing those vendors do with Samba that will have to change because of the new restrictions under GPLv3. So who cares?
            There is one thing: if a NAS manufacturer has put DRM on the device blocking its owner from changing the underlying software, that manufacturer either won't use the GLPv3 Samba, or to be allowed to use it he will have to at least disclose in full the instructions needed for one to change the underlying software (or more probably, remove the DRM "feature" entirely).

            So, yes, this is major news for everyone developing/manufacturing/deploying/using/etc. anything Samba-related.
            • by frogstar_robot (926792) <frogstar_robot@yahoo.com> on Monday July 09 2007, @07:21PM (#19807801)
              Technically speaking, wouldn't this manufacturer only have to make it possible to run modified Sambas and other modified GPLv3 bits they might of used? Say the rest of the userland was some modified BSD code, that could still stay shut?

              In practice, I imagine such DRM would be done by signing an entire firmware image. Future practitioners of such DRM would just have to isolate the bits that really need to be sooper-sekrit if they want to use GPLv3 code.
              • Re: (Score:3, Interesting)

                I highly doubt it. I don't know the legalese well enough (or law) to say for sure, but one of the main purposes of the GPL3 is to prevent exactly that.

                Now, they could modify the kernel to implement the DRM, and release an unmodified Samba >=3.2. Since you could implement pretty much any DRM system in the kernel (and it's probably the best way to do it, short of hardware measures), Samba doing this stops very little. But it is cool, I think. Even though we may not be able to circumvent the DRM, we're f

                • by alexgieg (948359) <alexgieg@gmail.com> on Monday July 09 2007, @10:13PM (#19809121) Homepage

                  Now, they could modify the kernel to implement the DRM, and release an unmodified Samba >=3.2. Since you could implement pretty much any DRM system in the kernel (and it's probably the best way to do it, short of hardware measures), Samba doing this stops very little.
                  No, no, no! Quite the opposite in fact! If they provide a DRM'ed device with GLPv3 Samba installed, the GLPv3 license says that they MUST provide you all information you need to be able to replace that pre-packaged Samba with any GPLv3 Samba you, or anyone else, provide.

                  So, it doesn't matter whether the DRM scheme is on the kernel, on the firmware, or wherever. If it's blocking you, the end-user, from updating, upgrading, recompiling, downgrading, replacing etc. etc. etc. a piece of GPLv3 software, they are in violation of the license and must either: a) stop distributing those pieces of GPLv3 software; or b) comply with the license by providing you, the end user, all the required codes to mess with it as you see fit; or c) deal with the problem in the court when they're sued, and with the fact they're are going to lose. Furthermore, if they're wise and follow "b", there's nothing stopping you, the end user, from installing anything where Samba formerly was, what renders any DRM over the remaining pieces of software pretty much useless.

                  So, Samba doing this doesn't stop it very little. Samba doing this stops it entirely. Once you add holes in your DRM to accommodate the pieces of GPLv3 software you must add to it, there's in fact no DRM left in the device.
                  • Re: (Score:3, Insightful)

                    They don't have to put any kind of DRM into Samba to still make the Samba server subject to DRM. Put it in the kernel, and if the kernel's key doesn't match the one in the firmware, and the file "shouldn't" be opened, the kernel denies access to the file. Samba is completely unmodified, they don't have to give out the keys because the kernel is under GPL2, and their modified kernel is the only one that can read the FS because it's encrypted. You aren't being blocked from using Samba in any way.

                    • Re: (Score:3, Insightful)

                      by alexgieg (948359)

                      (. . .) you would still be able to modify the copy of Samba and run it on the device (which is all the GPLv3 requires). It's just that, since you wouldn't be able to access the hypothetical DRM'd thing because something outside of Samba was disallowing it, modifying Samba wouldn't help you get around that limitation.

                      It depends. Imagine a NAS which has features A and B, both accessible by the supplier-provided Samba. Per the GPLv3, the supplier must allow me to change this Samba to anything I wish. So, suppo

    • by goarilla (908067) on Monday July 09 2007, @06:33PM (#19807349)
      samba is a biggy and pretty vital to Novel and their deal since most interoperatiblity between windows machines
      and *Nix machines is provided through this service, so iirc Novel will have to fork samba
    • Indeed. A lot of projects are going to be switching to GPLv3 from GPLv2 in the coming weeks and months, are we going to get an article for each one of these projects that change their status? Why is this news?

      Could it be that Samba is a major interoperability tool for use with Windows, and as such it has an implact on interoperability with possibly non-GPLv3 distributions eg: Suse and other distros that have made deals with Microsoft.

      In other words, if you want your Linux to work well with Windows (which in a big way means Samba), go for a GPLv3 version.

        • Re: (Score:3, Insightful)

          Becuase MS will continue to modify their implementation of their undocumented file sharing protocols, and the old version of Samba will certainly no longer operate with newer version of MS platforms. The newer (GPL3) versions of Samba will get the ongoing updates and changes to continue to interoperate.
  • by mergy (42601) on Monday July 09 2007, @06:30PM (#19807317) Homepage
    the

    *.2.* indicates GPLv3
    *.0.* indicates GPLv2

    So, to easily remember this kids 2 equals 3 and 0 equals 2.

    All set now?
  • smbfs? (Score:5, Interesting)

    by man_of_mr_e (217855) on Monday July 09 2007, @06:33PM (#19807361)
    So doesn't this mean that smbfs is now dead? Or stuck at 3.0.x? Since the Linux kernel will not be going GPLv3, from my understanding of what Linus has said.
    • Re:smbfs? (Score:5, Informative)

      by Jeremy Allison - Sam (8157) on Monday July 09 2007, @06:37PM (#19807383) Homepage
      smbfs has been dead for a while. The replacement is CIFSFS. Luckily (or unluckily, depending on your point of view :-) this isn't a Samba project, it's developed by Steve French of IBM, and I think it's under GPLv2 or later.
      Jeremy.
    • Re: (Score:3, Insightful)

      by skrolle2 (844387)
      Not necessarily, if smbfs needs code from the Samba project, its authors can of course give it to smbfs under GPLv2, or whatever other license they choose.
    • Some (all?) of the samba libraries are also released under the LGPL, which can be linked against software using whatever license you want. I'm not certain, but I think that this includes all of the libraries used by smbfs.

      The FAQ in the article is actually in error - you do not need to license your code as "GPLv2 or latter" to link against LGPLv3, just to link against GPLv3.
      • Re:Not dead yet. (Score:4, Insightful)

        by Jeremy Allison - Sam (8157) on Monday July 09 2007, @06:51PM (#19807549) Homepage
        No it isn't in error. "GPLv2-only" licenses are incompatible with both GPLv3 and LGPLv3, as they add additional conditions which are incompatible with GPLv2. It isn't the LGPLv3 code that is the problem, it's the "GPLv2 only". Thus the advice to relicense to "GPLv2 or later". See the FSF comments on this.
        Jeremy.
              • Re:Not dead yet. (Score:4, Informative)

                by node 3 (115640) on Tuesday July 10 2007, @01:17PM (#19816137)

                If there's one thing the FSF has done successfully, it's teach FLOSS developers to be highly skeptical of any large, monolithic entity with power over your programs and your code.
                That's not what they've taught at all. They've taught that large monolithic organizations are just fine and dandy, so long as they provide you with the ability to do what you want with the products they sell you.

                The FSF is, due to it's GNU associations [aside: what does this even mean?], very much a large, monolithic entity in the *nix world. If I was going to say "I trust you with my code in perpetuity" I'd probably go with any other FLOSS license besides the GPL.
                Which organization do you think is going to work to protect the freedom of software users more than the FSF?

                Note that there's no reason the original copyright holder can't re-release code that's GPLv2-only under GPLv3 or later revisions. The original owner didn't gain access to it by the GPL. He gained access to it by copyright.
                See my response to the AC below.

                The real question is, what, exactly, do people think is going to happen? MS is going to buy the FSF and create a GPLv4 which is just an MS license? Do they think that somehow this means that the FSF will be able to steal your code away from you? None of these things are remotely likely, or in the case of the second, even reasonably possible.

                The biggest concern is the FSF really screwing up, inadvertently, a new license. *That's* the only reasonable concern. The FSF has shown great care in the past, and present, in drafting their licenses, and it seems highly reasonable to assume they'll do so in the future. Of course, if it were as easy as you (and others) seem to think to relicense a project from GPLv2 to GPLv3 (or any other earlier-later transition), then there really wouldn't be an issue. But it *is* difficult, unless you are the sole programmer for a project, and you don't die or pass on stewardship of the project to someone else without granting them full copyright of your code. And if you do accept patches or other collaboration, then you'll have to be sure to consolidate fully copyrights from everyone who contributes code (which is the exact thing you are arguing *against* people doing).

                On the other hand, just adding "or later" (not adding, actually, just not removing), you avoid all those problems. All those real problems which actually exist. You do leave yourself vulnerable to potential problems, primarily the FSF botching a subsequent license. But if your code is GPLvX or later, if GPLvX+1 is botched, you can still just use GPLvX. Of course, you can't stop others from switching over to a newer license, but your code will remain under the "GPLvX or later" license, if that's what you wish. And even if GPLvX+1 (or later) is botched, it's probably not botched all that much.

                So the risk is small, the potential problems are small and fairly limited, and the potential for avoiding non-small, non-low risk problems is great. How is this foolish again?
  • Oh whew! (Score:3, Funny)

    by mattgreen (701203) on Monday July 09 2007, @06:38PM (#19807395)
    What a relief! These past few nights I have been unable to sleep as I pondered which versions of what software should adopt the new GPL (which is really sweet BTW you should check it out, it has awesome graphics). I can rest a little easier now knowing that they are moving to GPLv3.

    After all, its the morally correct thing to do.
  • Excellent work (Score:5, Insightful)

    by raahul_da_man (469058) on Monday July 09 2007, @06:40PM (#19807429)
    There was a lot of doomsaying as to how the GPL V 3 would never be adopted, most unexpectedly by Linus, and also by the normal suspects in spreading FUD. It is good to see that
    the FSF and Stallman have finally addressed patent issues and prevented tivoization. As a major project like Samba has adopted this, many other projects will probably also follow suit. It becomes harder and harder to stay GPL v 2 if the entire body of software is V3. Linus may have stated that the kernel won't have V3, but increasingly that will lead to the kernel being unable to incorporate the latest patches from others.
    • by EmbeddedJanitor (597831) on Monday July 09 2007, @07:06PM (#19807679)
      The limitation is not because Linus is some asshole, but a practical realisation that GPL3 cannot be retro-fitted to existing kernel code.

      Only the owner of the code is allowed to assign the license and people made submissions to Linux under the GPL2-flavored license. Linus has no authority to release all the Linux code under a new license since he only owns a small percentage of the code. There have been thousands of people submitting to Linus under the GPL2-flavored license and it is impractical, if not impossible, to track those submittors down and secure a GPL3 agreement from them.

      Sure, Linux could adopt the SMB strategy of committing to make future release of Linux GPL3 (eg, say Linux 3.0). Then all submissions into that new version would have to be GPL3. Practically though, many of the big players in Linux might prefer GPL2 over GPL3 and that could force a fork.

    • by lushmore (41101) on Tuesday July 10 2007, @09:30AM (#19812955)
      Here's how at GPLv3 is playing at my Fortune 50 company, who makes contributions to lots of OSS projects.

      1. We make tivoized device.
      2. OSS project which we use for the device switches to GPLv3.
      3. We start looking at other alternatives, decide project is no longer useful to us.
      4. We stop contributing to the project.

      I anticipate there will be a lot of corporate contributors quietly exiting their Samba involvement in the near future. A few of these exits will see some pub when a major developer switches employers as a result, but most corporate OSS contributions will disappear with a whimper. GPLv3 will return OSS to the original egalitarian ideals, but it's probably going to reverse all the corporate uptake that has happened in the last few years. If you're about to say that this only applies to tivoized devices, you should take a look at the market and see that the majority of corporate uptake of OSS has been in internet-connected appliances.
      • If you're about to say that this only applies to tivoized devices, you should take a look at the market and see that the majority of corporate uptake of OSS has been in internet-connected appliances.
        Internet connected does not mean "tivoized".
        For example, Linksys used the Linux kernel on its routers, got forced to publish the source and now you have 3rd party firmware for those devices. So, they did participate and they did use Linux. This deal would still be valid under GPLv3. The only thing you are not al
  • by skrolle2 (844387) on Monday July 09 2007, @06:41PM (#19807445)
    When will 3.2 be released, and when will Novell include it in SUSE?
    • by Jeremy Allison - Sam (8157) on Monday July 09 2007, @06:39PM (#19807421) Homepage
      'Cos odd numbered releases mean "development" releases. People have been trained by the Linux kernel to think that. It's like odd numbered Star Trek movies, everyone knows they suck :-).
      Jeremy.
    • by jon787 (512497)
      My guess is that they reserve odd minor version numbers for development branches. 3.0 and 3.2 are stable versions.
    • I presume Samba gives special meaning to even vs. odd sub-revisions and they don't want to mess that up.
      • Re:Why not v3.3.x? (Score:4, Interesting)

        by HTH NE1 (675604) on Monday July 09 2007, @06:58PM (#19807589)
        Well, this message's (actual) parent is gonna get modded Redundant because I was a bit slow in composing my reply. (My excuse: if I keep my session open too long, every clicked link pegs my CPU for what feels like half a minute, new tabs longer.)

        It would be nice if slashcode's Preview would inform a poster about other replies that were made to the parent posting since the new posting was started or last previewed. That might cut down on the number of redundant follow-ups where some posters compose slower than others and don't think to click the parent's message number to reopen it in a new tab to check for other replies first.
    • So, by this logic the Dev version, 3.1, would be GPLv2.

      They really should've made the dev version 3.3 and the stable 3.4. It only makes sense.

      Using 3.2 for a GPL3 release is the same kind of shit that Sun would pull to confuse us about which version of JACRONYM we are using, or which version of Solaris/Sun OS we're running.
    • by Jeremy Allison - Sam (8157) on Monday July 09 2007, @07:00PM (#19807609) Homepage
      Nothing. That code doesn't link to Samba and so the license change has no effect. Apple are perfectly free to keep shipping Samba, as are all other vendors who obey the GPLv3.
      Jeremy.
        • Re: (Score:3, Informative)

          See, but that doesn't break any of the Freedoms that FSF espouses. I can still update, modify, recompile, or remove whichever version of Samba Apple ships. I could even write my own SMB-compatibility app. In the worst case scenario, I can't use that preference pane if I "break" Samba. But that's my problem, not Apple's.

          Apple is actually really modular with its code. You can replace a lot of components, and as long as they're compatible, there's no issue. I've upgraded several of the installed OSS pro
    • by WaXHeLL (452463) on Monday July 09 2007, @07:15PM (#19807761)

      Write code you love and let it go free. If someone else makes money from it, BFD. "RMS" can go shove it.


      That's called the BSD license.
      http://www.opensource.org/licenses/bsd-license.php [opensource.org]
          • Reason for BSD (Score:4, Informative)

            by brunes69 (86786) <slashdotNO@SPAMkeirstead.org> on Monday July 09 2007, @08:28PM (#19808327) Homepage
            The problem is legally there is no such thing as a "public domain" work created by an individual. If you created it, it is copyright automatically, period. No one can use it without your permission (AKA a license). The BSD license is basically a license that says "do whatever you want with this code, and I take no legal responsibility for it's use". That is pretty much as "public domain" as a license can be. And it's 3 simple letters so it's simple to apply :P

            "Public domain" only really applies to works with expired copyright, or works created by public institutions like the U.S. Government.
    • Re: (Score:3, Insightful)

      Write code you love and let it go free. If someone else makes money from it, BFD. "RMS" can go shove it.

      How eloquently you trash the GPL when you obviously never read it. "RMS" and we who understand what he wants have absolutely no problems with people making money of software. What we have a problem with is getting software and then being at the mercy of its creator: If we get software, we want to be able to improve it, should the need arise; otherwise, if the company who distributed the non-free software

    • Re:In other news... (Score:5, Informative)

      by Jeremy Allison - Sam (8157) on Monday July 09 2007, @07:33PM (#19807909) Homepage
      That's funny, according to this page :

      http://freshmeat.net/stats/ [freshmeat.net]

      fully 65.74% are under the GPL with an additional 6.53% under the LGPL. If anyone is cutting themselves off from the mainstream it would be BSD and other types of license, it seems :-).

      Jeremy.
      • by QuantumG (50515) <qg@biodome.org> on Monday July 09 2007, @07:49PM (#19808019) Homepage Journal
        Absolutely. I've tried to explain this before, but it always gets muddled up. Ideally I'd like to release my code with the least restrictions possible, because I want the users of my software to be free, but in practice if I don't put some copyleft like restrictions on my code then it will end up that some of the users of my software will not be free. If my goal is to maximize the freedom of the users of my software then, paradoxically, I must restrict them - specifically, from taking freedom away from others.

        As such, I believe the BSD style licenses are more idealistic than copyleft licenses, but less effective.
        • Re: (Score:3, Interesting)

          by quintesse (654840)

          As such, I believe the BSD style licenses are more idealistic than copyleft licenses, but less effective.

          Actually, it still think it's the other way around because in YOUR ideal world the BSD license would be enough and there would be no need for all the bits in the GPL that are there to somehow ensure everlasting freedom for the code. This makes YOU idealistic, which is good, but the BSD license itself seems to me to be far from idealistic, it seems more for people who don't want to be bothered to ever t

    • by jimicus (737525) on Tuesday July 10 2007, @03:57AM (#19810737) Homepage
      I'm a not an expert on GPLv2, buy can't someone simply juust take the existing Samba CVS code and create a "new" Samba and stay with the GPLv2?

      Yes. And Samba has forked in the past.

      But it's a big, complex project with a few people behind it and they're pretty good at what they do. Unless you can poach one of them to work on your fork, it'll probably be a good 6 months before anyone on your fork even understands what's going on under the hood, let alone is able to substantially improve on it. Once Samba 4 is declared stable, version 3 will suddenly appear very dated because 4 adds all sorts of goodies - AIUI the plan is to basically bring Samba up to the level of "able to act natively as a DC in an ADS domain" - and a fork will likely die on the vine or exist purely in commercial projects.

      • Also, just looking at 3.0.25 here they have the "any later version" option. so even if you retained copyright to your patch you submitted it under the "any later version" clause so they are presumably free to invoke that (as would anyone else who wanted to fork the project).