[Samba] Include directory in smb.conf

Moray Henderson Moray.Henderson at ict-software.org
Fri Feb 10 03:16:06 MST 2012


> From: Santiago Diez [mailto:santiago.diez at caoba.fr]
> Sent: 09 February 2012 18:04
> 
> Hi there,
> 
> I'm wondering if there any patch or recent developement that would
> allow to
> include a directory rather than a file in smb.conf
> 
> Something like
> 
> includedir = /etc/samba/shares.d/
> 
> instead of
> 
> include = /etc/samba/shares.conf
> 
> Thanks for your help

We get around that by using script which builds smb.conf from a template and
the contents of a config directory.  It would be nice to have the facility
built in to Samba, though.


Moray.
"To err is human; to purr, feline."






More information about the samba mailing list