diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-01-24 14:28:25 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-01-24 14:28:25 +1100 |
commit | a2d7a3b627842b70cfe2aa8318ce5b7353989261 (patch) | |
tree | 4886150b57b1104f37edeef37aea7c510320a125 /source4/dsdb | |
parent | 1557e7b930b95fa5309390c46f72e14628447703 (diff) | |
download | samba-a2d7a3b627842b70cfe2aa8318ce5b7353989261.tar.gz samba-a2d7a3b627842b70cfe2aa8318ce5b7353989261.tar.bz2 samba-a2d7a3b627842b70cfe2aa8318ce5b7353989261.zip |
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)
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index a21cf250cb..5100b7cb7c 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -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 */ |