tdb_check fails with tdb read-only open.

Jeremy Allison jra at
Wed Jul 28 04:06:27 MDT 2010

Hi Rusty + tdb maintainers,

A recent Samba bug brought up a tdb bug - the tdb_check()
function doesn't cope with tdb databases opened read-only.

As tdb_check doesn't write to the tdb it's checking, then
it should support read-only tdb's.

Here's the patch, please review and if you're ok I'll
push (or you can :-).


More information about the samba-technical mailing list