summaryrefslogtreecommitdiff
path: root/testprogs/ejs/minschema.js
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-08-15 20:47:52 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-08-15 20:47:52 +1000
commitf1df6744f1df1c012fbe57d83fcdfd3060a683c3 (patch)
treef007f39c87320d71bfe27928422003a6d7a56d69 /testprogs/ejs/minschema.js
parentac503b140d6d69b6341be2e80ba535d7cfc7a73d (diff)
parent4bdb752cc51c9f41859f1a43bf5721ae616fa230 (diff)
downloadsamba-f1df6744f1df1c012fbe57d83fcdfd3060a683c3.tar.gz
samba-f1df6744f1df1c012fbe57d83fcdfd3060a683c3.tar.bz2
samba-f1df6744f1df1c012fbe57d83fcdfd3060a683c3.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 3731f7eaea6e5ed89d24e383dae0531cb58d77dc)
Diffstat (limited to 'testprogs/ejs/minschema.js')
-rwxr-xr-xtestprogs/ejs/minschema.js41
1 files changed, 1 insertions, 40 deletions
diff --git a/testprogs/ejs/minschema.js b/testprogs/ejs/minschema.js
index 5f873dd6c4..f088501c1d 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);
}