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 13:38:14 +0000 (13:38 +0000)
commitce1186e06ed2581a29af794eb66405a4efe26b71
treeb93c7f5158e40e71870a7dbd5ea36487c9050bd9
parentb0d67dc3d42b81e5e35da26a333c4fcd67baab1f
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