I have mounted an SMB share to Ubuntu 20.04. I can’t figure out how to get the permissions I set in TrueNAS to work correctly. No matter what permissions I have set for the user, I seem to have the access level of the user that mounted the SMB share.
Your SMB session to the remote server and associated remote access check results are determined exclusively by the credential you used to authenticate to the server. (Unless you have mounted in a certain way using kerberos and kinit as the desired user in your client session – then SMB session is determined by the current kerberos cred).
That is what I have read, but it doesn’t seem to be behaving that way. My user is a domain administrator, but I do not have any allowed permissions for domain admins configured on this share. Maybe I should try an explicit deny for domain admins and see if that does anything.
Yeah, I tried explicit deny and it had no effect. It’s quite strange.
how to help you if you don’t post your smb.conf.
smb.conf.txt (5.6 KB)
smb.conf attached.