mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Use the repl_meta_data module by default.
This means that, except when we back onto LDAP, when it will be replaced with the mapping backend, we will keep this codepath tested. Andrew Bartlett (This used to be commit e8fb5da5a18c1c3bd788b1ab3f814ffb847b00fd)
This commit is contained in:
parent
1557e7b930
commit
a2d7a3b627
@ -391,6 +391,10 @@ static int replmd_add_originating(struct ldb_module *module,
|
||||
m->originating_usn = seq_num;
|
||||
m->local_usn = seq_num;
|
||||
ni++;
|
||||
|
||||
if (ldb_attr_cmp(e->name, ldb_dn_get_rdn_name(msg->dn))) {
|
||||
rdn_attr = sa;
|
||||
}
|
||||
}
|
||||
|
||||
/* fix meta data count */
|
||||
|
@ -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";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user