[Samba] fileserver [home] with admin

Pol Hallen samba at fuckaround.org
Fri Oct 29 09:24:42 UTC 2021


Hi folks :-)

using this simple config I'd like add an admin user to access to all 
home of users and handles user's file. Now every users can handles own 
files/folders:

[home]
         path = /data/samba/%u
         browseable = yes
         writeable = yes
         force create mode = 0660
         force directory mode = 2770
         valid users = @admins @sambashare
         access based share enum = yes

ls -l /data/samba/

drwxrws--- 5 max    sambashare 4096 Oct 28 17:40 max/
drwxrws--- 2 admin  sambashare 4096 Oct 28 14:47 temp/
drwxrws--- 2 test00 sambashare 4096 Oct 29 09:30 test00/
drwxrws--- 2 test01 sambashare 4096 Oct 29 09:30 test01/
drwxrws--- 2 test02 sambashare 4096 Oct 29 09:30 test02/
drwxrws--- 2 test03 sambashare 4096 Oct 29 09:30 test03/
drwxrws--- 2 test04 sambashare 4096 Oct 29 09:30 test04/

how can I create an admin user to handles these folders from windows client?

thanks for help!

-- 
Pol



More information about the samba mailing list