I have 100 users. So i need to create a samba folder for each user to access to personal folders with individual username and password.
I will create them with the following format (in smb.conf samba version 4.7.6-Ubuntu)
[finance] comment = finance PC path = /home/user/finance writeable = yes browseable = no read only = no create mask = 0774 directory mask = 0777 valid users = finance admin users = finance2018 [secretary1] comment = secretary1 PC path = /home/user/secretary1 writeable = yes browseable = no read only = no create mask = 0774 directory mask = 0777 valid users = secretary1 admin users = secretary11976
The problem is that I have 100 users (for each PC). Then I must create 100 linux users, 100 users for samba (with 100 passwords) and 100 individual folders.
Is there any way to make this task easier?