summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd_idmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/nsswitch/winbindd_idmap.c')
-rw-r--r--source/nsswitch/winbindd_idmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_idmap.c b/source/nsswitch/winbindd_idmap.c
index 11f7b8aae7a..891b79c2758 100644
--- a/source/nsswitch/winbindd_idmap.c
+++ b/source/nsswitch/winbindd_idmap.c
@@ -210,7 +210,7 @@ BOOL winbindd_idmap_init(void)
{
/* Open tdb cache */
- if (!(idmap_tdb = tdb_open(lock_path("winbindd_idmap.tdb"), 0,
+ if (!(idmap_tdb = tdb_open_log(lock_path("winbindd_idmap.tdb"), 0,
TDB_NOLOCK | TDB_NOMMAP,
O_RDWR | O_CREAT, 0600))) {
DEBUG(0, ("Unable to open idmap database\n"));