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>
Tue, 9 Nov 2021 19:45:34 +0000 (19:45 +0000)
commita9ac1f919127cf91a08dd3c20bbeda27af980aef
tree7d21bd4578d5cd45c8804b8f4cee0d1f583cdae2
parent158765d1f33daf19396cb063473c3a132b15a7fc
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