s4-dsdb: Split samdb_get_ntds_obj_by_guid() out of samdb_is_rodc()
commit29a89f07aa7b167adea921fd583b3b93ae0695f9
authorAndrew Bartlett <abartlet@samba.org>
Wed, 25 Jan 2023 02:17:44 +0000 (25 15:17 +1300)
committerJule Anger <janger@samba.org>
Wed, 1 Feb 2023 16:30:11 +0000 (1 16:30 +0000)
tree72973c50e88ede5696650ed228f3e82c043a0abe
parent613d9b75499822be4a870fd78900922be779a638
s4-dsdb: Split samdb_get_ntds_obj_by_guid() out of samdb_is_rodc()

This will allow the logic here to be tighened up and shared
in the next few commits.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit d5a2af3feae98057ba29de444d308d499d633941)
source4/dsdb/common/util.c