mirror of
https://github.com/samba-team/samba.git
synced 2025-03-22 02:50:28 +03:00
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>
This commit is contained in:
parent
0bf7f95273
commit
9f053d43de
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user