subobj.LDAPMODULE = "entryUUID";
subobj.LDAPMODULES = "objectguid";
subobj.EXTENSIBLEOBJECT = "# no objectClass: extensibleObject for local ldb";
+ subobj.ACI = "# no aci for local ldb";
return subobj;
}
'blank',
'ldap-base',
'ldap-backend=s',
- 'ldap-module=s');
+ 'ldap-module=s',
+ 'aci=s');
if (options == undefined) {
println("Failed to parse options");
--ldap-base output only an LDIF file, suitable for creating an LDAP baseDN
--ldap-backend LDAPSERVER LDAP server to use for this provision
--ldap-module= MODULE LDB mapping module to use for the LDAP backend
-
+ --aci= ACI An arbitary LDIF fragment, particularly useful to loading a backend ACI value into a target LDAP server
You must provide at least a realm and domain
");
var key = strupper(join("", split("-", r)));
subobj[key] = options[r];
}
+if (options["aci"] != undefined) {
+ println("set ACI: " + subobj["ACI"]);
+}
if (options["ldap-backend"] != undefined) {
subobj["LDAPMODULES"] = subobj["LDAPMODULE"] + ",paged_searches";