summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-12-03 05:51:04 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:24 +0100
commita2a4aba5fd7a2ec0a7131f32c8bccd5dbe04e1f1 (patch)
treebbb9e7a0afd6c981287eb7ef97f978b926130d9e /source4/scripting/libjs
parentcd1f19d7d306e59df2d7b5db16d317206408babc (diff)
downloadsamba-a2a4aba5fd7a2ec0a7131f32c8bccd5dbe04e1f1.tar.gz
samba-a2a4aba5fd7a2ec0a7131f32c8bccd5dbe04e1f1.tar.bz2
samba-a2a4aba5fd7a2ec0a7131f32c8bccd5dbe04e1f1.zip
r26245: Make it easier to handle the LDAP backend, with it's differing needs,
by seperating the modules list into parts. That way, we can remove the modules that the backend will provide. Andrew Bartlett (This used to be commit d67e5c7896f6d3064298897ae4d3204498824b06)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r--source4/scripting/libjs/provision.js34
1 files changed, 18 insertions, 16 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index 08407418d3..0a064de68d 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -977,23 +977,25 @@ function provision_guess()
// module when expanding the objectclass list)
// - partition must be last
// - each partition has its own module list then
- modules_list = new Array("rootdse",
- "paged_results",
- "ranged_results",
- "server_sort",
- "extended_dn",
- "asq",
- "samldb",
- "rdn_name",
- "objectclass",
- "kludge_acl",
- "operational",
- "subtree_rename",
- "subtree_delete",
- "linked_attributes",
- "show_deleted",
- "partition");
+ var modules_list = new Array("rootdse",
+ "paged_results",
+ "ranged_results",
+ "server_sort",
+ "extended_dn",
+ "asq",
+ "samldb",
+ "rdn_name",
+ "objectclass",
+ "kludge_acl",
+ "operational");
+ var tdb_modules_list = new Array("subtree_rename",
+ "subtree_delete",
+ "linked_attributes");
+ var modules_list2 = new Array("show_deleted",
+ "partition");
subobj.MODULES_LIST = join(",", modules_list);
+ subobj.TDB_MODULES_LIST = "," + join(",", tdb_modules_list);
+ subobj.MODULES_LIST2 = join(",", modules_list2);
subobj.DOMAINDN_LDB = "users.ldb";
subobj.CONFIGDN_LDB = "configuration.ldb";
subobj.SCHEMADN_LDB = "schema.ldb";