rendered paste body[global]
security = share
workgroup = Workgroup
netbios name = server1
server string = File server
encrypt passwords = yes
guest = serverusers
[homes]
comment = %u's Home Directory
read only = no
browseable = no
[Samba]
comment = All user share
path = /samba/Share/
browseable = yes
read only = no
guest only = true
Goal:
1. Give guest users R/W access to /samba/Share
2. Give user1, user2, and user3 access to /samba/Admin and /home/<username>
NOTES:
1. serverusers is a valid account on server
Directory listings
/samba/
4.0K drwxrwxrwx 13 root users 4.0K Jun 7 17:51 .
8.0K drwxr-xr-x 26 root root 4.0K Jun 9 13:11 ..
4.0K drwxrwxrwx 20 root users 4.0K Jun 8 11:28 Data
4.0K drwxrwxrwx 36 root users 4.0K Mar 19 08:19 Videos
4.0K drwxrwxrwx 26 root users 4.0K Jun 1 11:29 MP3s
4.0K drwxrwxrwx 24 root users 4.0K Jun 5 08:55 Admin
4.0K drwxrwxrwx 3 root users 4.0K Jun 11 10:29 Share
/samba/Share
4.0K drwxrwxrwx 3 root users 4.0K Jun 11 10:29 .
4.0K drwxrwxrwx 13 root users 4.0K Jun 7 17:51 ..
0 lrwxrwxrwx 1 root root 8 Jun 6 16:34 Data -> ../Data/
0 lrwxrwxrwx 1 root root 13 Jun 6 16:34 Videos -> ../Videos/
0 lrwxrwxrwx 1 root root 10 Jun 6 16:34 MP3s -> ../MP3s/
0 lrwxrwxrwx 1 root root 14 Jun 6 16:34 Admin -> ../Admin/