Hello everyone! I’m setting up a file server with TrueNAS Scale to migrate from an OpenMediaVault on a client that is in the same way as I’m trying to implement with TrueNAS, but with TrueNAS the enumeration doesn’t work even when activated in the Samba Share.
In the current structure I have a directory called “arquivos” shared with Domain Users and in the ACL section I placed it as shown in the image below, with multiple datasets, one for each sector.
However, when I access it via \arquivos\arquivos, all the folders appear for the user of the RH group, for example, and when this user tries to access the TI group folder, it gives a permission error.
After reading a lot on Google about the problem, I thought that using the hide unreadable = yes parameter in Share would work, but it seems that TrueNAS Scale removed the option to add extra parameters in Samba from what I could understand.
Until last year it seemed that using the command: midclt call smb.update ‘{“smb_options”: “hide unreadable = Yes”}’ was able to activate the functionality, but now it no longer works. =(
Guys, the command apparently worked: midclt call smb.update ‘{“smb_options”: “hide unreadable = Yes”}’
The problem I was having is that I copied and pasted it, but in the TrueNAS forum command the quotation marks were encoded incorrectly and gave an error when passing through the TrueNAS API! I tried typing it manually and it worked, now only the necessary folders are showing up.