* schpw.c (process_chpw_request): Return KRB5_KPASSWD_BAD_VERSION if the
authorKen Raeburn <raeburn@mit.edu>
Sat, 17 May 2003 01:57:43 +0000 (01:57 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 17 May 2003 01:57:43 +0000 (01:57 +0000)
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
src/kadmin/server/schpw.c

index 6c3d72be0511da910d4665abceba08ae9e719c1a..8663e87e3a46e2e528ca80621947fb3d36e73ff2 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-16  Ken Raeburn  <raeburn@mit.edu>
+
+       * schpw.c (process_chpw_request): Return KRB5_KPASSWD_BAD_VERSION
+       if the version number isn't 1.
+
 2003-03-07  Tom Yu  <tlyu@mit.edu>
 
        * ovsec_kadmd.c (REQUIRED_PARAMS): Remove
index ddf6238862356ec6c45b464b1694f0f1a50ae087..ff6e10f63954a255cd365f0efaf707ab3416383b 100644 (file)
@@ -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;