9 typedef struct _krb5_setpw {
12 krb5_principal targprinc;
16 #define MAX_SERVER_NAMES 32
20 #define LDAP_SERVICE "_ldap"
21 #define TCP_PROTOCOL "_tcp"
23 #define KDC_RECEIVE_TIMEOUT 10
24 #define KDC_RECEIVE_ERROR 11
25 #define KDC_SEND_ERROR 12
26 #define KDC_GETSOCKNAME_ERROR 13
27 #define KDC_GETPEERNAME_ERROR 14
29 #ifndef KRB5_KPASSWD_SUCCESS
30 #define KRB5_KPASSWD_SUCCESS 0
31 #define KRB5_KPASSWD_MALFORMED 1
32 #define KRB5_KPASSWD_HARDERROR 2
33 #define KRB5_KPASSWD_AUTHERROR 3
34 #define KRB5_KPASSWD_SOFTERROR 4
36 #define KRB5_KPASSWD_ACCESSDENIED 5
37 #define KRB5_KPASSWD_BAD_VERSION 6
38 #define KRB5_KPASSWD_INITIAL_FLAG_NEEDED 7
40 #define KRB5_KPASSWD_VERS_CHANGEPW 1
41 #define KRB5_KPASSWD_VERS_SETPW 0xff80
43 #ifndef DEFAULT_KPASSWD_PORT
44 #define DEFAULT_KPASSWD_PORT 464