diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/heimdal/lib/krb5/context.c | 2 | ||||
-rw-r--r-- | source4/heimdal_build/krb5-glue.c | 21 |
2 files changed, 21 insertions, 2 deletions
diff --git a/source4/heimdal/lib/krb5/context.c b/source4/heimdal/lib/krb5/context.c index 543dba396d..9f17b8c205 100644 --- a/source4/heimdal/lib/krb5/context.c +++ b/source4/heimdal/lib/krb5/context.c @@ -246,9 +246,7 @@ krb5_init_context(krb5_context *context) krb5_cc_register(p, &krb5_acc_ops, TRUE); krb5_cc_register(p, &krb5_fcc_ops, TRUE); krb5_cc_register(p, &krb5_mcc_ops, TRUE); -#if 0 krb5_cc_register(p, &krb5_scc_ops, TRUE); -#endif #ifdef HAVE_KCM krb5_cc_register(p, &krb5_kcm_ops, TRUE); #endif diff --git a/source4/heimdal_build/krb5-glue.c b/source4/heimdal_build/krb5-glue.c index 835e51cc02..b41e3c0271 100644 --- a/source4/heimdal_build/krb5-glue.c +++ b/source4/heimdal_build/krb5-glue.c @@ -57,3 +57,24 @@ krb5_error_code KRB5_LIB_FUNCTION krb5_get_all_client_addrs(krb5_context context return 0; } + +#include "heimdal/lib/krb5/krb5_locl.h" + +const krb5_cc_ops krb5_scc_ops = { + KRB5_CC_OPS_VERSION, + "_NOTSUPPORTED_SDB", + NULL, /* scc_retrieve */ + NULL, /* scc_get_principal */ + NULL, /* scc_get_first */ + NULL, /* scc_get_next */ + NULL, /* scc_end_get */ + NULL, /* scc_remove_cred */ + NULL, /* scc_set_flags */ + NULL, + NULL, /* scc_get_cache_first */ + NULL, /* scc_get_cache_next */ + NULL, /* scc_end_cache_get */ + NULL, /* scc_move */ + NULL, /* scc_get_default_name */ + NULL /* scc_set_default */ +}; |