summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-08-26 12:19:52 +0200
committerStefan Metzmacher <metze@samba.org>2008-08-26 14:25:44 +0200
commit1c4b84ee4fc0f30b5e2418e029c31fb99570a325 (patch)
tree2219b35725b47d188d103ca3846666a717f4fdcf /source4
parente7c171590aab4f4cd91c1a2f5a04c8f0ed88a70c (diff)
downloadsamba-1c4b84ee4fc0f30b5e2418e029c31fb99570a325.tar.gz
samba-1c4b84ee4fc0f30b5e2418e029c31fb99570a325.tar.bz2
samba-1c4b84ee4fc0f30b5e2418e029c31fb99570a325.zip
heimdal_build: add a fake sqlite keytab implementation
This remove a difference against lorikeet-heimdal. metze (This used to be commit 4314df3561dfe60228db0af220549300b0137c85)
Diffstat (limited to 'source4')
-rw-r--r--source4/heimdal/lib/krb5/context.c2
-rw-r--r--source4/heimdal_build/krb5-glue.c21
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 */
+};