[Samba] canonicalize_connect_path failed for service

Rowland Penny rpenny at samba.org
Mon Apr 23 08:22:41 UTC 2018


On Mon, 23 Apr 2018 16:48:15 +1000
Rob Thoman via samba <samba at lists.samba.org> wrote:

> Hi,
> 
> Our setup:
> 
> Samba (classic) DC: cdr-dc01
> Samba (classic) member server: cdr-fs01. This is also a file server
> AD realm: CDR.internal
> 
> We migrated to AD and came across an issue with accessing shares. The
> shares in question worked pre-migrated. i.e using a windows machine a
> user was able to access that share. The share in question was locked
> down to just that user
> 
> Post migration, we are able to access any shares which are not locked
> down to users i.e shares which are accessible to groups.
> 
> For the particular share in question, we get
> 
>  canonicalize_connect_path failed for service user01, path
> /home/CDR/user01/samba
> 
> There is no /home/CDR . 

Oh yes there is ;-)

> Where is this coming from?

From 'template homedir', it is the default setting.

> The curios thing getent passwd gives the following
> user01:*:3029:3000:user01:/home/CDR/user01:/bin/false
> 
> The user is not in the local /etc/passwd

As it it shouldn't be

> 
> 
> The cdr-fs01 has been joined to the AD domain, and we have the
> following in /etc/nsswitch.conf
> 
> shadow:        files
> passwd:        winbind files
> group:           winbind files

It should be 'files winbind'

What is the AD DC ?

Can you please post the smb.conf from 'cdr-fs01'

How did you migrate ? did you use 'samba-tool domain classicupgrade' ?
If you did is the original PDC still running as a PDC ? if so, turn it
off.

Rowland



More information about the samba mailing list