[Pkg-samba-maint] Bug#679678: samba4: It is not possible to share files, log is reporting a missing /usr/sbin/smbd

thomas thomas at hepper.eu
Sat Jun 30 18:56:37 UTC 2012

Package: samba4
Version: 4.0.0~beta2+dfsg1-1
Severity: important

after upgrading the shares , as configured in smb.conf, are not working anymore.

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba4 depends on:
ii  debconf [debconf 1.5.44                  Debian configuration management sy
ii  libasn1-8-heimda 1.6~git20120403+dfsg1-2 Heimdal Kerberos - ASN.1 library
ii  libattr1         1:2.4.46-8              Extended attribute shared library
ii  libbsd0          0.4.2-1                 utility functions from BSD systems
ii  libc6            2.13-34                 Embedded GNU C Library: Shared lib
ii  libcomerr2       1.42.4-3                common error description library
ii  libdcerpc-server 4.0.0~beta2+dfsg1-1     DCE/RPC server library
ii  libdcerpc0       4.0.0~beta2+dfsg1-1     DCE/RPC client library
ii  libgensec0       4.0.0~beta2+dfsg1-1     Generic Security Library
ii  libhdb9-heimdal  1.6~git20120403+dfsg1-2 Heimdal Kerberos - kadmin server l
ii  libkdc2-heimdal  1.6~git20120403+dfsg1-2 Heimdal Kerberos - KDC support lib
ii  libkrb5-26-heimd 1.6~git20120403+dfsg1-2 Heimdal Kerberos - libraries
ii  libldb1          1:1.1.6-1               LDAP-like embedded database - shar
ii  libndr-standard0 4.0.0~beta2+dfsg1-1     Standard NDR interfaces
ii  libndr0          4.0.0~beta2+dfsg1-1     NDR marshalling library
ii  libpopt0         1.16-7                  lib for parsing cmdline parameters
ii  libpython2.7     2.7.3-1                 Shared Python runtime library (ver
ii  libroken18-heimd 1.6~git20120403+dfsg1-2 Heimdal Kerberos - roken support l
ii  libsamba-credent 4.0.0~beta2+dfsg1-1     Samba Credentials management libra
ii  libsamba-hostcon 4.0.0~beta2+dfsg1-1     Samba host configuration library
ii  libsamba-util0   4.0.0~beta2+dfsg1-1     Samba utility function library
ii  libsamdb0        4.0.0~beta2+dfsg1-1     SAM database
ii  libsmbclient-raw 4.0.0~beta2+dfsg1-1     SMB client library
ii  libtalloc2       2.0.7+git20120207-1     hierarchical pool based memory all
ii  libtdb1          1.2.10-2                Trivial Database - shared library
ii  libtevent0       0.9.16-1                talloc-based event loop library - 
ii  python           2.7.3~rc2-1             interactive high-level object-orie
ii  python-dnspython 1.10.0-1                DNS toolkit for Python
ii  python-samba     4.0.0~beta2+dfsg1-1     Python bindings for Samba
ii  samba-dsdb-modul 4.0.0~beta2+dfsg1-1     Samba Directory Services Database
ii  samba4-common-bi 4.0.0~beta2+dfsg1-1     Samba 4 common files used by both 
ii  tdb-tools        1.2.1-2+b1              Trivial Database - bundled binarie

Versions of packages samba4 recommends:
ii  attr                 1:2.4.44-2          Utilities for manipulating filesys
ii  bind9                1:9.8.1.dfsg.P1-4.1 Internet Domain Name Server
ii  bind9utils           1:9.8.1.dfsg.P1-4.1 Utilities for BIND
ii  ldb-tools            1:1.1.6-1           LDAP-like embedded database - tool

Versions of packages samba4 suggests:
pn  phpldapadmin                  <none>     (no description available)
pn  samba-gtk                     <none>     (no description available)
pn  swat2                         <none>     (no description available)

-- Configuration Files:
/etc/init.d/samba4 changed:
unset TMPDIR
test -x /usr/sbin/samba -a -r /etc/samba/smb.conf || exit 0
.. /lib/lsb/init-functions
case "$1" in
		log_daemon_msg "Starting Samba 4 daemon" "samba"
		# Make sure we have our PIDDIR, even if it's on a tmpfs
		install -o root -g root -m 755 -d $PIDDIR
		if ! start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/samba -- -D; then
			log_end_msg 1
			exit 1
		log_end_msg 0
		log_daemon_msg "Stopping Samba 4 daemon" "samba"
		start-stop-daemon --stop --quiet --name samba $SAMBAPID
		# Wait a little and remove stale PID file
		sleep 1
		if [ -f $SAMBAPID ] && ! ps h `cat $SAMBAPID` > /dev/null
			# Stale PID file (samba was succesfully stopped),
			# remove it (should be removed by samba itself IMHO.)
			rm -f $SAMBAPID
		log_end_msg 0
		$0 stop
		sleep 1
		$0 start
		echo "Usage: /etc/init.d/samba {start|stop|restart|force-reload}"
		exit 1
exit 0

-- debconf information:
  samba4/upgrade-from-v3: true
  samba4/server-role: domain controller
  samba4/realm: CHAOS.HAN.DE

More information about the Pkg-samba-maint mailing list