git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca63a99
)
r23931: Use the new tdb_validate_and_backup function instead of pure tdb_validate
author
Michael Adam
<obnox@samba.org>
Tue, 17 Jul 2007 12:51:43 +0000
(12:51 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:28:46 +0000
(12:28 -0500)
in winbindd cache validation.
Michael
source/nsswitch/winbindd_cache.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_cache.c
b/source/nsswitch/winbindd_cache.c
index 8c4ce9c42eb0007f8907f9b2fdb45f15ebf7ea76..b432d789362e1b3395fad9371698da7e48995ded 100644
(file)
--- a/
source/nsswitch/winbindd_cache.c
+++ b/
source/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"));