s4-dsdb: Split samdb_get_ntds_obj_by_guid() out of samdb_is_rodc()
commitd5a2af3feae98057ba29de444d308d499d633941
authorAndrew Bartlett <abartlet@samba.org>
Wed, 25 Jan 2023 02:17:44 +0000 (25 15:17 +1300)
committerStefan Metzmacher <metze@samba.org>
Tue, 31 Jan 2023 12:50:33 +0000 (31 12:50 +0000)
tree8f750eebd0738b50612e7087f51e9f0b5e627d0c
parentcbe18353d8d7b2a35b965e4fc8c895ac497e67e8
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>
source4/dsdb/common/util.c