[Samba] include in smb.conf

Marcio Demetrio Bacci marciobacci at gmail.com
Mon Jun 8 19:37:03 UTC 2020


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

...
####################################################
############# USERS        ############
####################################################
[User$]
path = /STORAGE/Users
read only = no

include = /etc/samba/users.conf

Regards,

Márcio Bacci


More information about the samba mailing list