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
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 BacciCan I ask, what is wrong with using the [homes] share ? Rowland
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.listYes, 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
Hi Andrew Would you recommend another way to migrate existing home folders? Regards, M?rcio Bacci Em seg., 8 de jun. de 2020 ?s 17:54, Andrew Bartlett <abartlet at samba.org> escreveu:> 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 > > > >