[Pkg-samba-maint] Bug#553904: samba: Lost accounts on upgrade.
David Anselmi
anselmi at anselmi.us
Mon Nov 2 04:15:58 UTC 2009
Package: samba
Version: 2:3.4.2-1
Severity: normal
When upgrading a domain controller from 2:3.3.4-1 -> 2:3.4.2-1 my domain became
unusable because the user/machine accounts were lost.
Running pdbedit -L showed none of my Windows accounts (just the accounts from
the Linux server).
Fortunately /etc/samba/smbpasswd still contained the accounts so:
sudo pdbedit -i smbpasswd:/etc/samba/smbpasswd -e tdbsam:/var/lib/samba/passdb.tdb
seems to have recovered.
Running:
testparm -s --parameter-name "passdb backend" 2>/dev/null
shows tdbsam but there has been no change to smb.conf to cause that to be
different now.
Could this be due to not installing samba-common-bin when the other packages
were upgraded (I don't think so)?
Thanks!
Dave
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores)
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.111 add and remove users and groups
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii libacl1 2.2.48-1 Access control list shared library
ii libattr1 1:2.4.44-1 Extended attribute shared library
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libcap2 1:2.17-2 support for getting/setting POSIX.
ii libcomerr2 1.41.9-1 common error description library
ii libcups2 1.4.1-4 Common UNIX Printing System(tm) -
ii libgnutls26 2.8.4-1 the GNU TLS library - runtime libr
ii libgssapi-krb5-2 1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k
ii libk5crypto3 1.7dfsg~beta3-1 MIT Kerberos runtime libraries - C
ii libkrb5-3 1.7dfsg~beta3-1 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.17-1 OpenLDAP libraries
ii libpam-modules 1.1.0-4 Pluggable Authentication Modules f
ii libpam-runtime 1.1.0-4 Runtime support for the PAM librar
ii libpam0g 1.1.0-4 Pluggable Authentication Modules l
ii libpopt0 1.15-1 lib for parsing cmdline parameters
ii libtalloc2 2.0.0-1 hierarchical pool based memory all
ii libwbclient0 2:3.4.2-1 Samba winbind client library
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii procps 1:3.2.8-2 /proc file system utilities
ii samba-common 2:3.4.2-1 common files used by both the Samb
ii update-inetd 4.35 inetd configuration file updater
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
Versions of packages samba recommends:
ii logrotate 3.7.8-4 Log rotation utility
Versions of packages samba suggests:
pn ctdb <none> (no description available)
pn ldb-tools <none> (no description available)
pn openbsd-inetd | inet-superser <none> (no description available)
pn smbldap-tools <none> (no description available)
-- debconf information:
samba/nmbd_from_inetd:
* samba/run_mode: daemons
samba/log_files_moved:
samba/tdbsam: false
* samba/generate_smbpasswd: true
More information about the Pkg-samba-maint
mailing list