[Samba] tdb_rec_read bad magic

mourik jan heupink - merit heupink at merit.unu.edu
Tue Jul 22 08:05:14 MDT 2014

Hi Michał,

We were having that too on our dc1. See a thread "samba4 replication 
issues | sam.ldb inconsistency" that took place here, during the last 
weeks. It was not a very nice experience.

However, we had two dc's, and our second dc was still healthy. I was 
able to add a third DC (dc3).

I think I wrote on list what I did. Our dc1 never recovered.

I hope you have multiple dc's as well?


On 7/22/2014 13:36, Michał Półrolniczak wrote:
> using samba 4.1.4
> syslog have alot of those in log:
> [2014/07/22 13:24:12.22351, 0]
> ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
> ldb: ltdb:
> tdb(/usr/local/samba/private/sam.ldb.d/DC=DOMAINDNSZONES,DC=MYDOMAIN,DC=LOCAL.ldb):
> tdb_rec_read bad magic 0x0 at offset=516897176
> Anything I can do to fix it?

More information about the samba mailing list