[Samba] Bad magic

Gerald (Jerry) Carter jerry at samba.org
Thu Nov 7 16:29:37 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 4 Nov 2002, Stephen J. Thompson wrote:

> I am trying to connect my windows 2000 clients to printers hosted on my
> samba server. The samba server is acting as a pdc for the domain. The
> user profiles work fine.
> 
> The error I keep getting is:
> 
> [2002/11/04 18:24:11, 0] tdb/tdbutil.c:tdb_log(475)
>   tdb(/var/cache/samba/printing.tdb): rec_free_read bad magic 0x42424242 at 
> offset=5300
> [2002/11/04 18:24:11, 0] tdb/tdbutil.c:tdb_log(475)
>   tdb(/var/cache/samba/printing.tdb): rec_read bad magic 0xd9fee666 at 
> offset=4212
> [2002/11/04 18:26:10, 0] tdb/tdbutil.c:tdb_log(475)
>   tdb(/var/cache/samba/printing.tdb): rec_free_read bad magic 0x42424242 at 
> offset=5300
> [2002/11/04 18:26:10, 0] tdb/tdbutil.c:tdb_log(475)
>   tdb(/var/cache/samba/printing.tdb): rec_read bad magic 0xd9fee666 at 
> offset=4212

Sounds like the printing.tdb got corupted.  Delete this file (it is a 
cache file anyways) and restart samba.




cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard           ------------------------- http://www.hp.com
 SAMBA Team                ---------------------- http://www.samba.org
 GnuPG Key                 ---- http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2        "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9ypQxIR7qMdg1EfYRAnK2AKDAdcz5IZAcXx7zLcbLRt9/WwHyUwCguYNK
6zWS15b9HlzkL+fjnocMOY4=
=J8pR
-----END PGP SIGNATURE-----




More information about the samba mailing list