Matthew Richardson
2022-Aug-18 12:50 UTC
[Samba] unix_primary_group not used when writing files
> Can we see your entire smb.conf, sanitised if you must.Found it! Decided to go over the config and sanitise it, but also toggle all the options that I wasn't certain of to see if they were relevant. If I comment out the following, then the file is group owned g_alice - with it there, it's 'domain users': vfs objects = acl_xattr No idea if this is expected behaviour though - from reading the docs it sounds like this is a setting we would want to have, but I'm more than happy to be told we don't need it and to leave it off! Thanks, Matthew The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th? ann an Oilthigh Dh?n ?ideann, cl?raichte an Alba, ?ireamh cl?raidh SC005336.
Rowland Penny
2022-Aug-18 14:13 UTC
[Samba] unix_primary_group not used when writing files
On Thu, 2022-08-18 at 13:50 +0100, Matthew Richardson via samba wrote:> > Can we see your entire smb.conf, sanitised if you must. > > Found it! Decided to go over the config and sanitise it, but also > toggle > all the options that I wasn't certain of to see if they were > relevant. > > If I comment out the following, then the file is group owned g_alice > - > with it there, it's 'domain users': > > vfs objects = acl_xattr > > No idea if this is expected behaviour though - from reading the docs > it > sounds like this is a setting we would want to have, but I'm more > than > happy to be told we don't need it and to leave it off!I think you have found a bug. The 'ad' idmap config line: unix_primary_group = yes means use the users gidNumber group as its primary group on Unix computers, so, in my opinion, vfs_acl_xattr should take this into account and doesn't seem to. Would you like to open a bug report ? Rowland