[Pkg-samba-maint] Bug#612672: samba: fails to set up IPC$ share due to canonicalize_connect_path failure

Steve Langasek vorlon at debian.org
Sun Feb 13 22:23:51 UTC 2011


tags 612672 moreinfo unreproducible
thanks

On Wed, Feb 09, 2011 at 03:34:52PM -0600, Alan Schwartz wrote:
> Package: samba
> Version: 2:3.5.6~dfsg-3
> Severity: important

> Upgraded lenny to squeeze. Samba configuration that used to work
> on lenny no longer works. Replaced it with a minimal configuration,
> still doesn't work.

> Symptoms: smbclient -L localhost does not list shares, and log file
> gives an error message related to IPC$ share's path:

> # smbclient -L localhost
> Enter root's password: <enter>
> Anonymous login successful
> Domain=[ALANSZ] OS=[Unix] Server=[Samba 3.5.6]
> tree connect failed: NT_STATUS_BAD_NETWORK_NAME

> Logfile /var/log/samba/log.smbd reports:

> [2011/02/09 15:16:49.532999,  0] smbd/service.c:988(make_connection_snum)
>   canonicalize_connect_path failed for service IPC$, path /tmp

> The /etc/samba/smb.conf is, in its entirety:

> Online searching finds several reports of this problem potentially
> related to the value of TMPDIR when smbd is started. The new squeeze
> /etc/init.d/samba unsets TMPDIR, which seems like the right thing
> to do.

> /tmp exists on this system with the usual debian permissions.
> I have also tried creating /root/tmp, /var/lib/samba/tmp,
> and /var/run/samba/tmp with similar permissions, to no avail.

When you say 'similar permissions', what, exactly, are those permissions?
(ls -ld /tmp)

I can't reproduce this error here with the same version of samba installed. 
I suspect you have a misconfigured /tmp.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20110213/6686b6fb/attachment-0001.pgp>


More information about the Pkg-samba-maint mailing list