Because tdb isn't CPU-neutral (or at least, the version I had wasn't) and I wanted to move a tdb between architectures, I wrote a utility "tdbundump" which takes tdbdump output as input and injects it into a given tdb. Feel free to add it to the tdb source distribution if it seems useful.
Created attachment 4838 [details]
Created attachment 4839 [details]
Wow, very cool.... tdb these days should be cpu-neutral, but nevertheless that utility is certainly very useful!
I'll look at it more closely tomorrow.
All yours now.
I really like this patch :-). Need to do some testing on it but I think we can have this for 3.5.0.
Any news on this "bug" should we integrate it as experimental in our samba tree ?
fixed in 66731461a6882faf5ec6ba23944e4d4b357125b7 which introduced a version of this as "tdbrestore".