mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
krb5-klog-solaris-krb-20080327
LICENSE IPL10 FIXES 91573 no krb5_mcc_ops on solaris krb5. cope
This commit is contained in:
parent
87e959e87d
commit
e002118066
@ -44,10 +44,6 @@
|
|||||||
#define USING_HEIMDAL 1
|
#define USING_HEIMDAL 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef USING_HEIMDAL
|
|
||||||
extern krb5_cc_ops krb5_mcc_ops;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "assert.h"
|
#include "assert.h"
|
||||||
|
|
||||||
|
|
||||||
@ -598,11 +594,6 @@ CommandProc(struct cmd_syndesc *as, void *arock)
|
|||||||
what = "getting default ccache";
|
what = "getting default ccache";
|
||||||
code = krb5_cc_default(k5context, &cc);
|
code = krb5_cc_default(k5context, &cc);
|
||||||
} else {
|
} 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";
|
what = "krb5_cc_resolve";
|
||||||
code = krb5_cc_resolve(k5context, "MEMORY:core", &cc);
|
code = krb5_cc_resolve(k5context, "MEMORY:core", &cc);
|
||||||
if (code) goto Failed;
|
if (code) goto Failed;
|
||||||
|
Loading…
Reference in New Issue
Block a user