summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-08-31 10:30:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:26 -0500
commite5533200ce30b62e199a5d7ba0368fb3e3d9a750 (patch)
treef108d36dc29cc2dc0665a537ac3d7b3552b794e9
parent464227599ef62818796df24a175c4843d33f768f (diff)
downloadsamba-e5533200ce30b62e199a5d7ba0368fb3e3d9a750.tar.gz
samba-e5533200ce30b62e199a5d7ba0368fb3e3d9a750.tar.bz2
samba-e5533200ce30b62e199a5d7ba0368fb3e3d9a750.zip
r24829: Make use of a variable, that is available... :-)
(This used to be commit 90626652084c2ada6b2eb041db652720c03a1c3b)
-rw-r--r--source3/nsswitch/winbindd_cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index dc729bebe4..eb79e281cd 100644
--- a/source3/nsswitch/winbindd_cache.c
+++ b/source3/nsswitch/winbindd_cache.c
@@ -3303,8 +3303,7 @@ int winbindd_validate_cache(void)
}
tdb_close(tdb);
- ret = tdb_validate_and_backup(lock_path("winbindd_cache.tdb"),
- cache_traverse_validate_fn);
+ ret = tdb_validate_and_backup(tdb_path, cache_traverse_validate_fn);
if (ret != 0) {
DEBUG(10, ("winbindd_validate_cache: validation not successful.\n"));