diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-10-19 12:03:50 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-10-21 22:43:54 +1100 |
commit | da7c778741ad51bd03af068faedb2204e2a79af5 (patch) | |
tree | a20a71ab26ca8ad6636f42bc717db9ed91311b33 /source4/dsdb/samdb/ldb_modules/repl_meta_data.c | |
parent | c106017f9ae20c5b58a960b83f50f0d95b78868d (diff) | |
download | samba-da7c778741ad51bd03af068faedb2204e2a79af5.tar.gz samba-da7c778741ad51bd03af068faedb2204e2a79af5.tar.bz2 samba-da7c778741ad51bd03af068faedb2204e2a79af5.zip |
s4:dsdb Remove default instanceType from repl_meta_data
This is no longer required, as the instancetype module is now above
repl_meta_data.
Andrew Bartlett
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/repl_meta_data.c')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index 2dd8b5c303..90ff238aa2 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -500,15 +500,6 @@ static int replmd_add(struct ldb_module *module, struct ldb_request *req) ldb_msg_remove_attr(msg, "uSNChanged"); ldb_msg_remove_attr(msg, "replPropertyMetaData"); - if (!ldb_msg_find_element(req->op.add.message, "instanceType")) { - ret = ldb_msg_add_fmt(msg, "instanceType", "%u", INSTANCE_TYPE_WRITE); - if (ret != LDB_SUCCESS) { - ldb_oom(ldb); - talloc_free(ac); - return ret; - } - } - /* * readd replicated attributes */ |