Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on all
commite1fce06c233afd77d1c32498e1c0cdab3011ccdf
authorJeremy Allison <jra@samba.org>
Mon, 27 Sep 2010 12:46:07 +0000 (27 05:46 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 30 Sep 2010 22:28:40 +0000 (30 15:28 -0700)
tree025c912c4eca30906d065dca6c592969575c4a2f
parent2c029eab80639452cab578db7a184d3958ed8125
Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on all
TDB_CLEAR_IF_FIRST tdb's. For tdb's like gencache where we open
without CLEAR_IF_FIRST and then with CLEAR_IF_FIRST if corrupt
this is still safe to use as if opening an existing tdb the new
hash will be ignored - it's only used on creating a new tdb not
opening an old one.

Jeremy.
17 files changed:
source3/lib/conn_tdb.c
source3/lib/g_lock.c
source3/lib/gencache.c
source3/lib/messages_local.c
source3/lib/serverid.c
source3/lib/sessionid_tdb.c
source3/libsmb/samlogon_cache.c
source3/libsmb/smb_share_modes.c
source3/libsmb/unexpected.c
source3/locking/brlock.c
source3/locking/locking.c
source3/nmbd/nmbd_winsserver.c
source3/smbd/notify_internal.c
source3/utils/dbwrap_torture.c
source3/utils/smbcontrol.c
source3/utils/status.c
source3/winbindd/winbindd_cache.c