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

Alan Schwartz alansz at uic.edu
Wed Feb 9 21:34:52 UTC 2011


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:

[global]
workgroup = ALANSZ
passdb backend = smbpasswd
netbios name = TALA

[araw]
path = /opt/shared
read only = No

This configuration file passes testparm:
# testparm -s /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[araw]"
Loaded services file OK.
Server role: ROLE_STANDALONE


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.




-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'proposed-updates'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  adduser                 3.112+nmu2       add and remove users and groups
ii  debconf [debconf-2.0]   1.5.36.1         Debian configuration management sy
ii  libacl1                 2.2.49-4         Access control list shared library
ii  libattr1                1:2.4.44-2       Extended attribute shared library
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libcap2                 1:2.19-3         support for getting/setting POSIX.
ii  libcomerr2              1.41.12-2        common error description library
ii  libcups2                1.4.4-7          Common UNIX Printing System(tm) - 
ii  libgssapi-krb5-2        1.8.3+dfsg-4     MIT Kerberos runtime libraries - k
ii  libk5crypto3            1.8.3+dfsg-4     MIT Kerberos runtime libraries - C
ii  libkrb5-3               1.8.3+dfsg-4     MIT Kerberos runtime libraries
ii  libldap-2.4-2           2.4.23-7         OpenLDAP libraries
ii  libpam-modules          1.1.1-6.1        Pluggable Authentication Modules f
ii  libpam-runtime          1.1.1-6.1        Runtime support for the PAM librar
ii  libpam0g                1.1.1-6.1        Pluggable Authentication Modules l
ii  libpopt0                1.16-1           lib for parsing cmdline parameters
ii  libtalloc2              2.0.1-1          hierarchical pool based memory all
ii  libwbclient0            2:3.5.6~dfsg-3   Samba winbind client library
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  procps                  1:3.2.8-9        /proc file system utilities
ii  samba-common            2:3.5.6~dfsg-3   common files used by both the Samb
ii  update-inetd            4.38+nmu1        inetd configuration file updater
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages samba recommends:
ii  logrotate                     3.7.8-6    Log rotation utility

Versions of packages samba suggests:
pn  ctdb                        <none>       (no description available)
pn  ldb-tools                   <none>       (no description available)
ii  openbsd-inetd [inet-superse 0.20080125-6 The OpenBSD Internet Superserver
pn  smbldap-tools               <none>       (no description available)

-- debconf-show failed





More information about the Pkg-samba-maint mailing list