From: Douglas Engert Date: Thu, 27 Mar 2008 18:48:46 +0000 (+0000) Subject: DEVEL15-krb5-klog-solaris-krb-20080327 X-Git-Tag: openafs-devel-1_5_35~55 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0a37757b2e26dc6b91be3298d912e918723d094b;p=packages%2Fo%2Fopenafs.git DEVEL15-krb5-klog-solaris-krb-20080327 LICENSE IPL10 FIXES 91573 no krb5_mcc_ops on solaris krb5. cope (cherry picked from commit e0021180665fa75af88c3ebf0d7f58f93918ceab) --- diff --git a/src/aklog/klog.c b/src/aklog/klog.c index 40f1e31c7..be356041e 100644 --- a/src/aklog/klog.c +++ b/src/aklog/klog.c @@ -50,10 +50,6 @@ #define USING_HEIMDAL 1 #endif -#ifndef USING_HEIMDAL -extern krb5_cc_ops krb5_mcc_ops; -#endif - #include "assert.h" @@ -604,11 +600,6 @@ CommandProc(struct cmd_syndesc *as, char *arock) what = "getting default ccache"; code = krb5_cc_default(k5context, &cc); } else { -#ifdef HAVE_KRB5_CC_REGISTER - what = "krb5_cc_register"; - code = krb5_cc_register(k5context, &krb5_mcc_ops, FALSE); - if (code && code != KRB5_CC_TYPE_EXISTS) goto Failed; -#endif what = "krb5_cc_resolve"; code = krb5_cc_resolve(k5context, "MEMORY:core", &cc); if (code) goto Failed;