]> andersk Git - moira.git/blob - incremental/winad/kpasswd.h
37f19d72437bc09e11359b8d60815debf6d0d763
[moira.git] / incremental / winad / kpasswd.h
1 /*--
2 Module Name:
3
4     kpasswd.h
5
6 --*/
7
8
9 krb5_error_code krb5_set_password
10   KRB5_PROTOTYPE((krb5_context, krb5_ccache, char *, char *, char *, int *));
11
12 typedef struct _krb5_setpw {
13   krb5_magic      magic;
14   krb5_data       newpasswd;
15   krb5_principal  targprinc;
16 } krb5_setpw;
17
18
19 #define MAX_SERVER_NAMES 32
20 #ifndef T_SRV
21 #define T_SRV 33
22 #endif
23 #define LDAP_SERVICE  "_ldap"
24 #define TCP_PROTOCOL  "_tcp"
25
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
31
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
38 #endif
39 #define KRB5_KPASSWD_ACCESSDENIED         5
40 #define KRB5_KPASSWD_BAD_VERSION          6
41 #define KRB5_KPASSWD_INITIAL_FLAG_NEEDED  7
42
43 #define KRB5_KPASSWD_VERS_CHANGEPW        1
44 #define KRB5_KPASSWD_VERS_SETPW           0xff80
45
46 #ifndef DEFAULT_KPASSWD_PORT
47 #define DEFAULT_KPASSWD_PORT 464
48 #endif
49
This page took 0.030671 seconds and 3 git commands to generate.