Hello,
tl;dr: I’m trying to figure out the best/easiest to maintain way to hide SMB shares from remote users who don’t have access to them. When they connect to the server via SMB, I don’t want them to be able to see any shares they don’t have access to.
I’m trying to set up SMB shares from my datasets to perform the way I want to, and I’m having some issues.
I have a dataset with an SMBv4 ACL as shown below. It has two children with the same permissions. The children are each shared via SMB.
Separately, I have another dataset, with no children, with different SMBv4 ACL permissions.
As it is, both of these shares are visible to any user who authenticates via SMB, even if they don’t have access to mount them.
I think I need to adjust the actual SMB permissions to fix this, but I don’t know how. I’ve never had to adjust those before. I don’t remember this being an issue in CORE.
What’s the best way to fix this?