1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

rpmd: Add a TODO regarding the additional work performed

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Garming Sam 2016-09-08 14:46:06 +12:00 committed by Garming Sam
parent d6a16b4d7f
commit 434bf4a5b5

View File

@ -2600,6 +2600,16 @@ static int replmd_modify_handle_linked_attribs(struct ldb_module *module,
return LDB_SUCCESS; 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, ret = dsdb_module_search_dn(module, msg, &res, msg->dn, NULL,
DSDB_FLAG_NEXT_MODULE | DSDB_FLAG_NEXT_MODULE |
DSDB_SEARCH_SHOW_RECYCLED | DSDB_SEARCH_SHOW_RECYCLED |