Author: abartlet Date: 2006-09-04 00:27:37 +0000 (Mon, 04 Sep 2006) New Revision: 18022
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18022 Log: Increment number of records converted, and print number of records skipped. Andrew Bartlett Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ad2oLschema.c Changeset: Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ad2oLschema.c =================================================================== --- branches/SAMBA_4_0/source/lib/ldb/tools/ad2oLschema.c 2006-09-04 00:26:10 UTC (rev 18021) +++ branches/SAMBA_4_0/source/lib/ldb/tools/ad2oLschema.c 2006-09-04 00:27:37 UTC (rev 18022) @@ -409,6 +409,7 @@ fprintf(out, "%s\n", schema_entry); break; } + ret.count++; } ldb_ret = fetch_objectclass_schema(ldb, schemadn, mem_ctx, &objectclasses_res); @@ -566,6 +567,7 @@ fprintf(out, "%s\n", schema_entry); break; } + ret.count++; } return ret; @@ -620,7 +622,7 @@ 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; }