summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */