]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-krb5-klog-solaris-krb-20080327
authorDouglas Engert <deengert@anl.gov>
Thu, 27 Mar 2008 18:48:59 +0000 (18:48 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 27 Mar 2008 18:48:59 +0000 (18:48 +0000)
LICENSE IPL10
FIXES 91573

no krb5_mcc_ops on solaris krb5. cope

(cherry picked from commit e0021180665fa75af88c3ebf0d7f58f93918ceab)

src/aklog/klog.c

index d757906c0cc07fd2696f3616069e7ffb1e117f87..a729e1488f2ee5fe237029c30d4c568097b0cf92 100644 (file)
 #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;