dsdb: Use DSDB_SEARCH_SHOW_EXTENDED_DN when searching for the local replicated object
authorAndrew Bartlett <abartlet@samba.org>
Thu, 11 Nov 2021 23:44:44 +0000 (12:44 +1300)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Dec 2021 09:59:17 +0000 (09:59 +0000)
commitcd9783148b8bdbbf9b1e43d2a7a7e3d5a6a0420e
tree6748e3d4b823b0cd942e2a1d674d5e0ce28d2238
parent5db0cb09e94ad249282b94dea5f21201ed3a1c95
dsdb: Use DSDB_SEARCH_SHOW_EXTENDED_DN when searching for the local replicated object

This may allow further processing when the DN normalisation has changed
which changes the indexing, such as seen after fixes for bug 14656.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14656
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14902

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit f621317e3b25a8925ab6e448068264488a0a47c7)
source4/dsdb/samdb/ldb_modules/operational.c
source4/dsdb/samdb/ldb_modules/repl_meta_data.c