diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-03-15 09:21:28 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-03-15 09:21:28 +0000 |
commit | 0800ce3269e0c7a38dba4a53a5e07aee916c75ec (patch) | |
tree | 3768c1051b541d4ff86ff52b11f61742489fdd6b /source3/nsswitch | |
parent | 04b22713d0ef29c136ec95f8d6cb642bc28f47f1 (diff) | |
download | samba-0800ce3269e0c7a38dba4a53a5e07aee916c75ec.tar.gz samba-0800ce3269e0c7a38dba4a53a5e07aee916c75ec.tar.bz2 samba-0800ce3269e0c7a38dba4a53a5e07aee916c75ec.zip |
enable locking on the winbindd cache tdb so it can be backed up and
manipulated externally
(This used to be commit 1ad1a025b3fe5aeff5adf685f47c9cc05ef80e40)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")); |