summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/groupdb/mapping_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/mapping_tdb.c b/source3/groupdb/mapping_tdb.c
index ffd7d20ab8..c6d9735e11 100644
--- a/source3/groupdb/mapping_tdb.c
+++ b/source3/groupdb/mapping_tdb.c
@@ -143,7 +143,7 @@ static bool add_mapping_entry(GROUP_MAP *map, int flag)
status = dbwrap_trans_store(
db, string_term_tdb_data(key),
- make_tdb_data((uint8_t *)buf, len), flag);
+ make_tdb_data((uint8_t *)buf, len), TDB_REPLACE);
TALLOC_FREE(key);