CVE-2020-25718 dsdb: Bring sid_helper.c into common code as rodc_helper.c
authorAndrew Bartlett <abartlet@samba.org>
Fri, 1 Oct 2021 02:59:28 +0000 (15:59 +1300)
committerJule Anger <janger@samba.org>
Mon, 8 Nov 2021 09:52:12 +0000 (10:52 +0100)
commit4cb7155917e48fcdbb6c4d78e172010ce5255755
treea668ee3a656cf0ce9918ab82a11690b278e1af30
parenta12d50c533459d5d7b6e2343b16e92c2dac8ebf1
CVE-2020-25718 dsdb: Bring sid_helper.c into common code as rodc_helper.c

These common routines will assist the KDC to do the same access
checking as the RPC servers need to do regarding which accounts
a RODC can act with regard to.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
source4/dsdb/common/rodc_helper.c [moved from source4/rpc_server/common/sid_helper.c with 99% similarity]
source4/dsdb/wscript_build
source4/rpc_server/drsuapi/getncchanges.c
source4/rpc_server/netlogon/dcerpc_netlogon.c
source4/rpc_server/wscript_build