krb5 commit [krb5-1.11]: Update comments for RFC 3244 kpasswd extensions

Tom Yu tlyu at MIT.EDU
Wed Dec 12 16:20:47 EST 2012


https://github.com/krb5/krb5/commit/1b6c19663412c03917ffb92d78beb98ca4b1a10c
commit 1b6c19663412c03917ffb92d78beb98ca4b1a10c
Author: Ben Kaduk <kaduk at mit.edu>
Date:   Mon Dec 10 15:51:06 2012 -0500

    Update comments for RFC 3244 kpasswd extensions
    
    Remove the inaccurate comments "unused" and replace them with
    more useful representations of what they mean.
    
    (cherry picked from commit f2cec6d908a8b15908f4de199540e5ad3486882b)
    
    ticket: 7490
    version_fixed: 1.11
    status: resolved

 src/include/krb5/krb5.hin |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index 234a098..9d528bb 100644
--- a/src/include/krb5/krb5.hin
+++ b/src/include/krb5/krb5.hin
@@ -1858,9 +1858,10 @@ krb5_verify_checksum(krb5_context context, krb5_cksumtype ctype,
 #define KRB5_KPASSWD_SOFTERROR          4  /**< Password change rejected */
 /* These are Microsoft's extensions in RFC 3244, and it looks like
    they'll become standardized, possibly with other additions.  */
-#define KRB5_KPASSWD_ACCESSDENIED       5       /**< unused */
-#define KRB5_KPASSWD_BAD_VERSION        6
-#define KRB5_KPASSWD_INITIAL_FLAG_NEEDED 7      /**< unused */
+#define KRB5_KPASSWD_ACCESSDENIED       5  /**< Not authorized */
+#define KRB5_KPASSWD_BAD_VERSION        6  /**< Unknown RPC version */
+/** The presented credentials were not obtained using a password directly */
+#define KRB5_KPASSWD_INITIAL_FLAG_NEEDED 7
 
 /*
  * end "proto.h"


More information about the cvs-krb5 mailing list