libwbclient (LGPLv3) linking to samba-util (GPLv3) in Samba 4.12

Ralph Boehme slow at
Fri Jul 3 06:17:43 UTC 2020

Am 7/2/20 um 9:40 PM schrieb Ralph Boehme via samba-technical:
> Am 7/2/20 um 9:30 PM schrieb Andrew Bartlett:
>> G'Day Folks,
>> I just noticed this because debian failed to build due to an extra
>> symbol added to our internal samba-util library.
>> samba-util is a 'big ball of mud' library of Samba stuff, licensed
>> GPLv3 and very, very helpful for stuff in Samba.  Work is slowly
>> happening to try and pry it apart into a directed graph of smaller
>> libraries, but for now that is how it works.
>> Either way, it is GPLv3 and is therefore not permitted to be a
>> dependency of libwbclient, which is our tiny winbind client lib for
>> linking into OTHER PARTS of a running system, eg nss, pam and
>> potentially other tools.  It is LGPLv3, and important distinction.
>> I don't know why our ABI stuff didn't pick it up, but I know some on
>> the team have ideas about how to reinforce that.
>> We need to disconnect these two parts, then try and undo the damage in
>> the distributions due to the extra symbols. 
> drat! Sorry for this mess, if noone else gets to it before, I'll take a
> look tomorrow.

Can we use a subsystem that contains LGPL code and then use that as
needed in both LGPL libs and GPL libs?

That's the approach I'm taking here to avoid libraray proliferation,
otherwise we may end up with one libraray per function. :)


Ralph Boehme, Samba Team      
Samba Developer, SerNet GmbH
GPG-Fingerprint   FAE2C6088A24252051C559E4AA1E9B7126399E46

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the samba-technical mailing list