From 955e7a919ce821648b70497f3129a4697cdbe813 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 17 May 2003 01:57:43 +0000 Subject: [PATCH] * schpw.c (process_chpw_request): Return KRB5_KPASSWD_BAD_VERSION if the version number isn't 1. ticket: 1441 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15456 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/server/ChangeLog | 5 +++++ src/kadmin/server/schpw.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index 6c3d72be0..8663e87e3 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -1,3 +1,8 @@ +2003-05-16 Ken Raeburn + + * schpw.c (process_chpw_request): Return KRB5_KPASSWD_BAD_VERSION + if the version number isn't 1. + 2003-03-07 Tom Yu * ovsec_kadmd.c (REQUIRED_PARAMS): Remove diff --git a/src/kadmin/server/schpw.c b/src/kadmin/server/schpw.c index ddf623886..ff6e10f63 100644 --- a/src/kadmin/server/schpw.c +++ b/src/kadmin/server/schpw.c @@ -76,7 +76,7 @@ process_chpw_request(context, server_handle, realm, s, keytab, sockin, if (vno != 1) { ret = KRB5KDC_ERR_BAD_PVNO; - numresult = KRB5_KPASSWD_MALFORMED; + numresult = KRB5_KPASSWD_BAD_VERSION; sprintf(strresult, "Request contained unknown protocol version number %d", vno); goto chpwfail; -- 2.26.2