1
0
mirror of https://github.com/samba-team/samba.git synced 2025-09-18 09:44:19 +03:00

enable locking on the winbindd cache tdb so it can be backed up and

manipulated externally
This commit is contained in:
Andrew Tridgell
-
parent d6a4a10f58
commit 1ad1a025b3

View File

@@ -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"));