Connect to Samba Home Share from Windows Fails with Network path not found

Written by James McDonald

May 2, 2014

Trying to connect to a share \\linuxpc1\jamesm from Windows 7 to a Debian box

I have a local user defined with the settings below

getent passwd jamesm

Getting an error in /var/log/samba/log.__ffff_192.168.0.109 and the windows client saying the network path is not found or similar

[2014/05/02 09:49:35.176418, 0] smbd/service.c:988(make_connection_snum)
canonicalize_connect_path failed for service jamesm, path /home/DOMAIN1/jamesm

The remote user DOMAIN1\jamesm is trying to connect to \\linuxpc1\jamesm and samba is mapping this to the template homedir value of /home/%D/%U which doesn’t exist.

The fix, move the current local users files from the default /home/jamesm and change the home directory to the domain one:

usermod -m -d /home/DOMAIN1/jamesm jamesm

Now the local user account and the connecting domain account with the same name share the same home directory.

getent passwd jamesm


lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 6.0.9 (squeeze)
Release:        6.0.9
Codename:       squeeze


Submit a Comment

Your email address will not be published.

You May Also Like…


Zebra Printer Language The above website has a page where you can enter ZPL and it...

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...

PHP array_map Multiple Arrays

array_map can take multiple arrays. I like how it starts mapping through them starting at the first element of each...