summaryrefslogtreecommitdiff
path: root/lib/ldb/tools/ldbadd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ldb/tools/ldbadd.c')
-rw-r--r--lib/ldb/tools/ldbadd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/tools/ldbadd.c b/lib/ldb/tools/ldbadd.c
index 47fd261841..a073f519ed 100644
--- a/lib/ldb/tools/ldbadd.c
+++ b/lib/ldb/tools/ldbadd.c
@@ -79,7 +79,7 @@ static int process_file(struct ldb_context *ldb, FILE *f, unsigned int *count)
continue;
}
- ret = ldb_add_ctrl(ldb, ldif->msg,req_ctrls);
+ ret = ldb_add_ctrl(ldb, ldif->msg,req_ctrls, true);
if (ret != LDB_SUCCESS) {
fprintf(stderr, "ERR: %s : \"%s\" on DN %s\n",
ldb_strerror(ret), ldb_errstring(ldb),