tdb question

tridge at tridge at
Thu Jan 31 23:52:12 GMT 2008


 > If you don't need the old processes to see the new db "under
 > construction" as it were, then just write out a new tdb, delete
 > the old file and signal the old processes to switch over.

No, much better to use a transaction:

  tdb_store(tdb, .....); /* write all your new records */

No need to signal processes to switch over. 

Cheers, Tridge

More information about the samba-technical mailing list