diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-08-20 15:50:58 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-08-20 15:50:58 +1000 |
commit | f96f623854d3cd8bdaacd25979618f1cb53b8f93 (patch) | |
tree | 6cac92c2fdcc518a02d83cf1d44b5847113e398f /testprogs/ejs | |
parent | 7e1c62f8b64c9e42018bea33557af31fb7fa7414 (diff) | |
parent | b33f4541f6157163f9b22af8607ecefe3953638f (diff) | |
download | samba-f96f623854d3cd8bdaacd25979618f1cb53b8f93.tar.gz samba-f96f623854d3cd8bdaacd25979618f1cb53b8f93.tar.xz samba-f96f623854d3cd8bdaacd25979618f1cb53b8f93.zip |
Merge commit 'origin/v4-0-test' into v4-0-test
(This used to be commit 3bdc906eb63a494f0d8478c13f8330828aa2f725)
Diffstat (limited to 'testprogs/ejs')
-rwxr-xr-x | testprogs/ejs/minschema.js | 41 |
1 files changed, 1 insertions, 40 deletions
diff --git a/testprogs/ejs/minschema.js b/testprogs/ejs/minschema.js index 5f873dd6c4a..f088501c1d5 100755 --- a/testprogs/ejs/minschema.js +++ b/testprogs/ejs/minschema.js @@ -14,9 +14,7 @@ var options = GetOptions(ARGV, "POPT_COMMON_CREDENTIALS", "verbose", "classes", - "attributes", - "subschema", - "subschema-auto"); + "attributes"); if (options == undefined) { println("Failed to parse options"); return -1; @@ -25,8 +23,6 @@ verbose = options["verbose"]; dump_all = "yes"; dump_classes = options["classes"]; dump_attributes = options["attributes"]; -dump_subschema = options["subschema"]; -dump_subschema_auto = options["subschema-auto"]; if (dump_classes != undefined) { dump_all = undefined; @@ -34,18 +30,9 @@ if (dump_classes != undefined) { if (dump_attributes != undefined) { dump_all = undefined; } -if (dump_subschema != undefined) { - dump_all = undefined; -} -if (dump_subschema_auto != undefined) { - dump_all = undefined; - dump_subschema = "yes"; -} if (dump_all != undefined) { dump_classes = "yes"; dump_attributes = "yes"; - dump_subschema = "yes"; - dump_subschema_auto = "yes"; } if (options.ARGV.length != 2) { @@ -697,28 +684,6 @@ function write_aggregate_attribute(attrib) { } -/* - write the aggregate record -*/ -function write_aggregate() { - printf("dn: CN=Aggregate,${SCHEMADN}\n"); - print("objectClass: top -objectClass: subSchema -"); - if (dump_subschema_auto == undefined) { - return; - } - - for (i in objectclasses) { - write_aggregate_objectclass(objectclasses[i]); - } - for (i in attributes) { - write_aggregate_attribute(attributes[i]); - } - for (i in objectclasses) { - write_aggregate_ditcontentrule(objectclasses[i]); - } -} /* load a list from a file @@ -813,10 +778,6 @@ if (dump_attributes != undefined) { if (dump_classes != undefined) { write_ldif(objectclasses, class_attrs); } -if (dump_subschema != undefined) { - write_aggregate(); -} - if (verbose == undefined) { exit(0); } |