I’m find a way to configure TrueNAS Scale to achieve the following workflow in an Active Directory (AD) domain environment. Any advice or best practices would be greatly appreciated!
Current Setup:
- TrueNAS Scale (24.10) is successfully joined to our AD domain.
What I want to achieve:
-
Automated home directory and corresponding SMB share creation
* Automatically create a private home directory (e.g.,/mnt/pool/home/%USERNAME%) for each domain user upon their first login.
* Ensure only the owning user has read/write access to their home directory (other domain users should not have access). -
User-Controlled sharing of subdirectories
- Allow domain users to share specific subdirectories within their home directories (e.g.,
/mnt/pool/home/user1/Projects/Project_X) with other domain users/groups for collaboration. - Users should be able to manage permissions (read/write) for these shared subdirectories themselves, without administrator intervention.
Example Scenario:
- Domain user
Johnhas a home directory:/mnt/pool/home/john. - John creates a subdirectory
Shared_Reportsand wants to grant read/write access toAlice(another AD user) and read-only access to theSalesAD group. - John should be able to set these permissions directly via Windows Explorer (e.g., Security tab) or fsmgmt.msc, and
Alice/Salesshould only seeShared_Reportswhen browsing the share.