From f48ceb510e1da79cbf9c0b05f31ed5e0f6747454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 4 Jun 2007 04:07:26 +0000 Subject: [PATCH] (digest ntlm): provide log entires by setting ret to an error. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20877 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kdc/digest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kdc/digest.c b/kdc/digest.c index 2cf3641cd..5a09a4524 100644 --- a/kdc/digest.c +++ b/kdc/digest.c @@ -1204,6 +1204,7 @@ _kdc_do_digest(krb5_context context, if ((config->digests_allowed & NTLM_V1_SESSION) == 0) { kdc_log(context, config, 0, "NTLM v1-session not allowed"); + ret = EINVAL; goto out; } @@ -1263,6 +1264,7 @@ _kdc_do_digest(krb5_context context, krb5_set_error_string(context, "NTLM client failed to neg key " "exchange but still sent key"); + ret = EINVAL; goto out; }