[Samba] include in smb.conf
Rowland penny
rpenny at samba.org
Mon Jun 8 19:42:33 UTC 2020
On 08/06/2020 20:37, 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
>
> ...
> ####################################################
> ############# USERS ############
> ####################################################
> [User$]
> path = /STORAGE/Users
> read only = no
>
> include = /etc/samba/users.conf
>
> Regards,
>
> Márcio Bacci
Can I ask, what is wrong with using the [homes] share ?
Rowland
More information about the samba
mailing list