summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools/ad2oLschema.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/tools/ad2oLschema.c')
-rw-r--r--source4/lib/ldb/tools/ad2oLschema.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/ad2oLschema.c b/source4/lib/ldb/tools/ad2oLschema.c
index 9bebcde7e0..af9431f0bf 100644
--- a/source4/lib/ldb/tools/ad2oLschema.c
+++ b/source4/lib/ldb/tools/ad2oLschema.c
@@ -409,6 +409,7 @@ static struct schema_conv process_convert(struct ldb_context *ldb, enum convert_
fprintf(out, "%s\n", schema_entry);
break;
}
+ ret.count++;
}
ldb_ret = fetch_objectclass_schema(ldb, schemadn, mem_ctx, &objectclasses_res);
@@ -566,6 +567,7 @@ static struct schema_conv process_convert(struct ldb_context *ldb, enum convert_
fprintf(out, "%s\n", schema_entry);
break;
}
+ ret.count++;
}
return ret;
@@ -620,7 +622,7 @@ static struct schema_conv process_convert(struct ldb_context *ldb, enum convert_
fclose(in);
fclose(out);
- printf("Converted %d records with %d failures\n", ret.count, ret.failures);
+ printf("Converted %d records (skipped %d) with %d failures\n", ret.count, ret.skipped, ret.failures);
return 0;
}