diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-12-21 21:28:04 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-01-02 08:16:53 +1100 |
commit | 9f053d43ded23bb72d4c10162a8c6a211831b068 (patch) | |
tree | 69a5afe5b90eda6b82dbfa605786def672470685 /source4 | |
parent | 0bf7f952735e848700122c9ced064d211831ba7c (diff) | |
download | samba-9f053d43ded23bb72d4c10162a8c6a211831b068.tar.gz samba-9f053d43ded23bb72d4c10162a8c6a211831b068.tar.bz2 samba-9f053d43ded23bb72d4c10162a8c6a211831b068.zip |
s4-drs: don't try to remove backlinks directly
backlinks need to be removed as a side effect of removing the forward
link
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index 9994b9566d..5bf43857cc 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -2327,12 +2327,13 @@ static int replmd_delete(struct ldb_module *module, struct ldb_request *req) continue; } - if (sa->linkID) { + if (sa->linkID && sa->linkID & 1) { ret = replmd_delete_remove_link(module, schema, old_dn, el, sa); if (ret != LDB_SUCCESS) { talloc_free(tmp_ctx); return LDB_ERR_OPERATIONS_ERROR; } + continue; } if (!sa->linkID && ldb_attr_in_list(preserved_attrs, el->name)) { |