diff options
| author | Kevin Wasserman <kevin.wasserman@painless-security.com> | 2012-07-17 14:25:39 -0400 |
|---|---|---|
| committer | Ben Kaduk <kaduk@mit.edu> | 2012-08-23 15:29:42 -0400 |
| commit | fd2d1932d262e6e342f795f9aaab2da62585fae2 (patch) | |
| tree | 413fb74e0a3bd7fae7c12b5a49bba01e81c6bb3f /src/windows/leashdll | |
| parent | 1aac6932b77e7dd13a43f1d098b39313dc6474ae (diff) | |
Load additional krb5 and come_err funcs
Required for multiple identity management and for migration of code from
leashdll to leash proper.
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7238 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Diffstat (limited to 'src/windows/leashdll')
| -rw-r--r-- | src/windows/leashdll/leashdll.c | 24 | ||||
| -rw-r--r-- | src/windows/leashdll/leashdll.h | 12 |
2 files changed, 36 insertions, 0 deletions
diff --git a/src/windows/leashdll/leashdll.c b/src/windows/leashdll/leashdll.c index 4c736c0ea..b6d631877 100644 --- a/src/windows/leashdll/leashdll.c +++ b/src/windows/leashdll/leashdll.c @@ -33,6 +33,7 @@ DECL_FUNC_PTR(krb5_get_init_creds_opt_set_address_list); DECL_FUNC_PTR(krb5_get_init_creds_opt_set_out_ccache); DECL_FUNC_PTR(krb5_get_init_creds_password); DECL_FUNC_PTR(krb5_build_principal_ext); +DECL_FUNC_PTR(krb5_cc_get_name); DECL_FUNC_PTR(krb5_cc_resolve); DECL_FUNC_PTR(krb5_cc_default); DECL_FUNC_PTR(krb5_cc_default_name); @@ -86,6 +87,17 @@ DECL_FUNC_PTR(krb5_free_default_realm); DECL_FUNC_PTR(krb5_principal_compare); DECL_FUNC_PTR(krb5_string_to_deltat); DECL_FUNC_PTR(krb5_is_config_principal); +DECL_FUNC_PTR(krb5_cccol_cursor_new); +DECL_FUNC_PTR(krb5_cccol_cursor_free); +DECL_FUNC_PTR(krb5_cccol_cursor_next); +DECL_FUNC_PTR(krb5_cc_cache_match); +DECL_FUNC_PTR(krb5_cc_get_type); +DECL_FUNC_PTR(krb5_cc_new_unique); +DECL_FUNC_PTR(krb5_cc_support_switch); +DECL_FUNC_PTR(krb5_cc_switch); +DECL_FUNC_PTR(krb5_cc_get_full_name); +DECL_FUNC_PTR(krb5_free_string); +DECL_FUNC_PTR(krb5int_cc_user_set_default_name); // ComErr functions DECL_FUNC_PTR(com_err); @@ -133,6 +145,7 @@ FUNC_INFO k5_fi[] = { MAKE_FUNC_INFO(krb5_get_init_creds_opt_set_out_ccache), MAKE_FUNC_INFO(krb5_get_init_creds_password), MAKE_FUNC_INFO(krb5_build_principal_ext), + MAKE_FUNC_INFO(krb5_cc_get_name), MAKE_FUNC_INFO(krb5_cc_resolve), MAKE_FUNC_INFO(krb5_cc_default), MAKE_FUNC_INFO(krb5_cc_default_name), @@ -186,6 +199,17 @@ FUNC_INFO k5_fi[] = { MAKE_FUNC_INFO(krb5_principal_compare), MAKE_FUNC_INFO(krb5_string_to_deltat), MAKE_FUNC_INFO(krb5_is_config_principal), + MAKE_FUNC_INFO(krb5_cccol_cursor_new), + MAKE_FUNC_INFO(krb5_cccol_cursor_next), + MAKE_FUNC_INFO(krb5_cccol_cursor_free), + MAKE_FUNC_INFO(krb5_cc_cache_match), + MAKE_FUNC_INFO(krb5_cc_get_type), + MAKE_FUNC_INFO(krb5_cc_new_unique), + MAKE_FUNC_INFO(krb5_cc_support_switch), + MAKE_FUNC_INFO(krb5_cc_switch), + MAKE_FUNC_INFO(krb5_cc_get_full_name), + MAKE_FUNC_INFO(krb5_free_string), + MAKE_FUNC_INFO(krb5int_cc_user_set_default_name), END_FUNC_INFO }; diff --git a/src/windows/leashdll/leashdll.h b/src/windows/leashdll/leashdll.h index 6f34b9d47..a045583da 100644 --- a/src/windows/leashdll/leashdll.h +++ b/src/windows/leashdll/leashdll.h @@ -172,6 +172,7 @@ extern DECL_FUNC_PTR(krb5_get_init_creds_opt_set_address_list); extern DECL_FUNC_PTR(krb5_get_init_creds_opt_set_out_ccache); extern DECL_FUNC_PTR(krb5_get_init_creds_password); extern DECL_FUNC_PTR(krb5_build_principal_ext); +extern DECL_FUNC_PTR(krb5_cc_get_name); extern DECL_FUNC_PTR(krb5_cc_resolve); extern DECL_FUNC_PTR(krb5_cc_default); extern DECL_FUNC_PTR(krb5_cc_default_name); @@ -189,9 +190,11 @@ extern DECL_FUNC_PTR(krb5_cc_end_seq_get); // extern DECL_FUNC_PTR(krb5_cc_remove_cred); extern DECL_FUNC_PTR(krb5_cc_set_flags); // extern DECL_FUNC_PTR(krb5_cc_get_type); +extern DECL_FUNC_PTR(krb5_cc_get_full_name); extern DECL_FUNC_PTR(krb5_free_context); extern DECL_FUNC_PTR(krb5_free_cred_contents); extern DECL_FUNC_PTR(krb5_free_principal); +extern DECL_FUNC_PTR(krb5_free_string); extern DECL_FUNC_PTR(krb5_get_in_tkt_with_password); extern DECL_FUNC_PTR(krb5_init_context); extern DECL_FUNC_PTR(krb5_parse_name); @@ -225,6 +228,15 @@ extern DECL_FUNC_PTR(krb5_free_default_realm); extern DECL_FUNC_PTR(krb5_principal_compare); extern DECL_FUNC_PTR(krb5_string_to_deltat); extern DECL_FUNC_PTR(krb5_is_config_principal); +extern DECL_FUNC_PTR(krb5_cccol_cursor_new); +extern DECL_FUNC_PTR(krb5_cccol_cursor_next); +extern DECL_FUNC_PTR(krb5_cccol_cursor_free); +extern DECL_FUNC_PTR(krb5_cc_cache_match); +extern DECL_FUNC_PTR(krb5_cc_get_type); +extern DECL_FUNC_PTR(krb5_cc_new_unique); +extern DECL_FUNC_PTR(krb5_cc_support_switch); +extern DECL_FUNC_PTR(krb5_cc_switch); +extern DECL_FUNC_PTR(krb5int_cc_user_set_default_name); #ifndef NO_KRB4 // Krb524 functions |
