From b82060b88f8f700097cc7a1c7fa3abd147fd1b4b Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 17 Jul 2007 12:51:43 +0000 Subject: r23931: Use the new tdb_validate_and_backup function instead of pure tdb_validate in winbindd cache validation. Michael (This used to be commit 2c2a1ff2c27861ca87afbd8bab39d257a69e9565) --- source3/nsswitch/winbindd_cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index 8c4ce9c42e..b432d78936 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -3300,8 +3300,8 @@ int winbindd_validate_cache(void) } tdb_close(tdb); - ret = tdb_validate(lock_path("winbindd_cache.tdb"), - cache_traverse_validate_fn); + ret = tdb_validate_and_backup(lock_path("winbindd_cache.tdb"), + cache_traverse_validate_fn); if (ret != 0) { DEBUG(10, ("winbindd_validate_cache: validation not successful.\n")); -- cgit