Move kerberos_kinit_password_cc to krb5samba lib
[mat/samba.git] / lib / krb5_wrap / krb5_samba.h
index 771c43de44b0ee30a17e9c75cb17fad527cb56f6..d235563a7b243e64acabc9653c6a18da3c1b7664 100644 (file)
@@ -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);