krb5 commit: Update comments for RFC 3244 kpasswd extensions

Benjamin Kaduk kaduk at MIT.EDU
Tue Dec 11 16:35:33 EST 2012


https://github.com/krb5/krb5/commit/f2cec6d908a8b15908f4de199540e5ad3486882b
commit f2cec6d908a8b15908f4de199540e5ad3486882b
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.
    
    ticket: 7490 (new)
    tags: pullup
    target_version: 1.11

 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 4b9e595..68ae888 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