summaryrefslogtreecommitdiff
path: root/lib/ldb/tools/ldbadd.c
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-03-30 01:24:07 -0700
committerMatthieu Patou <mat@samba.org>2012-03-30 11:59:09 +0200
commit40a4aea8918c2637703af03383f440d068820e48 (patch)
tree2484c3b27227f190b69e1ae94b66ede966bf3631 /lib/ldb/tools/ldbadd.c
parent5df1c115391f2d673d3dd2dfb89146ce77639d41 (diff)
downloadsamba-40a4aea8918c2637703af03383f440d068820e48.tar.gz
samba-40a4aea8918c2637703af03383f440d068820e48.tar.bz2
samba-40a4aea8918c2637703af03383f440d068820e48.zip
ldb: Permit desactivation of autocomit for every ldb_xxx_ctrl function
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Mar 30 11:59:09 CEST 2012 on sn-devel-104
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),