9 krb5_error_code krb5_set_password
10 KRB5_PROTOTYPE((krb5_context, krb5_ccache, char *, char *, char *, int *));
12 typedef struct _krb5_setpw {
15 krb5_principal targprinc;
19 #define MAX_SERVER_NAMES 32
23 #define LDAP_SERVICE "_ldap"
24 #define TCP_PROTOCOL "_tcp"
26 #define KDC_RECEIVE_TIMEOUT 10
27 #define KDC_RECEIVE_ERROR 11
28 #define KDC_SEND_ERROR 12
29 #define KDC_GETSOCKNAME_ERROR 13
30 #define KDC_GETPEERNAME_ERROR 14
32 #ifndef KRB5_KPASSWD_SUCCESS
33 #define KRB5_KPASSWD_SUCCESS 0
34 #define KRB5_KPASSWD_MALFORMED 1
35 #define KRB5_KPASSWD_HARDERROR 2
36 #define KRB5_KPASSWD_AUTHERROR 3
37 #define KRB5_KPASSWD_SOFTERROR 4
39 #define KRB5_KPASSWD_ACCESSDENIED 5
40 #define KRB5_KPASSWD_BAD_VERSION 6
41 #define KRB5_KPASSWD_INITIAL_FLAG_NEEDED 7
43 #define KRB5_KPASSWD_VERS_CHANGEPW 1
44 #define KRB5_KPASSWD_VERS_SETPW 0xff80
46 #ifndef DEFAULT_KPASSWD_PORT
47 #define DEFAULT_KPASSWD_PORT 464