Hello,
I am curious about SMB home shares configuration. I would like to have a per user share. What is the proper way to configure it in TrueNAS Scale?
My configuration:
OS Version: TrueNAS-SCALE-22.02.2.1
Dataset "homes" with manually created sub-dataset for every local user
Users:
user1, home in /mnt/ssd-pool/homes/user1, dataset owner & group user1, rwxrwx---
user2, home in /mnt/ssd-pool/homes/user2, dataset owner & group user2, rwxrwx---
SMB share:
Path: /mnt/ssd-pool/homes
Name: users
Purpose: Private SMB Datasets and Shares
Other options: Use as Home Share
I have discovered a weird behaviour, where user1 can access its share on \\truenas\homes and \\truenas\user1 and \\truenas\user2 - when logged as user1. Any mentioned share points to user1 directory. The same behaviour when logged as user2. Using non-existent user name causes an error in smbclient (NT_STATUS_BAD_NETWORK_NAME).
Is above mentioned configuration the proper way to configure home shares, especially manually creating dataset for every user? Is there anything to configure better? What about that weird behaviour when accessing the user's home share with any existing user name? I would expect it being accessible from user's name, maybe from "homes", but not really from another user's name.
Thanks for any tips & advices.
M
I am curious about SMB home shares configuration. I would like to have a per user share. What is the proper way to configure it in TrueNAS Scale?
My configuration:
OS Version: TrueNAS-SCALE-22.02.2.1
Dataset "homes" with manually created sub-dataset for every local user
Users:
user1, home in /mnt/ssd-pool/homes/user1, dataset owner & group user1, rwxrwx---
user2, home in /mnt/ssd-pool/homes/user2, dataset owner & group user2, rwxrwx---
SMB share:
Path: /mnt/ssd-pool/homes
Name: users
Purpose: Private SMB Datasets and Shares
Other options: Use as Home Share
I have discovered a weird behaviour, where user1 can access its share on \\truenas\homes and \\truenas\user1 and \\truenas\user2 - when logged as user1. Any mentioned share points to user1 directory. The same behaviour when logged as user2. Using non-existent user name causes an error in smbclient (NT_STATUS_BAD_NETWORK_NAME).
Is above mentioned configuration the proper way to configure home shares, especially manually creating dataset for every user? Is there anything to configure better? What about that weird behaviour when accessing the user's home share with any existing user name? I would expect it being accessible from user's name, maybe from "homes", but not really from another user's name.
Thanks for any tips & advices.
M