nightcore500
Dabbler
- Joined
- Apr 1, 2022
- Messages
- 10
Hi,
I am currently configuring a Windows Server 2022 domain and would like to use TrueNAS SCALE for all network shares. This works very well so far. The home share for all users, however, unfortunately not. I have already tried different solutions which I could find here in the forum. However without success. As a first starting point I used the docs for SCALE. (https://www.truenas.com/docs/scale/shares/)
First I added another dataset to my pool called "benutzer". As share type I set "SMB". Then ACL Type "NFSv4" and ACL Mode "Restricted" was set automatically. Now I called the permissions and changed owner group to "XXX\domänen-admins". The owner itself I left on default value as described. (root) As ACL preset I used "NFS4_HOME". Next I added another SMB share. I set the path to "/mnt/datapool/benutzer", left the default name, changed "purpose" to "No presets" and activated the setting "Use as Home Share" under "Advanced Options". After that I added a test user named "ad.test" to the Windows server and logged in with another Windows 10 PC to the domain with this user.
The result is that I have neither access to the share "homes" nor to the share "ad.test".
I have checked the permissions of the folders:
The domain folder in the dataset was created, but no folder for the user "ad.test".
In the log.smbd only the following can be found:
What am I doing wrong here? TrueNAS SCALE is on version 22.02.0.1.
I am currently configuring a Windows Server 2022 domain and would like to use TrueNAS SCALE for all network shares. This works very well so far. The home share for all users, however, unfortunately not. I have already tried different solutions which I could find here in the forum. However without success. As a first starting point I used the docs for SCALE. (https://www.truenas.com/docs/scale/shares/)
First I added another dataset to my pool called "benutzer". As share type I set "SMB". Then ACL Type "NFSv4" and ACL Mode "Restricted" was set automatically. Now I called the permissions and changed owner group to "XXX\domänen-admins". The owner itself I left on default value as described. (root) As ACL preset I used "NFS4_HOME". Next I added another SMB share. I set the path to "/mnt/datapool/benutzer", left the default name, changed "purpose" to "No presets" and activated the setting "Use as Home Share" under "Advanced Options". After that I added a test user named "ad.test" to the Windows server and logged in with another Windows 10 PC to the domain with this user.
The result is that I have neither access to the share "homes" nor to the share "ad.test".
I have checked the permissions of the folders:
Code:
root@srv-truenas[~]# ls /mnt/datapool/benutzer/ XXX root@srv-truenas[~]# getfacl /mnt/datapool/benutzer getfacl: Removing leading '/' from absolute path names # file: mnt/datapool/benutzer # owner: root # group: XXX\\domänen-admins user::rwx group::rwx other::--x root@srv-truenas[~]# ls /mnt/datapool/benutzer/XXX root@srv-truenas[~]# getfacl /mnt/datapool/benutzer/XXX getfacl: Removing leading '/' from absolute path names # file: mnt/datapool/benutzer/XXX # owner: root # group: XXX\\domänen-admins user::rwx group::--- other::---
The domain folder in the dataset was created, but no folder for the user "ad.test".
In the log.smbd only the following can be found:
Code:
[2022/04/01 17:11:04.799002, 1] ../../lib/param/loadparm.c:1766(lpcfg_do_global_parameter) lpcfg_do_global_parameter: WARNING: The "syslog only" option is deprecated cannot open '/mnt/datapool/benutzer/XXX/ad.test': No such file or directory [2022/04/01 17:11:05.114854, 0] ../../source3/smbd/service.c:808(make_connection_snum) make_connection_snum: canonicalize_connect_path failed for service ad.test, path /mnt/datapool/benutzer/XXX/ad.test [2022/04/01 17:11:05.129959, 0] ../../source3/smbd/service.c:808(make_connection_snum) make_connection_snum: canonicalize_connect_path failed for service ad.test, path /mnt/datapool/benutzer/XXX/ad.test [2022/04/01 17:11:05.134154, 0] ../../source3/smbd/service.c:808(make_connection_snum) make_connection_snum: canonicalize_connect_path failed for service ad.test, path /mnt/datapool/benutzer/XXX/ad.test
What am I doing wrong here? TrueNAS SCALE is on version 22.02.0.1.