CVE-2022-38023 s3:rpc_server/netlogon: make sure all _netr_LogonSamLogon*() calls...
commit7f4f9a3277b28b85c5d280775f9f3571c77f1c07
authorSamuel Cabrero <scabrero@suse.de>
Thu, 22 Dec 2022 08:29:04 +0000 (22 09:29 +0100)
committerJule Anger <janger@samba.org>
Mon, 23 Jan 2023 10:01:59 +0000 (23 10:01 +0000)
tree0a5daf39fee3e703944f4a9a2f1a1bc23ed532b3
parent080ff2cd28481f39552571c30b23ec3d08811b7b
CVE-2022-38023 s3:rpc_server/netlogon: make sure all _netr_LogonSamLogon*() calls go through dcesrv_netr_check_schannel()

Some checks are also required for _netr_LogonSamLogonEx().

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

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit ca07f4340ce58a7e940a1123888b7409176412f7)
source3/rpc_server/netlogon/srv_netlog_nt.c