ldb: Permit desactivation of autocomit for every ldb_xxx_ctrl function
[metze/samba/wip.git] / lib / ldb / tools / ldbadd.c
index 47fd261841642cff3841b51d75349593ddff4144..a073f519ed5732350e3862fe00bf4ec2b2bcadce 100644 (file)
@@ -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),