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)
committerPavel Filipenský <pfilipensky@samba.org>
Wed, 18 Jan 2023 12:00:52 +0000 (13:00 +0100)
commita29dc084da799a28e3165373234f003b3ed7ec2e
treea20cff72b77fa031678472172fd707af72985218
parent6d6cdc3a8d9f09165e55565a19b9c7944e01d6a5
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