TSF – Giải pháp IT toàn diện cho doanh nghiệp SMB | HCM

How to Configure HomeFolders for Domain Users (SMB + AD Guide)

This video explains how to configure home folders for domain users on TrueNAS using SMB and Active Directory. You will learn how to create a ZFS dataset structure optimized for user home directories. We also cover how to apply proper ACL permissions to keep each user’s data private and secure. The tutorial includes best practices for SMB sharing, inheritance, and folder isolation. You’ll see how TrueNAS automatically generates user home directories when users log in. We also show how to fix common access-denied issues and permission conflicts. This configuration is essential for organizations using Windows domain environments. Watch the full guide to ensure your TrueNAS is securely integrated with Active Directory.

Step 1: Create dataset Homefolder

Set Share SMB

Step 2: Assign permissions to dataset Homefolder

Group admin: Modify – Inherit
Group TSF\sale, TSF\hr,….: Read – No Inherit
Group domain admin: Full Control – Inherit
Group owner@ – root: Modify – Inherit

Step 3: Enable SMB Share

Purpose: No Presets
Tick ABSE

Step 4: Enable Homefolder on AD

\\192.168.16.182\Homefolder\%username%

Login user sale01, hr01 check

Step 5: SSH to configure Homefolder

Enable SSH for admin truenas (if not yet). Re-confirm the root user password.
Run the command to determine the ID of Dataset Homefolder
midclt call sharing.smb.query | jq

For example: Determine the team id as 2
midclt call sharing.smb.update 2 ‘{“auxsmbconf”: “access based share enum = yes\nhide unreadable = yes”}’

Restart SMB services
systemctl restart smbd

Enter the root password