]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - crypto/heimdal/doc/doxyout/krb5/man/man3/krb5_v4compat.3
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / crypto / heimdal / doc / doxyout / krb5 / man / man3 / krb5_v4compat.3
1 .TH "Heimdal Kerberos 4 compatiblity functions" 3 "11 Jan 2012" "Version 1.5.2" "HeimdalKerberos5library" \" -*- nroff -*-
2 .ad l
3 .nh
4 .SH NAME
5 Heimdal Kerberos 4 compatiblity functions \- 
6 .SS "Functions"
7
8 .in +1c
9 .ti -1c
10 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb524_convert_creds_kdc\fP (krb5_context context, krb5_creds *in_cred, struct credentials *v4creds) KRB5_DEPRECATED_FUNCTION('Use X instead')"
11 .br
12 .ti -1c
13 .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb524_convert_creds_kdc_ccache\fP (krb5_context context, krb5_ccache ccache, krb5_creds *in_cred, struct credentials *v4creds) KRB5_DEPRECATED_FUNCTION('Use X instead')"
14 .br
15 .in -1c
16 .SH "Detailed Description"
17 .PP 
18
19 .SH "Function Documentation"
20 .PP 
21 .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb524_convert_creds_kdc (krb5_context context, krb5_creds * in_cred, struct credentials * v4creds)"
22 .PP
23 Convert the v5 credentials in in_cred to v4-dito in v4creds. This is done by sending them to the 524 function in the KDC. If `in_cred' doesn't contain a DES session key, then a new one is gotten from the KDC and stored in the cred cache `ccache'.
24 .PP
25 \fBParameters:\fP
26 .RS 4
27 \fIcontext\fP Kerberos 5 context. 
28 .br
29 \fIin_cred\fP the credential to convert 
30 .br
31 \fIv4creds\fP the converted credential
32 .RE
33 .PP
34 \fBReturns:\fP
35 .RS 4
36 Returns 0 to indicate success. Otherwise an kerberos et error code is returned, see krb5_get_error_message(). 
37 .RE
38 .PP
39
40 .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb524_convert_creds_kdc_ccache (krb5_context context, krb5_ccache ccache, krb5_creds * in_cred, struct credentials * v4creds)"
41 .PP
42 Convert the v5 credentials in in_cred to v4-dito in v4creds, check the credential cache ccache before checking with the KDC.
43 .PP
44 \fBParameters:\fP
45 .RS 4
46 \fIcontext\fP Kerberos 5 context. 
47 .br
48 \fIccache\fP credential cache used to check for des-ticket. 
49 .br
50 \fIin_cred\fP the credential to convert 
51 .br
52 \fIv4creds\fP the converted credential
53 .RE
54 .PP
55 \fBReturns:\fP
56 .RS 4
57 Returns 0 to indicate success. Otherwise an kerberos et error code is returned, see krb5_get_error_message(). 
58 .RE
59 .PP
60