building source3 subsystems and libs

Andrew Bartlett abartlet at
Thu Nov 21 18:18:39 UTC 2019

On Thu, 2019-11-21 at 18:09 +0000, moore chestnut via samba-technical
>   hello,
> is there any way to individually build subsystems and libraries?
> for example:
> the msrpc3 library in  source3/wscript_build
> bld.SAMBA3_LIBRARY('msrpc3',
> or
> bld.SAMBA3_SUBSYSTEM('samba3util',
> when I try waf or waf msrpc3 in the source3 dir, it does not work.
> currently trying on a 4.11.0 source tree.
> I have read through the
> and tried the samples with no success.
> Does this work for source3 libs/subsystems?

No, you can't really build bits of Samba in general.  Some binary
targets can be specified with the --targets option, and a few of these
work correctly, nothing beyond that has been tested.  So where it works
it works, but nobody is really working to have this be a general

Andrew Bartlett

Andrew Bartlett             
Authentication Developer, Samba Team
Samba Developer, Catalyst IT

More information about the samba-technical mailing list