Define the new error codes
authorKen Raeburn <raeburn@mit.edu>
Sat, 17 May 2003 01:55:28 +0000 (01:55 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 17 May 2003 01:55:28 +0000 (01:55 +0000)
* krb5.hin (KRB5_KPASSWD_ACCESSDENIED): New macro.
(KRB5_KPASSWD_BAD_VERSION, KRB5_KPASSWD_INITIAL_FLAG_NEEDED): New macros.

ticket: 1441

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15454 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/krb5.hin

index 709e2b3907d6ba7f02b646fa44cebdb64612beaf..123ba7ea0bc164e13293b28b6836977dc839f7d9 100644 (file)
@@ -1,3 +1,9 @@
+2003-05-16  Ken Raeburn  <raeburn@mit.edu>
+
+       * krb5.hin (KRB5_KPASSWD_ACCESSDENIED): New macro.
+       (KRB5_KPASSWD_BAD_VERSION, KRB5_KPASSWD_INITIAL_FLAG_NEEDED): New
+       macros.
+
 2003-05-13  Sam Hartman  <hartmans@mit.edu>
 
        * k5-int.h: Add krb5int_copy_data_contents
index 7d033902c9319cb78ea4feb26577b7605f31c39e..310eb39768a0a368860d499f69269809c000dc18 100644 (file)
@@ -909,6 +909,11 @@ krb5_error_code krb5_decrypt_data
 #define KRB5_KPASSWD_HARDERROR         2
 #define KRB5_KPASSWD_AUTHERROR         3
 #define KRB5_KPASSWD_SOFTERROR         4
+/* 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 */
 
 /*
  * end "proto.h"