Building minimal smbd

Peter Astrand peter at
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 \

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
Teknikringen 3		Phone: +46-13-21 46 00
583 30 Linköping

More information about the samba-technical mailing list