(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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user