add krb5_get_kdc_cred

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14070 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-07-26 13:42:56 +00:00
parent 747edb2bf8
commit 6ffab43174

View File

@@ -38,7 +38,8 @@
.Nm krb5_get_credentials ,
.Nm krb5_get_credentials_with_flags ,
.Nm krb5_get_cred_from_kdc ,
.Nm krb5_get_cred_from_kdc_opt
.Nm krb5_get_cred_from_kdc_opt ,
.Nm krb5_get_kdc_cred
.Nd get credentials from the KDC using krbtgt
.Sh LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5)
@@ -78,6 +79,16 @@ Kerberos 5 Library (libkrb5, -lkrb5)
.Fa "krb5_creds ***ret_tgts"
.Fa "krb5_flags flags"
.Fc
.Ft krb5_error_code
.Fo krb5_get_kdc_cred
.Fa "krb5_context context"
.Fa "krb5_ccache id"
.Fa "krb5_kdc_flags flags"
.Fa "krb5_addresses *addresses"
.Fa "Ticket *second_ticket"
.Fa "krb5_creds *in_creds"
.Fa "krb5_creds **out_creds"
.Fc
.Sh DESCRIPTION
.Fn krb5_get_credentials_with_flags
get credentials by first looking in the
@@ -118,6 +129,10 @@ fetches the credential from the KDC very much like
.Fn krb5_get_credentials, but doesn't look in the
.Fa ccache
if the credential exists there first.
.Pp
.Fn krb5_get_kdc_cred
does the same as the functions above, but the caller must fill in all
the information andits closer to the wire protocol.
.Sh SEE ALSO
.Xr krb5 3 ,
.Xr krb5_get_forwarded_creds 3 ,