Building minimal smbd

Peter Astrand peter at cendio.se
Fri Mar 5 11:48:59 GMT 2004


I'd like to build a minimal smbd, with only file services. Any hints? 
Currently, I'm using Samba 3.0.2a, and configuring with:

./configure \
 --without-ldap \
 --without-ads \
 --without-expsam \
 --without-utmp \
 --without-libsmbclient \
 --without-sendfile-support \
 --without-winbind \
 --disable-cups \
 --with-included-popt

Modules like rpc_spoolss are still built into the binary, though. Is it 
possible to remove modules like rpc_spoolss? Currently, the resulting 
binary is 2.2 MB. I'm aiming for less than a megabyte. Possible?


-- 
Peter Åstrand		www.thinlinc.com
Cendio			www.cendio.se
Teknikringen 3		Phone: +46-13-21 46 00
583 30 Linköping





More information about the samba-technical mailing list