From 5046ae9a670b7f0fee4ab493c5f9973807e4358b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 28 Feb 2002 17:43:23 +0000 Subject: 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) --- source3/nsswitch/winbindd_idmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch') 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; } -- cgit