krb5-klog-solaris-krb-20080327
authorDouglas Engert <deengert@anl.gov>
Thu, 27 Mar 2008 18:48:22 +0000 (18:48 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 27 Mar 2008 18:48:22 +0000 (18:48 +0000)
LICENSE IPL10
FIXES 91573

no krb5_mcc_ops on solaris krb5. cope

src/aklog/klog.c

index 5b6b738..55f8456 100644 (file)
 #define USING_HEIMDAL 1
 #endif
 
-#ifndef USING_HEIMDAL
-extern krb5_cc_ops krb5_mcc_ops;
-#endif
-
 #include "assert.h"
 
 
@@ -598,11 +594,6 @@ CommandProc(struct cmd_syndesc *as, void *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;