summaryrefslogtreecommitdiff
path: root/src/providers/krb5
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-08-09 16:09:37 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-10-13 09:49:37 -0400
commit93109c5f1d85c028ce5cf6e31e2249ca90a7f746 (patch)
treea075e329e974689ebfe14d7990fa29dd268fef05 /src/providers/krb5
parent64783bdc0aff447a356c5169c027dadc05dfb312 (diff)
downloadsssd-93109c5f1d85c028ce5cf6e31e2249ca90a7f746.tar.gz
sssd-93109c5f1d85c028ce5cf6e31e2249ca90a7f746.tar.bz2
sssd-93109c5f1d85c028ce5cf6e31e2249ca90a7f746.zip
Initialize kerberos service for GSSAPI
Diffstat (limited to 'src/providers/krb5')
-rw-r--r--src/providers/krb5/krb5_common.c2
-rw-r--r--src/providers/krb5/krb5_common.h6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c
index d41fdb9d..3863acd9 100644
--- a/src/providers/krb5/krb5_common.c
+++ b/src/providers/krb5/krb5_common.c
@@ -426,7 +426,7 @@ done:
}
-static errno_t remove_krb5_info_files(TALLOC_CTX *mem_ctx, const char *realm)
+errno_t remove_krb5_info_files(TALLOC_CTX *mem_ctx, const char *realm)
{
int ret;
errno_t err;
diff --git a/src/providers/krb5/krb5_common.h b/src/providers/krb5/krb5_common.h
index f3bbbb84..6398ea22 100644
--- a/src/providers/krb5/krb5_common.h
+++ b/src/providers/krb5/krb5_common.h
@@ -136,4 +136,10 @@ errno_t krb5_install_offline_callback(struct be_ctx *be_ctx,
errno_t krb5_install_sigterm_handler(struct tevent_context *ev,
struct krb5_ctx *krb5_ctx);
+
+errno_t write_krb5info_file(const char *realm, const char *kdc,
+ const char *service);
+
+errno_t remove_krb5_info_files(TALLOC_CTX *mem_ctx, const char *realm);
+
#endif /* __KRB5_COMMON_H__ */