I have two servers running opensuse 13.1, ftp1 and ftp2. On both I have samba running with identical smb.conf configurations. I can access my home directory share '/home/chapan' on ftp1 with the command:
smbclient //ftp1/homes -U chapan
If I try to access my home directory on ftp2 with the command:
smbclient //ftp2/homes -U chapan
it returns the message:
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
If I look at the /var/log/samba/log.smbd on ftp2 file I see:
[2014/01/03 10:01:38.170584, 0] ../source3/smbd/service.c:784(make_connection_s
num)
canonicalize_connect_path failed for service chapan, path /home/AD/chapan
AD is our microsoft active directory domain name. So on ftp2 samba looking for the domain name as part of the path whereas ftp1 is not. I tried copying every configuration file I could from ftp1 to ftp2 to try to make them work the same but I still get the error on ftp2. So there must be something different on ftp2, but I cannot find out what it is.
Quote:
smbclient //ftp1/homes -U chapan
Quote:
smbclient //ftp2/homes -U chapan
Quote:
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Quote:
[2014/01/03 10:01:38.170584, 0] ../source3/smbd/service.c:784(make_connection_s
num)
canonicalize_connect_path failed for service chapan, path /home/AD/chapan