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)
_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) {