krb5_wrap: Rename kerberos_kinit_s4u2_cc()
[samba.git] / source4 / auth / kerberos / kerberos_util.c
index 3c25ebf743c1681b71f4e8c4f311395680edc8ed..618da62665204c7e46cc86b8e73b9b77eef49b93 100644 (file)
@@ -331,12 +331,16 @@ done:
                if (password) {
                        if (impersonate_principal) {
 #ifdef SAMBA4_USES_HEIMDAL
-                               ret = kerberos_kinit_s4u2_cc(
-                                               smb_krb5_context->krb5_context,
-                                               ccache, princ, password,
-                                               impersonate_principal,
-                                               self_service, target_service,
-                                               krb_options, NULL, &kdc_time);
+                               ret = smb_krb5_kinit_s4u2_ccache(smb_krb5_context->krb5_context,
+                                                                ccache,
+                                                                princ,
+                                                                password,
+                                                                impersonate_principal,
+                                                                self_service,
+                                                                target_service,
+                                                                krb_options,
+                                                                NULL,
+                                                                &kdc_time);
 #else
                                talloc_free(mem_ctx);
                                (*error_string) = "INTERNAL error: s4u2 ops "