diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-02-28 17:43:23 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-02-28 17:43:23 +0000 |
commit | 5046ae9a670b7f0fee4ab493c5f9973807e4358b (patch) | |
tree | 529c4cf7c242ea50a122e0e895d5a222e127cf40 /source3 | |
parent | df43f3d41009f170295f93f6d6df1b6e84077616 (diff) | |
download | samba-5046ae9a670b7f0fee4ab493c5f9973807e4358b.tar.gz samba-5046ae9a670b7f0fee4ab493c5f9973807e4358b.tar.bz2 samba-5046ae9a670b7f0fee4ab493c5f9973807e4358b.zip |
enable locking on the idmap database to make it safe to dump/restore
it externally while winbindd is running
(This used to be commit cd3a7466dbf4491aba34197cd6f3cc4167c0c660)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/winbindd_idmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_idmap.c b/source3/nsswitch/winbindd_idmap.c index 977148ad6a..c94b2b6053 100644 --- a/source3/nsswitch/winbindd_idmap.c +++ b/source3/nsswitch/winbindd_idmap.c @@ -306,7 +306,7 @@ BOOL winbindd_idmap_init(void) /* Open tdb cache */ if (!(idmap_tdb = tdb_open_log(lock_path("winbindd_idmap.tdb"), 0, - TDB_NOLOCK, O_RDWR | O_CREAT, 0600))) { + TDB_DEFAULT, O_RDWR | O_CREAT, 0600))) { DEBUG(0, ("Unable to open idmap database\n")); return False; } |