diff options
author | Simo Sorce <idra@samba.org> | 2012-04-25 17:29:09 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2012-05-04 16:51:28 +0200 |
commit | 38a5a2c5c59029889d6c7c6dc80ab087956ca651 (patch) | |
tree | 91cef3faaa076439ea4497dc2b84be4577780bdb /lib/krb5_wrap/krb5_samba.h | |
parent | aa1a0d80de8b8c9116f5d5b576e2422d104e6b75 (diff) | |
download | samba-38a5a2c5c59029889d6c7c6dc80ab087956ca651.tar.gz samba-38a5a2c5c59029889d6c7c6dc80ab087956ca651.tar.bz2 samba-38a5a2c5c59029889d6c7c6dc80ab087956ca651.zip |
Move kerberos_kinit_keyblock_cc to krb5samba lib
Make it also work with MIT where krb5_get_in_tkt_with_keyblock is not
available.
Diffstat (limited to 'lib/krb5_wrap/krb5_samba.h')
-rw-r--r-- | lib/krb5_wrap/krb5_samba.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h index 6a0f9dc2fd..771c43de44 100644 --- a/lib/krb5_wrap/krb5_samba.h +++ b/lib/krb5_wrap/krb5_samba.h @@ -198,6 +198,13 @@ krb5_error_code smb_krb5_get_creds(const char *server_s, const char *cc, const char *impersonate_princ_s, krb5_creds **creds_p); +krb5_error_code kerberos_kinit_keyblock_cc(krb5_context ctx, krb5_ccache cc, + krb5_principal principal, + krb5_keyblock *keyblock, + const char *target_service, + krb5_get_init_creds_opt *krb_options, + time_t *expire_time, + time_t *kdc_time); char *smb_krb5_principal_get_realm(krb5_context context, krb5_principal principal); |