s3: use TDB_INCOMPATIBLE_HASH (the jenkins hash) on all TDB_CLEAR_IF_FIRST tdb's.
[obnox/samba-ctdb.git] / source3 / libsmb / unexpected.c
index d123e24aa8ec6cabab9ed3083296e4073d23fffd..6dee594ed86ad51d0533263fe235253bda106825 100644 (file)
@@ -46,7 +46,7 @@ void unexpected_packet(struct packet_struct *p)
 
        if (!tdbd) {
                tdbd = tdb_open_log(lock_path("unexpected.tdb"), 0,
-                              TDB_CLEAR_IF_FIRST|TDB_DEFAULT,
+                              TDB_CLEAR_IF_FIRST|TDB_INCOMPATIBLE_HASH|TDB_DEFAULT,
                               O_RDWR | O_CREAT, 0644);
                if (!tdbd) {
                        DEBUG(0,("Failed to open unexpected.tdb\n"));