[Pkg-samba-maint] Bug#505357: Bug#505357: Samba upgrade from sarge->etch brokes ntprinters.tdb-file

Christian Perrier bubulle at debian.org
Wed Nov 12 06:18:11 UTC 2008

found 505357 3.0.24-6etch10
notfound 505357 3.2.4-1

Quoting Juhani Puska (juhani.puska at wasalab.com):
> Package: samba
> Version: 3.0.24-6etch10
> While upgrading sarges last samba version 3.0.14a-3sarge11 to etch, it 
> somehow converts ntprinters.tdb-file and damages it is content.
> You can find after upgrade, that smbd does not start and you have in the 
> log file (log.smbd):
> [2008/11/11 21:41:34, 0] tdb/tdbutil.c:tdb_log(783)
>    tdb(/var/lib/samba/ntprinters.tdb): rec_read bad magic 0x0 at 
> offset=92124
> It could be restored by copying the original ntprinters.tdb file before 
> upgrade. In this case Company has 29 printers installed/drivers.
> If you need more exact information, please reply to me.

Tagging this issues as "etch-only".

However, the package itself does nothing really specific to the TDB
files. That is maybe done by samba itself when opening them for the
first time but that does not explain why you can fix the problem by
copying the old file back.

IIRC, I had similar problems when updating my print servers at work
and it finally turned out that the TDB files were corrupted in some
vay *before* the upgrade

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20081112/a60f069a/attachment-0001.pgp 

More information about the Pkg-samba-maint mailing list