3 THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
4 ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
5 TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
8 Copyright (C) 1999 Microsoft Corporation. All rights reserved.
16 Definitions for the Kerberos change password functions
21 krb5_error_code krb5_set_password
22 KRB5_PROTOTYPE((krb5_context, krb5_ccache, char *, char *, char *, int *));
25 (krb5_context, const krb5_data *, struct sockaddr **, int *);
28 /* password change constants */
30 typedef struct _krb5_setpw {
33 krb5_principal targprinc;
36 #ifndef KRB5_KPASSWD_SUCCESS
37 #define KRB5_KPASSWD_SUCCESS 0
38 #define KRB5_KPASSWD_MALFORMED 1
39 #define KRB5_KPASSWD_HARDERROR 2
40 #define KRB5_KPASSWD_AUTHERROR 3
41 #define KRB5_KPASSWD_SOFTERROR 4
43 #define KRB5_KPASSWD_ACCESSDENIED 5
44 #define KRB5_KPASSWD_BAD_VERSION 6
45 #define KRB5_KPASSWD_INITIAL_FLAG_NEEDED 7
47 #define KRB5_KPASSWD_VERS_CHANGEPW 1
48 #define KRB5_KPASSWD_VERS_SETPW 0xff80
50 #ifndef DEFAULT_KPASSWD_PORT
51 #define DEFAULT_KPASSWD_PORT 464