Why do I see smbd[XXXX]:make_connection_snum: canonicalize_connect_path failed for service?

Solution Unverified - Updated -

Issue

  • Why do I see smbd[XXXX]:make_connection_snum: canonicalize_connect_path failed for service?

Sample log:

[root@host1 /]# rpm -q samba
samba-4.16.4-101.el9.x86_64
[root@host1 /]# tail -4 /etc/samba/smb.conf
[share1]
    path = /samba-data/share1
    browseable = yes
    public = yes
root@host1 /]# date; mount -t cifs -o guest //localhost/share1 /mnt
Tue Apr  4 03:09:14 PM JST 2023
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
[root@host1 /]# tail -2 /var/log/samba/log.smbd
[2023/04/04 15:09:14.937952,  0] ../../source3/smbd/service.c:787(make_connection_snum)
  make_connection_snum: canonicalize_connect_path failed for service share1, path /samba-data/share1
[root@host1 /]# grep smbd /var/log/messages | tail -2
Apr  4 15:09:14 host1 smbd[1836]: [2023/04/04 15:09:14.937952,  0] ../../source3/smbd/service.c:787(make_connection_snum)
Apr  4 15:09:14 host1 smbd[1836]:  make_connection_snum: canonicalize_connect_path failed for service share1, path /samba-data/share1
[root@host1 /]#

Environment

  • Red Hat Enterprise Linux 7, 8, 9
  • samba

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content