From cfcaa0be3cc22fce97737ae4f6387a8200de770d Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 2 Jan 2008 07:06:58 +0000 Subject: [PATCH] windows-nim-afs-krb524-20080102 LICENSE MIT Don't call krb524_convert_creds_kdc if it doesn't exist. 64-bit KFW doesn't support krb4 and the function isn't present. --- src/WINNT/netidmgr_plugin/afsfuncs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WINNT/netidmgr_plugin/afsfuncs.c b/src/WINNT/netidmgr_plugin/afsfuncs.c index 471ed98f2..b19140884 100644 --- a/src/WINNT/netidmgr_plugin/afsfuncs.c +++ b/src/WINNT/netidmgr_plugin/afsfuncs.c @@ -1009,8 +1009,8 @@ afs_klog(khm_handle identity, _reportf(L"Trying Krb524"); - if (method == AFS_TOKEN_AUTO || - method == AFS_TOKEN_KRB524) { + if (pkrb524_convert_creds_kdc && + (method == AFS_TOKEN_AUTO || method == AFS_TOKEN_KRB524)) { /* This requires krb524d to be running with the KDC */ r = pkrb524_convert_creds_kdc(context, k5creds, &creds); if (r) { -- 2.39.5