rpmd: Add a TODO regarding the additional work performed
authorGarming Sam <garming@catalyst.net.nz>
Thu, 8 Sep 2016 02:46:06 +0000 (14:46 +1200)
committerGarming Sam <garming@samba.org>
Thu, 8 Sep 2016 08:46:08 +0000 (10:46 +0200)
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c

index 2aae797eb5c0b80e3f11363e9772dd4c97c7f39b..44fbbf46d766fe5bef9fba610761ebdf479e60ce 100644 (file)
@@ -2600,6 +2600,16 @@ static int replmd_modify_handle_linked_attribs(struct ldb_module *module,
                return LDB_SUCCESS;
        }
 
+       /*
+        * TODO:
+        *
+        * We should restrict this to the intersection of the list of
+        * linked attributes in the schema and the list of attributes
+        * being modified.
+        *
+        * This will help performance a little, as otherwise we have
+        * to allocate the entire object value-by-value.
+        */
        ret = dsdb_module_search_dn(module, msg, &res, msg->dn, NULL,
                                    DSDB_FLAG_NEXT_MODULE |
                                    DSDB_SEARCH_SHOW_RECYCLED |