Sycobob
Dabbler
- Joined
- Jul 23, 2018
- Messages
- 19
I'm tearing my hair out with this one. After upgrading to 11.3-U3.1 I've been having issues with home shares. I've resorted to running FreeNAS in a VM to figure out what's wrong/how to set things up now.
The core issue seems to be that when a new user authenticates it's not creating a directory for their home share. Here's a snippet of log.smbd from one of my attempts.
I can't find an up to date tutorial for home shares, but I'm fairly certain I'm doing things correctly.
The core issue seems to be that when a new user authenticates it's not creating a directory for their home share. Here's a snippet of log.smbd from one of my attempts.
Code:
[2020/06/02 22:12:08.397049, 1] ../../source3/printing/printer_list.c:234(printer_list_get_last_refresh) Failed to fetch record! [2020/06/02 22:12:08.397091, 1] ../../source3/smbd/server_reload.c:64(delete_and_reload_printers) pcap cache not loaded /mnt/pool/windowset/test: No such file or directory [2020/06/02 22:12:08.461994, 0] ../../source3/modules/smb_libzfs.c:157(get_zhandle) get_zhandle: Failed to obtain zhandle on parent directory: (/mnt/pool/windowset/test) [2020/06/02 22:12:08.462032, 0] ../../source3/modules/smb_libzfs.c:577(smb_zfs_path_get_props) smb_zfs_path_get_props: Failed to obtain zhandle on [/mnt/pool/windowset/test]: No such file or directory [2020/06/02 22:12:08.462046, 0] ../../source3/modules/vfs_ixnas.c:2240(ixnas_connect) ixnas_connect: Failed to get ZFS properties for share [2020/06/02 22:12:08.462060, 1] ../../source3/smbd/service.c:665(make_connection_snum) make_connection_snum: SMB_VFS_CONNECT for service 'test' at '/mnt/pool/windowset/test' failed: No such file or directory /mnt/pool/windowset/test: No such file or directory
I can't find an up to date tutorial for home shares, but I'm fairly certain I'm doing things correctly.
- Create a pool
- Create a dataset (/mnt/pool/shares)
- Share type SMB
- Everything else default
- Create a user
- Everything default
- (new primary group, not a microsoft account, no home dir)
- Create an SMB share (/mnt/pool/shares)
- Use as home share
- Everything else default
- Edit SMB share ACL
- Default ACL options -> Home