summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2014-11-21 18:07:10 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-11-25 13:28:39 +0100
commit4fa184e2c60b377fd71e0115a618bd68dc73627d (patch)
tree58e84cd4c984c579537e0451272f88d14dcfb9b9 /src/util/util.h
parenteaaeaa7e00c3d4bfa792cc4d3c6770dc1e28ef0c (diff)
downloadsssd-4fa184e2c60b377fd71e0115a618bd68dc73627d.tar.gz
sssd-4fa184e2c60b377fd71e0115a618bd68dc73627d.tar.xz
sssd-4fa184e2c60b377fd71e0115a618bd68dc73627d.zip
AD/IPA: add krb5_confd_path configuration option
With this new parameter the directory where Kerberos configuration snippets are created can be specified. Fixes https://fedorahosted.org/sssd/ticket/2473 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h
index 7c335b9a2..45efd1aef 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -576,8 +576,14 @@ errno_t sssd_domain_init(TALLOC_CTX *mem_ctx,
#define DOM_HAS_VIEWS(dom) ((dom)->has_views)
+/* the directory domain - realm mappings and other krb5 config snippers are
+ * written to */
+#define KRB5_MAPPING_DIR PUBCONF_PATH"/krb5.include.d"
+
errno_t sss_write_domain_mappings(struct sss_domain_info *domain);
+errno_t sss_write_krb5_conf_snippet(const char *path);
+
errno_t get_dom_names(TALLOC_CTX *mem_ctx,
struct sss_domain_info *start_dom,
char ***_dom_names,