summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nsswitch/winbindd_cache.c4
1 files changed, 2 insertions, 2 deletions
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"));