s3: use TDB_INCOMPATIBLE_HASH (the jenkins hash) on all TDB_CLEAR_IF_FIRST tdb's.
[obnox/samba-ctdb.git] / source3 / utils / net_serverid.c
index a549125856ebcd8d131add8fa7ee2a5409c47343..d625c519e25ce388d8637ca34d814245405c5c52 100644 (file)
@@ -125,7 +125,7 @@ static int net_serverid_wipedbs(struct net_context *c, int argc,
        connections_forall(net_serverid_wipedbs_conn, NULL);
 
        db = db_open(NULL, lock_path("sessionid.tdb"), 0,
-                    TDB_CLEAR_IF_FIRST, O_RDONLY, 0644);
+                    TDB_CLEAR_IF_FIRST|TDB_INCOMPATIBLE_HASH, O_RDONLY, 0644);
        if (db == NULL) {
                d_fprintf(stderr, "%s not initialised\n", lock_path("sessionid.tdb"));
                return -1;