[Samba] include in smb.conf

Andrew Bartlett abartlet at samba.org
Mon Jun 8 20:54:35 UTC 2020


On Mon, 2020-06-08 at 16:37 -0300, Marcio Demetrio Bacci via samba
wrote:
> Hi
> 
> I implemented a Samba 4 file server on Debian 10 and would like to
> put the
> sharing of users' personal folders (are 470) in a separate file from
> smb.conf to avoid directly manipulating the smb.conf file to create
> new
> shares. So, I would like to know if it is correct to put an include
> directive at the end of the file?
> 
> Ex:
> include = / etc / samba / users.list

Yes, the directive is valid anywhere. 

Andrew Bartlett

-- 
Andrew Bartlett                       https://samba.org/~abartlet/
Authentication Developer, Samba Team  https://samba.org
Samba Developer, Catalyst IT          
https://catalyst.net.nz/services/samba






More information about the samba mailing list