Support for getting the tdbload right

Matthieu Patou mat at
Tue Sep 21 20:42:14 MDT 2010

  Hi Rusty,

I come to you to see if you can help me to fix the tdbload (that is 
currently called tdbundump) program.

I have some difficulties finding what's wrong as I'm not familiar of the 
file format of tdb and the dump of a tdb.

The attached patch compiles but when trying to "undump" (load) a dump in 
a tdb output this:

cat s| ./bin/tdbundump /tmp/test
Expected char 0x20, saw 0x28

I attached the dump of an samba4 ldb that produce this message (it's the 
dump of the schema).


Matthieu Patou
Samba Team

More information about the samba-technical mailing list