diff options
-rw-r--r-- | source4/lib/ldb/tools/ldbadd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/tools/ldbadd.c b/source4/lib/ldb/tools/ldbadd.c index 7794b9de39..5be3b7fc75 100644 --- a/source4/lib/ldb/tools/ldbadd.c +++ b/source4/lib/ldb/tools/ldbadd.c @@ -71,6 +71,8 @@ static int process_file(struct ldb_context *ldb, FILE *f) break; } + ldif->msg = ldb_msg_canonicalize(ldb, ldif->msg); + ret = ldb_add(ldb, ldif->msg); if (ret != 0) { fprintf(stderr, "ERR: \"%s\" on DN %s\n", |