mirror of
https://github.com/samba-team/samba.git
synced 2025-08-24 21:49:29 +03:00
s4-dsdb: Replace any existing lastKnownParent attribute during delete
This allows a lastKnownParent from LostAndFound to be replaced. Andrew Bartlett
This commit is contained in:
@ -2987,7 +2987,7 @@ static int replmd_delete(struct ldb_module *module, struct ldb_request *req)
|
||||
talloc_free(tmp_ctx);
|
||||
return ret;
|
||||
}
|
||||
msg->elements[el_count++].flags = LDB_FLAG_MOD_ADD;
|
||||
msg->elements[el_count++].flags = LDB_FLAG_MOD_REPLACE;
|
||||
}
|
||||
|
||||
switch (next_deletion_state){
|
||||
|
Reference in New Issue
Block a user