document diffrences between mit and heimdal krb5_cc_gen_new

ccache -> credential cache
s/[\t ]+$//


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12328 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-05-26 12:50:02 +00:00
parent 7e9cb35e62
commit b74d060a00

View File

@@ -231,40 +231,44 @@ gets and sets the default name for the
.Fa context . .Fa context .
.Pp .Pp
.Fn krb5_cc_default .Fn krb5_cc_default
opens the default ccache in opens the default credential cache in
.Fa id . .Fa id .
Return 0 or an error code. Return 0 or an error code.
.Pp .Pp
.Fn krb5_cc_gen_new .Fn krb5_cc_gen_new
generates a new ccache of type generates a new credential cache of type
.Fa ops .Fa ops
in in
.Fa id . .Fa id .
Return 0 or an error code. Return 0 or an error code.
The Heimdal version of this function also runs
.Fn krb5_cc_initialize
on the credential cache, but since the MIT version doesn't portable
code must call krb5_cc_initialize.
.Pp .Pp
.Fn krb5_cc_resolve .Fn krb5_cc_resolve
finds and allocates a ccache in finds and allocates a credential cache in
.Fa id .Fa id
from the specification in from the specification in
.Fa residual . .Fa residual .
If the ccache name doesn't contain any colon (:), interpret it as a If the credential cache name doesn't contain any colon (:), interpret it as a
file name. file name.
Return 0 or an error code. Return 0 or an error code.
.Pp .Pp
.Fn krb5_cc_initialize .Fn krb5_cc_initialize
creates a new ccache in creates a new credential cache in
.Fa id .Fa id
for for
.Fa primary_principal . .Fa primary_principal .
Return 0 or an error code. Return 0 or an error code.
.Pp .Pp
.Fn krb5_cc_close .Fn krb5_cc_close
stops using the ccache stops using the credential cache
.Fa id .Fa id
and frees the related resources. and frees the related resources.
Return 0 or an error code. Return 0 or an error code.
.Fn krb5_cc_destroy .Fn krb5_cc_destroy
removes the ccache removes the credential cache
and closes (by calling and closes (by calling
.Fn krb5_cc_close ) .Fn krb5_cc_close )
.Fa id . .Fa id .
@@ -277,7 +281,7 @@ to
.Fa to . .Fa to .
.Pp .Pp
.Fn krb5_cc_get_name .Fn krb5_cc_get_name
returns the name of the ccache returns the name of the credential cache
.Fa id . .Fa id .
.Pp .Pp
.Fn krb5_cc_get_principal .Fn krb5_cc_get_principal
@@ -288,11 +292,11 @@ in
Return 0 or an error code. Return 0 or an error code.
.Pp .Pp
.Fn krb5_cc_get_type .Fn krb5_cc_get_type
returns the type of the ccache returns the type of the credential cache
.Fa id . .Fa id .
.Pp .Pp
.Fn krb5_cc_get_ops .Fn krb5_cc_get_ops
returns the ops of the ccache returns the ops of the credential cache
.Fa id . .Fa id .
.Pp .Pp
.Fn krb5_cc_get_version .Fn krb5_cc_get_version
@@ -300,7 +304,7 @@ returns the version of
.Fa id . .Fa id .
.Pp .Pp
.Fn krb5_cc_register .Fn krb5_cc_register
Adds a new ccache type with operations Adds a new credential cache type with operations
.Fa ops , .Fa ops ,
overwriting any existing one if overwriting any existing one if
.Fa override . .Fa override .
@@ -316,7 +320,7 @@ from
.Fn krb5_cc_store_cred .Fn krb5_cc_store_cred
stores stores
.Fa creds .Fa creds
in the ccache in the credential cache
.Fa id . .Fa id .
Return 0 or an error code. Return 0 or an error code.
.Pp .Pp