ldb-samba: Add new extended match rule DSDB_MATCH_FOR_EXPUNGE
authorAndrew Bartlett <abartlet@samba.org>
Mon, 29 Aug 2016 06:20:18 +0000 (18:20 +1200)
committerGarming Sam <garming@samba.org>
Thu, 1 Sep 2016 03:49:14 +0000 (05:49 +0200)
commiteb1cb175980a87b8a7cbd765783af33e4a7d6017
tree06017daa0af2d4f1547165ae4b79ba3bbe91cbcc
parent9142a01bb55a09e836c70d15fe420fb2599aec6f
ldb-samba: Add new extended match rule DSDB_MATCH_FOR_EXPUNGE

This allows us to find links that need to be expunged
without passing the whole DB up in the search response.

While each message still needs to be examined, this code
only has to do memory allocation for entries with links

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb-samba/ldb_matching_rules.c
lib/ldb-samba/ldb_matching_rules.h
source4/setup/schema_samba4.ldif