summaryrefslogtreecommitdiff
path: root/lib/krb5_wrap/krb5_samba.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-04-26 11:05:51 -0400
committerSimo Sorce <idra@samba.org>2012-05-04 16:51:28 +0200
commit29d284c245c1b3458712c8140cd7b0d1ae175d1f (patch)
tree292f7657a2a06dcef322553d34b314ca66ab0471 /lib/krb5_wrap/krb5_samba.h
parent38a5a2c5c59029889d6c7c6dc80ab087956ca651 (diff)
downloadsamba-29d284c245c1b3458712c8140cd7b0d1ae175d1f.tar.gz
samba-29d284c245c1b3458712c8140cd7b0d1ae175d1f.tar.bz2
samba-29d284c245c1b3458712c8140cd7b0d1ae175d1f.zip
Move kerberos_kinit_password_cc to krb5samba lib
Diffstat (limited to 'lib/krb5_wrap/krb5_samba.h')
-rw-r--r--lib/krb5_wrap/krb5_samba.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h
index 771c43de44..d235563a7b 100644
--- a/lib/krb5_wrap/krb5_samba.h
+++ b/lib/krb5_wrap/krb5_samba.h
@@ -205,6 +205,16 @@ krb5_error_code kerberos_kinit_keyblock_cc(krb5_context ctx, krb5_ccache cc,
krb5_get_init_creds_opt *krb_options,
time_t *expire_time,
time_t *kdc_time);
+krb5_error_code kerberos_kinit_password_cc(krb5_context ctx,
+ krb5_ccache store_cc,
+ krb5_principal init_principal,
+ const char *init_password,
+ krb5_principal impersonate_principal,
+ const char *self_service,
+ 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);