summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-07-17 12:51:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:46 -0500
commitb82060b88f8f700097cc7a1c7fa3abd147fd1b4b (patch)
tree3d214bf06ea20ea7575d2597d8d465c6e0e0ebaf /source3/nsswitch
parent7291251efb6669c8895440e05edbb4967f0a4632 (diff)
downloadsamba-b82060b88f8f700097cc7a1c7fa3abd147fd1b4b.tar.gz
samba-b82060b88f8f700097cc7a1c7fa3abd147fd1b4b.tar.bz2
samba-b82060b88f8f700097cc7a1c7fa3abd147fd1b4b.zip
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)
Diffstat (limited to 'source3/nsswitch')
-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"));