Hi!
I have a TrueNAS-SCALE-22.02.3 I run samba on it, for which users authenticate from the active directory.
Everythings are working but sometimes users can’t access the share. For exemple user have access share1 and share2 both on this server. When the user try to access share1 it works perfects and try to access share2 get error “Windows cannot access to /st/share” The user is in both security group.
I using nfs4 acls here these groups have modify right.
After user logout and login again both share works perfectly, the problem does not appear for several months.
I find in syslog:
[2024/07/02 00:34:22.255929, 0] …/…/source3/smbd/service.c:171(chdir_current_service)
chdir_current_service: vfs_ChDir(/st/share) failed:failed: Permission denied. Current token: uid=100027157 , gid=100000514 groups:100000514, 100027157, 100026425, 100026538, 100030314, 100026167, 100030326, 100027166, 100027176, 100027303, 100027179, 100027170, 10002716
id user
uid=100027157(user) gid=100000514(domain users) groups=100000514(domain users),100027157(user),100026425(grp1),100026538(grp2),100030314(grp3),100026167(grp4),100030326(grp25),100027166(grp5),100027176(grp6),100027303(grp7),100027179(grp8),100027170(grp9),100027165(grp10)
The problem 100030314(grp3) missing from Current token, but i check it with “id user” user is in the group.
Do you have any ideas?
Regards Mat