git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ldb: Permit desactivation of autocomit for every ldb_xxx_ctrl function
[metze/samba/wip.git]
/
lib
/
ldb
/
tools
/
ldbadd.c
diff --git
a/lib/ldb/tools/ldbadd.c
b/lib/ldb/tools/ldbadd.c
index 47fd261841642cff3841b51d75349593ddff4144..a073f519ed5732350e3862fe00bf4ec2b2bcadce 100644
(file)
--- 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),