]>
Commit | Line | Data |
---|---|---|
1 | /*-- | |
2 | Module Name: | |
3 | ||
4 | kpasswd.h | |
5 | ||
6 | --*/ | |
7 | ||
8 | ||
9 | typedef struct _krb5_setpw { | |
10 | krb5_magic magic; | |
11 | krb5_data newpasswd; | |
12 | krb5_principal targprinc; | |
13 | } krb5_setpw; | |
14 | ||
15 | ||
16 | #define MAX_SERVER_NAMES 32 | |
17 | #ifndef T_SRV | |
18 | #define T_SRV 33 | |
19 | #endif | |
20 | #define LDAP_SERVICE "_ldap" | |
21 | #define TCP_PROTOCOL "_tcp" | |
22 | ||
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 | |
28 | ||
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 | |
35 | #endif | |
36 | #define KRB5_KPASSWD_ACCESSDENIED 5 | |
37 | #define KRB5_KPASSWD_BAD_VERSION 6 | |
38 | #define KRB5_KPASSWD_INITIAL_FLAG_NEEDED 7 | |
39 | ||
40 | #define KRB5_KPASSWD_VERS_CHANGEPW 1 | |
41 | #define KRB5_KPASSWD_VERS_SETPW 0xff80 | |
42 | ||
43 | #ifndef DEFAULT_KPASSWD_PORT | |
44 | #define DEFAULT_KPASSWD_PORT 464 | |
45 | #endif | |
46 |