summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/winbindd_pam.c')
-rw-r--r--source3/winbindd/winbindd_pam.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 83136e4be79..a82046a0040 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -2889,10 +2889,10 @@ static NTSTATUS extract_pac_vrfy_sigs(TALLOC_CTX *mem_ctx, DATA_BLOB pac_blob,
ZERO_STRUCT(entry);
ZERO_STRUCT(cursor);
- k5ret = krb5_init_context(&krbctx);
+ k5ret = smb_krb5_init_context_common(&krbctx);
if (k5ret) {
- DEBUG(1, ("Failed to initialize kerberos context: %s\n",
- error_message(k5ret)));
+ DBG_ERR("kerberos init context failed (%s)\n",
+ error_message(k5ret));
status = krb5_to_nt_status(k5ret);
goto out;
}