This issue that I am currently having is that with one of the shares (TimPageBackup) when I create a new folder from windows 10 accessing the smb share it is creating the folder with the incorrect group owner. The user owner is being set to the user that created the folder but the group owner is being set to a random group that the user is a member of.
This can be seen with the ls -l command on the server
Code: Select all
[chancellor@galaxy.far-away-galaxy.com@jedi-archive share]$ ls -l /TimPageBackup/share
total 9652724
-rwxrw-r--. 1 spmilenniumfalcon@galaxy.far-away-galaxy.com domain users@galaxy.far-away-galaxy.com 9884374016 Apr 25 12:40 C_VOL-b001.spf.tmp
drwxrwxr-x. 3 root jedi-archive-timpagebackup@galaxy.far-away-galaxy.com 4096 Apr 25 11:20 ShadowProtect
drwxrwxr-x. 2 hansolo@galaxy.far-away-galaxy.com galaxy remote users@galaxy.far-away-galaxy.com 4096 Apr 25 12:38 Test
[chancellor@galaxy.far-away-galaxy.com@jedi-archive share]$ ls -l /Media/share
total 16
drwsrwsr-x. 6 root jedi-archive-media@galaxy.far-away-galaxy.com 4096 Apr 23 17:57 Data
drwxrwsr-x. 6 root jedi-archive-media@galaxy.far-away-galaxy.com 4096 Apr 24 03:02 SoftwareArchive
drwxrwsr-x. 4 root jedi-archive-media@galaxy.far-away-galaxy.com 4096 Apr 24 03:17 Table Top RPG
drwxrwsr-x. 2 hansolo@galaxy.far-away-galaxy.com jedi-archive-media@galaxy.far-away-galaxy.com 4096 Apr 25 12:38 Test
[chancellor@galaxy.far-away-galaxy.com@jedi-archive share]$
Here is my smb.conf file for reference.
Code: Select all
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = GALAXY
security = ads
encrypt passwords = yes
passdb backent = tdbsam
realm = galaxy.far-away-galaxy.com
printing = cups
printcap name = /dev/null
load printers = no
cups options = raw
[Media]
comment = Media files
path = /Media/share
public = no
writable = yes
guest ok = no
valid users = @"jedi-archive-media@galaxy.far-away-galaxy.com"
create mask = 0775
directory mask = 0775
[TimPageBackup]
comment = Shadow Protect Backup
path = /TimPageBackup/share
public = no
writable = yes
guest ok = no
valid users = @"jedi-archive-TimPageBackup@galaxy.far-away-galaxy.com"
create mask = 0775
directory mask = 0775