From cc50a92a07e864c3be6a895f2f7daaa426814d45 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 9 Oct 2010 13:25:10 +0200 Subject: [PATCH] Return proper PS_AUTHFAIL if we don't get the right SASL challenge. --- ntlmsubr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ntlmsubr.c b/ntlmsubr.c index 3684bf9e..f9d27330 100644 --- a/ntlmsubr.c +++ b/ntlmsubr.c @@ -34,6 +34,7 @@ int ntlm_helper(int sock, struct query *ctl, const char *proto) if (outlevel >= O_VERBOSE) { report(stdout, GT_("Warning: received malformed challenge to \"AUTH(ENTICATE) NTLM\"!\n")); } + result = PS_AUTHFAIL; goto cancelfail; } -- 2.43.2