summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-06-04 20:22:31 +1000
committerStefan Metzmacher <metze@samba.org>2013-07-30 08:37:11 +0200
commitf2afdb61698c37389be286f9443471d4aeba49b8 (patch)
treed315444866a07251045bfbf9520b16a6f37056ab /source4/dsdb/samdb/ldb_modules
parenta9e565a5a4478f7b923f35311e170de2044ff848 (diff)
downloadsamba-f2afdb61698c37389be286f9443471d4aeba49b8.tar.gz
samba-f2afdb61698c37389be286f9443471d4aeba49b8.tar.bz2
samba-f2afdb61698c37389be286f9443471d4aeba49b8.zip
dsdb: Include MS-ADTS doc references on deleted object contstraints
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/repl_meta_data.c16
1 files changed, 16 insertions, 0 deletions
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
@@ -3147,6 +3147,17 @@ static int replmd_delete_internals(struct ldb_module *module, struct ldb_request
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).
* This is done only if we have this schema object of course ...
@@ -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) {