Remove duplicate definitions
authorSimo Sorce <idra@samba.org>
Sat, 2 Aug 2014 13:39:20 +0000 (09:39 -0400)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 1 Sep 2014 13:47:33 +0000 (15:47 +0200)
Thee are already defined both in Heimdal and MIT public headers

Signed-off-by: Simo Sorce <idra@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
source3/libads/krb5_setpw.c

index d27e55ba8eb5a7ee8d1b15d205105561388a66f1..4286c3b62150877a8b502c55281c4973044e8ed6 100644 (file)
 #define KRB5_KPASSWD_VERS_SETPW                        0xff80
 #define KRB5_KPASSWD_VERS_SETPW_ALT            2
 
-#define KRB5_KPASSWD_SUCCESS                   0
-#define KRB5_KPASSWD_MALFORMED                 1
-#define KRB5_KPASSWD_HARDERROR                 2
-#define KRB5_KPASSWD_AUTHERROR                 3
-#define KRB5_KPASSWD_SOFTERROR                 4
-#define KRB5_KPASSWD_ACCESSDENIED              5
-#define KRB5_KPASSWD_BAD_VERSION               6
-#define KRB5_KPASSWD_INITIAL_FLAG_NEEDED       7
-
 /* Those are defined by kerberos-set-passwd-02.txt and are probably 
  * not supported by M$ implementation */
 #define KRB5_KPASSWD_POLICY_REJECT             8