Hi
Just moved to TrueNAS From XigmaNAS and I'm bit confused with how browseable is (not) working in TrueNAS. I had no issues before, but now...
Situation
I have 1 dataset with 2 main folders : Public and Private
I want to make the Public browseable (i.e. user with credentials opening 192.168.... will see this one folder) but Private accessible only using direct 192.168....\Private
Previously I just made two shares and said that Private is not browseable and tadaaa, it was working like that. But TrueNAS is behaving weirdly :
Issues I ran into (in a kind of chronological order):
1) I tried to use "Default shared parameters" but then "browseable" cannot be turned off in advanced
2) I tried "Private SMB Datasets..." but then even user accessing directly 192.168....\Private was told that this path does not exist (wut?)
3) ok, I set up both folders as "default share parameters" and forced therefore to make them "browseable", but turned off the default dataset share, so I have 3 shares now:
dataset /mnt/pool_5x8TB/dataset no
Private /mnt/pool_5x8TB/dataset/Private yes
Public /mnt/pool_5x8TB/dataset/Public yes
(yes/no is for whether the share is enabled)
I would expect that typing \\192.168.... will result in error (because it's turned off) and people will have to use directly Public / Private. But no. Both Public and Private ARE accessible, but also just the IP will show the "root" of the share with both folders.
I'm superconfused at this point. Could you please advise how to make the one folder not browseable but accessible? And what's wrong with my set-up?
Note : in all cases I was making my attempts from the same computer using the same credentials. User accessing the SMB is at the same time part of the group owning all the files (if that matters).
Just moved to TrueNAS From XigmaNAS and I'm bit confused with how browseable is (not) working in TrueNAS. I had no issues before, but now...
Situation
I have 1 dataset with 2 main folders : Public and Private
I want to make the Public browseable (i.e. user with credentials opening 192.168.... will see this one folder) but Private accessible only using direct 192.168....\Private
Previously I just made two shares and said that Private is not browseable and tadaaa, it was working like that. But TrueNAS is behaving weirdly :
Issues I ran into (in a kind of chronological order):
1) I tried to use "Default shared parameters" but then "browseable" cannot be turned off in advanced
2) I tried "Private SMB Datasets..." but then even user accessing directly 192.168....\Private was told that this path does not exist (wut?)
3) ok, I set up both folders as "default share parameters" and forced therefore to make them "browseable", but turned off the default dataset share, so I have 3 shares now:
dataset /mnt/pool_5x8TB/dataset no
Private /mnt/pool_5x8TB/dataset/Private yes
Public /mnt/pool_5x8TB/dataset/Public yes
(yes/no is for whether the share is enabled)
I would expect that typing \\192.168.... will result in error (because it's turned off) and people will have to use directly Public / Private. But no. Both Public and Private ARE accessible, but also just the IP will show the "root" of the share with both folders.
I'm superconfused at this point. Could you please advise how to make the one folder not browseable but accessible? And what's wrong with my set-up?
Note : in all cases I was making my attempts from the same computer using the same credentials. User accessing the SMB is at the same time part of the group owning all the files (if that matters).