Regarding samba image and shared libraries size
abartlet at samba.org
Tue Apr 11 20:28:30 UTC 2017
On Tue, 2017-04-11 at 21:47 +0200, Stefan Metzmacher via samba-
> Hi Jawath,
> I'm not sure we can shrink the overall size, but we can shrink the
> number of shared libraries.
> See look for "nonshared-configure" in
> The important one is --nonshared-binary=smbtorture,smbd/smbd
> "none-configure" may also have useful options, e.g.
> which avoids as much modules as possible.
> --without-ad-dc may also reduce the size.
> Maybe something of this helps a bit...
I was able to trim it down a bit with some gcc options:
It needs some work, but that combined with some options to remove
spoolss and other unused pipes (for the fileserver) might help a lot.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical