s3:vfs: Document the encryption_required flag in vfs.h
[iboukris/samba-autobuild/.git] / VFS-License-clarification.txt
1 A clarification of the GNU GPL License boundary within the Samba
2 Virtual File System (VFS) layer.
3
4 Samba is licensed under the GNU GPL. All code committed to the Samba
5 project or creating a derived work must be either licensed under the
6 GNU GPL or a compatible license.
7
8 Samba has several plug-in interfaces where external code may be called
9 from Samba GNU GPL licensed code. The most important of these is the
10 Samba VFS layer.
11
12 Samba VFS modules are intimately connected by header files and API
13 definitions to the part of the Samba code that provides file services,
14 and as such, code that implements a plug-in Samba VFS module must be
15 licensed under the GNU GPL or a compatible license.
16
17 However, Samba VFS modules may themselves call third-party external
18 libraries that are not part of the Samba project and are externally
19 developed and maintained.
20
21 As long as these third-party external libraries do not use any of the
22 Samba internal structure, APIs or interface definitions created by the
23 Samba project that are licensed under the GNU GPL then it is the view
24 of the Samba Team that such third-party external libraries called from
25 Samba VFS modules are not part of the Samba code and cannot be
26 considered a derived work of Samba for the purposes of GNU GPL
27 licensing. Thus such libraries are not required to be under the GNU
28 GPL or a GNU GPL compatible license.