Windows shares - Host allow

Description

Hello,

If I use the function that filter the Host allows, doesn't actually allow it, in the system logs try to access a home profile for the machine user will try to access the share.
If you manually create the directory that reports in the log, it works, but it displays the contents of this directory from the user's home profile.

Version: TrueNAS-12.0-U5.1 and TrueNAS-12.0-U2.1

excerpt
/var/log/samba4/log.smbd

make_connection_snum: SMB_VFS_CONNECT for service 'share' at '/mnt/POOL0/utils/share/user' failed: No such file or directory
cannot create 'POOL0/utils/share/user': parent does not exist
[2021/09/21 10:58:19.277195, 0] ../../source3/modules/smb_libzfs.c:621(create_dataset_internal)
create_dataset_internal: Failed to create dataset [POOL0/utils/share/user]: No such file or directory
[2021/09/21 10:58:19.277271, 0] ../../source3/modules/vfs_ixnas.c:2472(ixnas_connect)
ixnas_connect: Failed to automatically generate connectpath.
[2021/09/21 10:58:19.277331, 1] ../../source3/smbd/service.c:691(make_connection_snum)
make_connection_snum: SMB_VFS_CONNECT for service 'share' at '/mnt/POOL0/utils/share/user' failed: No such file or directory
[2021/09/21 10:58:31.743341, 0] ../../lib/util/access.c:371(allow_access)

Problem/Justification

None

Impact

None

clones

Activity

Show:

Andrew Walker September 30, 2021 at 12:39 PM

Set share purpose for `pablo` to NO_PRESET and remove the path suffix %U.

Infraestrutura September 24, 2021 at 7:43 PM

Done

iX-Tony September 22, 2021 at 1:00 PM

Thank you for the report, . Can you please attach a debug file to the "Private Attachments" section of this ticket? To generate a debug file on TrueNAS CORE, log in to the TrueNAS web interface, go to System > Advanced, then click SAVE DEBUG and wait for the file to download to your local system.

User Configuration Error
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created September 21, 2021 at 2:38 PM
Updated July 1, 2022 at 5:43 PM
Resolved October 29, 2021 at 2:53 PM