From 0800ce3269e0c7a38dba4a53a5e07aee916c75ec Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 15 Mar 2002 09:21:28 +0000 Subject: enable locking on the winbindd cache tdb so it can be backed up and manipulated externally (This used to be commit 1ad1a025b3fe5aeff5adf685f47c9cc05ef80e40) --- source3/nsswitch/winbindd_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index 999b5a5169..230d2b88b8 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -49,7 +49,7 @@ void wcache_flush_cache(void) if (opt_nocache) return; wcache->tdb = tdb_open_log(lock_path("winbindd_cache.tdb"), 5000, - TDB_NOLOCK, O_RDWR | O_CREAT | O_TRUNC, 0600); + TDB_DEFAULT, O_RDWR | O_CREAT | O_TRUNC, 0600); if (!wcache->tdb) { DEBUG(0,("Failed to open winbindd_cache.tdb!\n")); -- cgit