On 10/12/2022 17:48, Luis Peromarta via samba wrote:> Upgraded to 4.17.3, same error: > > [2022/12/10 18:47:01.218205,??0] ../../source3/smbd/smb2_service.c:168(chdir_current_service) > ??chdir_current_service: vfs_ChDir(/home2/shares) failed: Permission denied. Current token: uid=11252, gid=10000, 15 groups: 10000 10008 10003 10005 10030 10024 10021 10022 10001 10018 10014 3003 3004 3006 3001 > >Okay, that rules out anything that hasn't already been fixed. If you run the following commands on both machines, do you get the same results: ls -lad /home2/shares getfacl /home2/shares sudo samba-tool ntacl get /home2/shares --as-sddl Rowland
Contingency server (4.17.3): root at servercont:/home2# ls -lad /home2/shares drwxrwx---+ 23 luis domain admins 4096 Nov 17 14:17 /home2/shares root at servercont:/home2# getfacl /home2/shares getfacl: Removing leading '/' from absolute path names # file: home2/shares # owner: luis # group: domain\040admins user::rwx user:luis:rwx group::rwx group:domain\040users:r-x group:domain\040admins:rwx mask::rwx other::--- default:user::rwx default:user:luis:rwx default:group::--- default:group:domain\040admins:rwx default:mask::rwx default:other::--- root at servercont:/home2# samba-tool ntacl get /home2/shares --as-sddl O:S-1-5-21-2152908145-95474353-1514027631-1110G:DAD:PAI(A;OICI;0x001f01ff;;;DA)(A;CI;0x001200a9;;;DU) root at servercont:/home2# Main server (4.9.5): server:/home2# ls -lad /home2/shares drwxrwx---+ 23 luis domain admins 4096 Nov 17 14:17 /home2/shares server:/home2# getfacl /home2/shares getfacl: Removing leading '/' from absolute path names # file: home2/shares # owner: luis # group: domain\040admins user::rwx user:luis:rwx group::rwx group:domain\040users:r-x group:domain\040admins:rwx mask::rwx other::--- default:user::rwx default:user:luis:rwx default:group::--- default:group:domain\040admins:rwx default:mask::rwx default:other::--- server:/home2# samba-tool ntacl get /home2/shares --as-sddl ERROR: Unable to read domain SID from configuration files server:/home2# Best, LP On 10 Dec 2022 at 19:28 +0100, samba at lists.samba.org, wrote:> > ls -lad /home2/shares > > getfacl /home2/shares > > sudo samba-tool ntacl get /home2/shares --as-sddl