From f2afdb61698c37389be286f9443471d4aeba49b8 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 4 Jun 2013 20:22:31 +1000 Subject: dsdb: Include MS-ADTS doc references on deleted object contstraints Signed-off-by: Andrew Bartlett Reviewed-by: Stefan Metzmacher --- source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source4/dsdb/samdb/ldb_modules') diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index 0bfdd42bf7..c8cdfecb93 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -3146,6 +3146,17 @@ static int replmd_delete_internals(struct ldb_module *module, struct ldb_request case OBJECT_RECYCLED: case OBJECT_TOMBSTONE: + /* + * MS-ADTS 3.1.1.5.5.1.1 Tombstone Requirements + * describes what must be removed from a tombstone + * object + * + * MS-ADTS 3.1.1.5.5.1.3 Recycled-Object Requirements + * describes what must be removed from a recycled + * object + * + */ + /* * we also mark it as recycled, meaning this object can't be * recovered (we are stripping its attributes). @@ -3223,6 +3234,11 @@ static int replmd_delete_internals(struct ldb_module *module, struct ldb_request break; case OBJECT_DELETED: + /* + * MS-ADTS 3.1.1.5.5.1.2 Deleted-Object Requirements + * describes what must be removed from a deleted + * object + */ ret = ldb_msg_add_empty(msg, "objectCategory", LDB_FLAG_MOD_REPLACE, NULL); if (ret != LDB_SUCCESS) { -- cgit