[Pkg-samba-maint] Bug#553904: Bug#553904: samba: Lost accounts on upgrade.

Christian Perrier bubulle at debian.org
Sun Nov 8 15:51:35 UTC 2009


Quoting David Anselmi (anselmi at anselmi.us):
> 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.

The default setting of "passdb backend" changed from "smbpasswd" to
"tdbsam" in samba 3.4.0

The default configuration file we provide in Debian has an explicit
definition of "passdb backend = tdbsam" since the Lenny release cycle.

So, people who use our default configuration will not be harmed by
this default setting change. Only people who have *no* setting ofr
"passdb backend" will suffer from the same problem you had.

Steve, as you upgraded this bug to RC, I guess you somehow mean that
we should do something.


Last (and only time) we talked about this (June 25th), the conclusion
was to mention something in NEWS.Debian. A stronger solution would be
running a test to check whether "passdbbackend" is defined in smb.conf
and warn the local admin if it is not (and if this is an upgrade from
a pre-3.4.0 version).

Comments?



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20091108/d170650b/attachment.pgp>


More information about the Pkg-samba-maint mailing list