Roger Wu
2015-Oct-21 09:42 UTC
[Samba] Samba 3.5.4 canonicalize_connect_path failed for service
Hi,
I'm now trying to setup a samba server and connected from Win 7 or XP .
I want our PC connected to samba using NIS authentication.
The Linux OS is red hat 6.0 with samba 3.5.4.
So, here is my setting.
smb.conf
[global]
workgroup = TEK
server string = Samba Server Version %v
security = user
passdb backend = tdbsam
interfaces = 127.0.0.1, 172.26.80.0/21
bind interfaces only = Yes
encrypt passwords = No
lanman auth = Yes
client lanman auth = Yes
client plaintext auth = Yes
dns proxy = No
hosts allow = 172.26.
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
I did most of the same settings in another workstation and
it can works properly fine with NIS authentication.
The only difference would be the OS and samba version (redhat 5.7 + samba
3.0.33)
I just can't get it done on this one.
I use smbclient command to check the authentication on WS and it is fine,
# smbclient -L //cadenv -U roger
Enter roger's password:
Domain=[TEK] OS=[Unix] Server=[Samba 3.5.4-68.el6]
Sharename Type Comment
----------------- ------- --------------
IPC$ IPC IPC Service (Samba Server Version
3.5.4-68.el6)
rd2f_p3015_1_1 Printer HP LaserJet P3010
rd2f_4m3_1 Printer HP LaserJet 5000
roger Disk Home Directories
Domain=[TEK] OS=[Unix] Server=[Samba 3.5.4-68.el6]
Server Comment
--------- ---------------
CADENV Samba Server Version 3.5.4-68.el6
Workgroup Master
--------- -------
TEK
but when I connect to the samba server from PC, I can't pass the
authentication and
it keeps getting the following message from log.smbd
[2015/10/21 16:30:49.834099, 0] smbd/service.c:988(make_connection_snum)
canonicalize_connect_path failed for service roger, path
/misc/home7.2/d410/roger
[2015/10/21 16:30:49.835999, 0] smbd/service.c:988(make_connection_snum)
canonicalize_connect_path failed for service roger, path
/misc/home7.2/d410/roger
[2015/10/21 16:31:09.047194, 0]
lib/util_sock.c:1432(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by
peer.
I've been searched many articles about this message from google,
some said it's about root permission and "chmod
o+x /misc/home7.2/d410/roger" needs to be set,
but it didn't work out for me.
I've been set "EnablePlainTextPassword"="1" for Win7
registry and
I didn't add any user to smbpasswd. (Even I add users to smbpasswd, it
still can't work)
Do I need to add users to smbpasswd?
I've been stuck at this for three days. I really ran out of my tanks.
Hope someone can help me out. Thank you so much.
Best Regards,
Roger
Jeremy Allison
2015-Oct-21 21:15 UTC
[Samba] Samba 3.5.4 canonicalize_connect_path failed for service
On Wed, Oct 21, 2015 at 05:42:08PM +0800, Roger Wu wrote:> Hi, > > I'm now trying to setup a samba server and connected from Win 7 or XP . > I want our PC connected to samba using NIS authentication. > The Linux OS is red hat 6.0 with samba 3.5.4. > So, here is my setting.Can you try this with a more modern and supported version of Samba ?
Roger Wu
2015-Oct-22 00:38 UTC
[Samba] Samba 3.5.4 canonicalize_connect_path failed for service
Hi, Jeremy, I know our linux os is too old, but there is some histories that I have few choices to update. I can try newer samba version, if that helps. But, do you know how to solve this question at first? Hope you kindly share some of your experiences. Thank you. Roger 2015/10/22 上午5:15於 "Jeremy Allison" <jra at samba.org>寫道:> On Wed, Oct 21, 2015 at 05:42:08PM +0800, Roger Wu wrote: > > Hi, > > > > I'm now trying to setup a samba server and connected from Win 7 or XP . > > I want our PC connected to samba using NIS authentication. > > The Linux OS is red hat 6.0 with samba 3.5.4. > > So, here is my setting. > > Can you try this with a more modern and supported version > of Samba ? >
Seemingly Similar Threads
- Samba 3.5.4 canonicalize_connect_path failed for service
- Samba 3.5.4 canonicalize_connect_path failed for service
- canonicalize_connect_path failed for service
- canonicalize_connect_path failed for service
- samba4 [homes] | canonicalize_connect_path failed for service