Use the repl_meta_data module by default.
[samba.git] / source4 / scripting / libjs / provision.js
index 5c4ff6877f23e1a17b439b5f4848d2654d92eb6c..b782d948be2e4607968f99bbb2f9f24c90a5eede 100644 (file)
@@ -693,6 +693,8 @@ function provision(subobj, message, blank, paths, session_info, credentials, lda
 
        samdb.set_domain_sid(subobj.DOMAINSID);
 
+       samdb.set_ntds_invocationId(subobj.INVOCATIONID);
+
        var load_schema_ok = load_schema(subobj, message, samdb);
        assert(load_schema_ok.is_ok);
 
@@ -1010,9 +1012,9 @@ function provision_guess()
        subobj.DOMAINDN_MOD = "pdc_fsmo,password_hash,instancetype";
        subobj.CONFIGDN_MOD = "naming_fsmo,instancetype";
        subobj.SCHEMADN_MOD = "schema_fsmo,instancetype";
-       subobj.DOMAINDN_MOD2 = ",objectguid";
-       subobj.CONFIGDN_MOD2 = ",objectguid";
-       subobj.SCHEMADN_MOD2 = ",objectguid";
+       subobj.DOMAINDN_MOD2 = ",repl_meta_data";
+       subobj.CONFIGDN_MOD2 = ",repl_meta_data";
+       subobj.SCHEMADN_MOD2 = ",repl_meta_data";
 
        subobj.ACI              = "# no aci for local ldb";