vfs-module lincense
Esh, Andrew
AEsh at tricord.com
Wed Feb 27 10:42:11 GMT 2002
It seems to me that the copyright holders of Samba would have to make an
exception for any libraries dynamically linked via the "vfs object" tag.
There is a description of such an exception here:
http://www.fsf.org/licenses/gpl-faq.html#WritingFSWithNFLibs
Otherwise, the external VFS interface cannot make use of non-GPL code. I
think that's a severe limitation of the file systems Samba can use. I also
think it completely obviates the need for an external interface. I thought
the whole point of it being external is to allow non-GPL code to be used.
-----Original Message-----
From: Dmitry Borodaenko [mailto:d.borodaenko at sam-solutions.net]
Sent: Wednesday, February 27, 2002 10:18 AM
To: samba-technical at samba.org
Subject: Re: vfs-module lincense
On Wed, Feb 27, 2002 at 09:13:38AM -0600, Esh, Andrew wrote:
> How does that apply to VFS modules that are dynamically linked, and
> referred to in smb.conf via the "vfs object" tag? By including
> dynamically linked libraries, this implies that Samba's license
> controls that of libc, libcrypt, libnsl, and many others. I don't
> believe it does.
I think that this is not a case of library, but a plug-in instead.
http://www.fsf.org/licenses/gpl-faq.html#TOCGPLAndPlugins
If a program released under the GPL uses plug-ins, what are the
requirements for the licenses of a plug-in?
It depends on how the program invokes its plug-ins. If the program
uses fork and exec to invoke plug-ins, then the plug-ins are
separate programs, so the license for the main program makes no
requirements for them.
If the program dynamically links plug-ins, and they make function
calls to each other and share data structures, we believe they form
a single program, so plug-ins must be treated as extensions to the
main program. This means they must be released under the GPL or a
GPL-compatible free software license.
If the program dynamically links plug-ins, but the communication
between them is limited to invoking the `main' function of the
plug-in with some options and waiting for it to return, that is a
borderline case.
This means to me that the VFS modules applies (as long as it is not
invoked via fork/exec or main()) and hence, "must be released under the
GPL or a GPL-compatible free software license."
> Perhaps you are referring to the other type of VFS "module": One that
> is linked directly into Samba as a .o file, in the same way smbd/vfs.o
> is. I agree that such modules are controlled by Samba's license.
As you can see from above, it depends not on static/dynamic compilation,
but rather on complexity of the interface between module and the main
program.
--
Dmitry Borodaenko
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the samba-technical
mailing list