From: Ken Raeburn Date: Sat, 17 May 2003 01:57:43 +0000 (+0000) Subject: * schpw.c (process_chpw_request): Return KRB5_KPASSWD_BAD_VERSION if the X-Git-Tag: krb5-1.4-beta1~949 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=955e7a919ce821648b70497f3129a4697cdbe813;p=krb5.git * 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 --- 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;