From: Jeffrey Altman Date: Wed, 2 Jan 2008 07:08:00 +0000 (+0000) Subject: DEVEL15-windows-nim-afs-krb524-20080102 X-Git-Tag: openafs-devel-1_5_30~23 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ba37e97f8a8b54ea9d727285d85d3b9e5beb7c10;p=packages%2Fo%2Fopenafs.git DEVEL15-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. (cherry picked from commit cfcaa0be3cc22fce97737ae4f6387a8200de770d) --- 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) {