strncpy (was Re: samba 3.0.22 / 3.0.23)

simo idra at
Thu Jul 27 16:19:51 GMT 2006

On Thu, 2006-07-27 at 08:58 -0700, Jeremy Allison wrote:

> strlcat in Samba is probably in a GPL licensed file. pam_winbind
> and others must be BSD licensed for inclusing in proprietary
> software. That's why strncat is being used here. To change it
> you'll have to move a version of strlcat into the BSD licensed
> files.

Except for pam_winbind most of our NSS files are GNU LGPL licensed, but
this does not change the fact the you can't use samba's GNU GPLed code
in these modules to keep the LGPL license.

We must release these files as LGPL because these modules link at
runtime with proprietary libc libraries on respective OSs, and
potentially proprietary apps on top of it.


Simo Sorce
Samba Team GPL Compliance Officer
email: idra at

More information about the samba-technical mailing list