dsdb: Include MS-ADTS doc references on deleted object contstraints
authorAndrew Bartlett <abartlet@samba.org>
Tue, 4 Jun 2013 10:22:31 +0000 (20:22 +1000)
committerStefan Metzmacher <metze@samba.org>
Tue, 30 Jul 2013 06:37:11 +0000 (08:37 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c

index 0bfdd42bf7b631d1bcdad463a1b5d052afe5a20b..c8cdfecb93119149969915c392a55a8ffd190aed 100644 (file)
@@ -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) {