summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2012-01-25 12:01:58 -0500
committerGravatar Karl Ramm <kcr@1ts.org>2012-01-25 12:01:58 -0500
commit0a8d723079e37c7e8b1d137ed5de6e804ecc1695 (patch)
tree3339b20a0991b91bf37f91ba0e0e299730b4a774 /server
parentf549bda996c4b5d67481ebe8f01b7141a137f3ab (diff)
log old-style checksum mismatches too
Diffstat (limited to 'server')
-rw-r--r--server/kstuff.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/kstuff.c b/server/kstuff.c
index 4d9d276..38c7a6c 100644
--- a/server/kstuff.c
+++ b/server/kstuff.c
@@ -524,10 +524,12 @@ ZCheckSrvAuthentication(ZNotice_t *notice,
krb5_auth_con_free(Z_krb5_ctx, authctx);
krb5_free_authenticator(Z_krb5_ctx, KRB5AUTHENT);
- if (our_checksum == notice->z_checksum)
+ if (our_checksum == notice->z_checksum) {
return ZAUTH_YES;
- else
+ } else {
+ syslog(LOG_DEBUG, "ZCheckSrvAuthentication: des quad checksum mismatch");
return ZAUTH_FAILED;
+ }
}
/* HOLDING: authctx, authenticator */