Replace gss_krb5_import_ccache with gss_krb5_import_cred and add more references

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16375 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-12-12 12:29:56 +00:00
parent 294b954cdd
commit 0fd43e84b7
2 changed files with 30 additions and 10 deletions

View File

@@ -62,6 +62,7 @@
.Nm gss_krb5_ccache_name , .Nm gss_krb5_ccache_name ,
.Nm gss_krb5_compat_des3_mic , .Nm gss_krb5_compat_des3_mic ,
.Nm gss_krb5_copy_ccache , .Nm gss_krb5_copy_ccache ,
.Nm gss_krb5_import_cred
.Nm gsskrb5_extract_authz_data_from_sec_context , .Nm gsskrb5_extract_authz_data_from_sec_context ,
.Nm gss_krb5_import_ccache , .Nm gss_krb5_import_ccache ,
.Nm gss_krb5_get_tkt_flags , .Nm gss_krb5_get_tkt_flags ,
@@ -294,6 +295,14 @@ GSS-API library (libgssapi, -lgssapi)
.Fa "krb5_ccache out" .Fa "krb5_ccache out"
.Fc .Fc
.Ft OM_uint32 .Ft OM_uint32
.Fo gss_krb5_import_cred
.Fa "OM_uint32 *minor_status"
.Fa "krb5_ccache id"
.Fa "krb5_principal keytab_principal"
.Fa "krb5_keytab keytab"
.Fa "gss_cred_id_t *cred"
.Fc
.Ft OM_uint32
.Fo gss_krb5_compat_des3_mic .Fo gss_krb5_compat_des3_mic
.Fa "OM_uint32 * minor_status" .Fa "OM_uint32 * minor_status"
.Fa "gss_ctx_id_t context_handle" .Fa "gss_ctx_id_t context_handle"
@@ -307,9 +316,10 @@ GSS-API library (libgssapi, -lgssapi)
.Fa "gss_buffer_t ad_data" .Fa "gss_buffer_t ad_data"
.Fc .Fc
.Ft OM_uint32 .Ft OM_uint32
.Fo gss_krb5_import_ccache .Fo gss_krb5_import_cache
.Fa "OM_uint32 *minor" .Fa "OM_uint32 *minor"
.Fa "krb5_ccache out" .Fa "krb5_ccache id"
.Fa "krb5_keytab keytab"
.Fa "gss_cred_id_t *cred" .Fa "gss_cred_id_t *cred"
.Fc .Fc
.Ft OM_uint32 .Ft OM_uint32
@@ -620,9 +630,9 @@ mechanism.
The acceptor receives the delegated token in the last argument to The acceptor receives the delegated token in the last argument to
.Fn gss_accept_sec_context . .Fn gss_accept_sec_context .
.Pp .Pp
.Fn gss_krb5_import_ccache .Fn gss_krb5_import_cred
will import the krb5 credentials into gss credential so it can be used will import the krb5 credentials (both keytab and/or credential cache)
withing GSS-API. into gss credential so it can be used withing GSS-API.
The The
.Fa ccache .Fa ccache
is copied by reference and thus shared, so if the credential is destroyed is copied by reference and thus shared, so if the credential is destroyed

View File

@@ -62,6 +62,7 @@
.Nm gss_krb5_ccache_name , .Nm gss_krb5_ccache_name ,
.Nm gss_krb5_compat_des3_mic , .Nm gss_krb5_compat_des3_mic ,
.Nm gss_krb5_copy_ccache , .Nm gss_krb5_copy_ccache ,
.Nm gss_krb5_import_cred
.Nm gsskrb5_extract_authz_data_from_sec_context , .Nm gsskrb5_extract_authz_data_from_sec_context ,
.Nm gss_krb5_import_ccache , .Nm gss_krb5_import_ccache ,
.Nm gss_krb5_get_tkt_flags , .Nm gss_krb5_get_tkt_flags ,
@@ -294,6 +295,14 @@ GSS-API library (libgssapi, -lgssapi)
.Fa "krb5_ccache out" .Fa "krb5_ccache out"
.Fc .Fc
.Ft OM_uint32 .Ft OM_uint32
.Fo gss_krb5_import_cred
.Fa "OM_uint32 *minor_status"
.Fa "krb5_ccache id"
.Fa "krb5_principal keytab_principal"
.Fa "krb5_keytab keytab"
.Fa "gss_cred_id_t *cred"
.Fc
.Ft OM_uint32
.Fo gss_krb5_compat_des3_mic .Fo gss_krb5_compat_des3_mic
.Fa "OM_uint32 * minor_status" .Fa "OM_uint32 * minor_status"
.Fa "gss_ctx_id_t context_handle" .Fa "gss_ctx_id_t context_handle"
@@ -307,9 +316,10 @@ GSS-API library (libgssapi, -lgssapi)
.Fa "gss_buffer_t ad_data" .Fa "gss_buffer_t ad_data"
.Fc .Fc
.Ft OM_uint32 .Ft OM_uint32
.Fo gss_krb5_import_ccache .Fo gss_krb5_import_cache
.Fa "OM_uint32 *minor" .Fa "OM_uint32 *minor"
.Fa "krb5_ccache out" .Fa "krb5_ccache id"
.Fa "krb5_keytab keytab"
.Fa "gss_cred_id_t *cred" .Fa "gss_cred_id_t *cred"
.Fc .Fc
.Ft OM_uint32 .Ft OM_uint32
@@ -620,9 +630,9 @@ mechanism.
The acceptor receives the delegated token in the last argument to The acceptor receives the delegated token in the last argument to
.Fn gss_accept_sec_context . .Fn gss_accept_sec_context .
.Pp .Pp
.Fn gss_krb5_import_ccache .Fn gss_krb5_import_cred
will import the krb5 credentials into gss credential so it can be used will import the krb5 credentials (both keytab and/or credential cache)
withing GSS-API. into gss credential so it can be used withing GSS-API.
The The
.Fa ccache .Fa ccache
is copied by reference and thus shared, so if the credential is destroyed is copied by reference and thus shared, so if the credential is destroyed