summaryrefslogtreecommitdiffstats
path: root/src/kdc
diff options
context:
space:
mode:
Diffstat (limited to 'src/kdc')
-rw-r--r--src/kdc/ChangeLog4
-rw-r--r--src/kdc/kdc_preauth.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog
index 1805af0977..56fe212ff0 100644
--- a/src/kdc/ChangeLog
+++ b/src/kdc/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-24 Sam Hartman <hartmans@mit.edu>
+
+ * kdc_preauth.c (get_etype_info): We get KRB5_KDB_NO_MATCHING_KEY not ENOENT; per 5.27 of kdb_xdr.c.
+
2002-04-05 Ken Raeburn <raeburn@mit.edu>
* do_as_req.c (process_as_req): Call krb5_c_valid_enctype instead
diff --git a/src/kdc/kdc_preauth.c b/src/kdc/kdc_preauth.c
index fbc44bde09..8352a3fdbd 100644
--- a/src/kdc/kdc_preauth.c
+++ b/src/kdc/kdc_preauth.c
@@ -543,7 +543,7 @@ get_etype_info(context, request, client, server, pa_data)
while (1) {
retval = krb5_dbe_search_enctype(context, client, &start, -1,
-1, 0, &client_key);
- if (retval == ENOENT)
+ if (retval == KRB5_KDB_NO_MATCHING_KEY)
break;
if (retval)
goto cleanup;