1
0
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:
Andrew Bartlett
2012-07-31 10:47:57 +10:00
parent fcb54ca25f
commit 6d1b8ff8a7

View File

@ -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){