document context modifcation functions: address list, config file, use
admin kdc, fcc version git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13570 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -37,18 +37,113 @@
|
|||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm krb5_init_context ,
|
.Nm krb5_init_context ,
|
||||||
.Nm krb5_free_context ,
|
.Nm krb5_free_context ,
|
||||||
.Nm krb5_add_et_list
|
.Nm krb5_add_et_list ,
|
||||||
|
.Nm krb5_add_extra_addresses ,
|
||||||
|
.Nm krb5_add_ignore_addresses ,
|
||||||
|
.Nm krb5_get_extra_addresses ,
|
||||||
|
.Nm krb5_get_ignore_addresses ,
|
||||||
|
.Nm krb5_set_extra_addresses ,
|
||||||
|
.Nm krb5_set_ignore_addresses ,
|
||||||
|
.Nm krb5_set_fcache_version ,
|
||||||
|
.Nm krb5_get_fcache_version ,
|
||||||
|
.Nm krb5_set_config_files ,
|
||||||
|
.Nm krb5_prepend_config_files ,
|
||||||
|
.Nm krb5_prepend_config_files_default ,
|
||||||
|
.Nm krb5_get_default_config_files ,
|
||||||
|
.Nm krb5_free_config_files ,
|
||||||
|
.Nm krb5_set_use_admin_kdc ,
|
||||||
|
.Nm krb5_get_use_admin_kdc
|
||||||
.Nd create, modify and delete krb5_context structures
|
.Nd create, modify and delete krb5_context structures
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
Kerberos 5 Library (libkrb5, -lkrb5)
|
Kerberos 5 Library (libkrb5, -lkrb5)
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.In krb5.h
|
.In krb5.h
|
||||||
.Ft krb5_error_code
|
.Ft krb5_error_code
|
||||||
.Fn krb5_init_context "krb5_context *context"
|
.Fo krb5_init_context
|
||||||
|
.Fa "krb5_context *context"
|
||||||
|
.Fc
|
||||||
.Ft void
|
.Ft void
|
||||||
.Fn krb5_free_context "krb5_context context"
|
.Fo krb5_free_context
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fc
|
||||||
.Ft krb5_error_code
|
.Ft krb5_error_code
|
||||||
.Fn krb5_add_et_list "krb5_context context" "void (*func)(struct et_list **)"
|
.Fo krb5_add_et_list
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fa "void (*func)(struct et_list **)"
|
||||||
|
.Fc
|
||||||
|
.Ft krb5_error_code
|
||||||
|
.Fo krb5_add_extra_addresses
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fa "krb5_addresses *addresses"
|
||||||
|
.Fc
|
||||||
|
.Ft krb5_error_code
|
||||||
|
.Fo krb5_set_extra_addresses
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fa "const krb5_addresses *addresses"
|
||||||
|
.Fc
|
||||||
|
.Ft krb5_error_code
|
||||||
|
.Fo krb5_get_extra_addresses
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fa "krb5_addresses *addresses"
|
||||||
|
.Fc
|
||||||
|
.Ft krb5_error_code
|
||||||
|
.Fo krb5_add_ignore_addresses
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fa "krb5_addresses *addresses"
|
||||||
|
.Fc
|
||||||
|
.Ft krb5_error_code
|
||||||
|
.Fo krb5_set_ignore_addresses
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fa "const krb5_addresses *addresses"
|
||||||
|
.Fc
|
||||||
|
.Ft krb5_error_code
|
||||||
|
.Fo krb5_get_ignore_addresses
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fa "krb5_addresses *addresses"
|
||||||
|
.Fc
|
||||||
|
.Ft krb5_error_code
|
||||||
|
.Fo krb5_set_fcache_version
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fa "int version"
|
||||||
|
.Fc
|
||||||
|
.Ft krb5_error_code
|
||||||
|
.Fo krb5_get_fcache_version
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fa "int *version"
|
||||||
|
.Fc
|
||||||
|
.Ft krb5_error_code
|
||||||
|
.Fo krb5_set_config_files
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fa "char **filenames"
|
||||||
|
.Fc
|
||||||
|
.Ft krb5_error_code
|
||||||
|
.Fo krb5_prepend_config_files
|
||||||
|
.Fa "const char *filelist"
|
||||||
|
.Fa "char **pq"
|
||||||
|
.Fa "char ***ret_pp"
|
||||||
|
.Fc
|
||||||
|
.ft krb5_error_code
|
||||||
|
.Fo krb5_prepend_config_files_default
|
||||||
|
.Fa "const char *filelist"
|
||||||
|
.Fa "char ***pfilenames"
|
||||||
|
.Fc
|
||||||
|
.Ft krb5_error_code
|
||||||
|
.Fo krb5_get_default_config_files
|
||||||
|
.Fa "char ***pfilenames"
|
||||||
|
.Fc
|
||||||
|
.Ft void
|
||||||
|
.Fo krb5_free_config_files
|
||||||
|
.Fa "char **filenames"
|
||||||
|
.Fc
|
||||||
|
.Ft void
|
||||||
|
.Fo krb5_set_use_admin_kdc
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fa "krb5_boolean flag"
|
||||||
|
.Fc
|
||||||
|
.Ft krb5_boolean
|
||||||
|
.Fo krb5_get_use_admin_kdc
|
||||||
|
.Fa "krb5_context context"
|
||||||
|
.Fc
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Fn krb5_init_context
|
.Fn krb5_init_context
|
||||||
@@ -80,6 +175,65 @@ to the specified
|
|||||||
The error handler must generated by the the re-rentrant version of the
|
The error handler must generated by the the re-rentrant version of the
|
||||||
.Xr compile_et 3
|
.Xr compile_et 3
|
||||||
program.
|
program.
|
||||||
|
.Fn krb5_add_extra_addresses
|
||||||
|
add a list of addresses that should be added when requesting tickets.
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_add_ignore_addresses
|
||||||
|
add a list of addresses that should be ignored when requesting tickets.
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_get_extra_addresses
|
||||||
|
get the list of addresses that should be added when requesting tickets.
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_get_ignore_addresses
|
||||||
|
get the list of addresses that should be ignored when requesting tickets.
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_set_ignore_addresses
|
||||||
|
set the list of addresses that should be ignored when requesting tickets.
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_set_extra_addresses
|
||||||
|
set the list of addresses that should be added when requesting tickets.
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_set_fcache_version
|
||||||
|
sets the version of file credentials caches that should be used.
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_get_fcache_version
|
||||||
|
gets the version of file credentials caches that should be used.
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_set_config_files
|
||||||
|
set the list of configuration files to use and re-initialize the
|
||||||
|
configration from the files.
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_prepend_config_files
|
||||||
|
parse the
|
||||||
|
.Fa filelist
|
||||||
|
and prepend the result to the already existing list
|
||||||
|
.Fa pq
|
||||||
|
The result is returned in
|
||||||
|
.Fa ret_pp
|
||||||
|
and should be freed with
|
||||||
|
.Fn krb5_free_config_files .
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_prepend_config_files_default
|
||||||
|
parse the
|
||||||
|
.Fa filelist
|
||||||
|
and append that to the default
|
||||||
|
list of configuration files.
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_get_default_config_files
|
||||||
|
get a list of default configuration files.
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_free_config_files
|
||||||
|
free a list of configuration files returned by
|
||||||
|
.Fn krb5_get_default_config_files ,
|
||||||
|
.Fn krb5_prepend_config_files_default ,
|
||||||
|
or
|
||||||
|
.Fn krb5_prepend_config_files .
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_set_use_admin_kdc
|
||||||
|
sets if all KDC requests should go admin KDC.
|
||||||
|
.Pp
|
||||||
|
.Fn krb5_get_use_admin_kdc
|
||||||
|
gets if all KDC requests should go admin KDC.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr errno 2 ,
|
.Xr errno 2 ,
|
||||||
.Xr krb5 3 ,
|
.Xr krb5 3 ,
|
||||||
|
Reference in New Issue
Block a user