FIX8 if (a->auth_type != auth_type) => auth_invalid
authorStefan Metzmacher <metze@samba.org>
Tue, 17 Nov 2020 13:00:34 +0000 (14:00 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 8 Feb 2024 15:39:19 +0000 (16:39 +0100)
librpc/rpc/dcesrv_auth.c

index bc3658b840b2e05b1af4c6fcee03a04966df648b..aec6182ef0acff0f0805bcdef770edd0939b8eb7 100644 (file)
@@ -471,6 +471,7 @@ bool dcesrv_auth_prepare_auth3(struct dcesrv_call_state *call)
        }
 
        if (auth->auth_invalid) {
+               call->fault_code = DCERPC_NCA_S_PROTO_ERROR;
                return false;
        }