]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Update comments for RFC 3244 kpasswd extensions
authorBen Kaduk <kaduk@mit.edu>
Mon, 10 Dec 2012 20:51:06 +0000 (15:51 -0500)
committerBen Kaduk <kaduk@mit.edu>
Tue, 11 Dec 2012 21:34:58 +0000 (16:34 -0500)
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

index 4b9e59501a95b32223a2508730d0b065182d533b..68ae8887d269a78a79be937f21eb0b650ff412cd 100644 (file)
@@ -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"