[Samba] Issues accessing ZFS-shares on Linux

Jeremy Allison jra at samba.org
Mon Jan 8 22:57:41 UTC 2018

On Mon, Jan 08, 2018 at 11:06:37PM +0200, John Doe via samba wrote:
> Hi,
> I am having a really strange problem with my Samba shares on Debian
> Buster. None of the users can access any shares, which reside on
> ZFS-filesystem. Any other share works just fine. For example, if I
> create a normal folder to /home with same permissions and replace a
> ZFS-share with that, it works fine.
> When accessing any ZFS-shares the following error is recorded:
> Jan 08 22:39:56 punishedkorppu smbd[27893]: [2018/01/08 22:39:56.075343,
>  0] ../source3/smbd/service.c:774(make_connection_snum)
> Jan 08 22:39:56 punishedkorppu smbd[27893]:   canonicalize_connect_path
> failed for service rex, path /tank/rex
> The system in use is Debian Buster with Samba 2:4.7.3+dfsg-1 and ZoL
> 0.7.4-1 from Debian repo. Selinux is disabled and apparmor too.
> Any ideas what might be wrong with this setup?

Do an strace. canonicalize_connect_path() is a very simple
function, but my guess is the call to SMB_VFS_REALPATH()
is failing for some reason on your ZFS filesystem.

More information about the samba mailing list