bug? non-default hash sizes in tdb

jra at dp.samba.org jra at dp.samba.org
Mon Mar 10 17:26:11 GMT 2003


On Mon, Mar 10, 2003 at 07:47:29PM +1100, Martin Pool wrote:
> tdb (all branches) has the behaviour that when opening an existing
> database, if you don't specify the right hash size, the open will fail
> with EIO.  
> 
> This means for example that tdbtool can't open printing tdbs after
> jra's change to increase their has size to 5000.
> 
> Wouldn't it be reasonable to ignore the hash_size parameter to
> tdb_open_ex when opening an existing tdb, and just use whatever is in
> the header?

Yes, this was on my list of enhancements to add.... 

Jeremy.


More information about the samba-technical mailing list