CVE-2022-38023 s4:rpc_server/netlogon: split out dcesrv_netr_check_schannel() function
authorStefan Metzmacher <metze@samba.org>
Wed, 30 Nov 2022 15:57:24 +0000 (16:57 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 13 Dec 2022 23:48:48 +0000 (00:48 +0100)
commit57986cad714cc2f738c7482208204ed4e18b1f19
treec9163ec2092e9e3de9bb6beda1f1184a20acb877
parent08b69ca61f747a74c5a6634d25ce35e43e145ecd
CVE-2022-38023 s4:rpc_server/netlogon: split out dcesrv_netr_check_schannel() function

This will allow us to reuse the function in other places.
As it will also get some additional checks soon.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit f43dc4f0bd60d4e127b714565147f82435aa4f07)
source4/rpc_server/netlogon/dcerpc_netlogon.c