strncpy (was Re: samba 3.0.22 / 3.0.23)

Marc Balmer mbalmer at
Thu Jul 27 16:30:48 GMT 2006

* 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.

strlcpy() and strlcat() are both OpenBSD inventions and thus BSD
licensed.  You can always just pick the version from our CVS.

- Marc Balmer
> Jeremy.

More information about the samba-technical mailing list