summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2016-02-17 16:40:57 +0100
committerJakub Hrozek <jhrozek@redhat.com>2016-02-23 12:30:24 +0100
commit763f24777fe3c9be4efe495077e7bb1feb99a3bd (patch)
tree1aa814b91d77bd96afefa1b0ab71036ceb22c184 /src
parentf6c1f6a561bdd5b4bba03c02988a724da3dad387 (diff)
downloadsssd-763f24777fe3c9be4efe495077e7bb1feb99a3bd.tar.gz
sssd-763f24777fe3c9be4efe495077e7bb1feb99a3bd.tar.xz
sssd-763f24777fe3c9be4efe495077e7bb1feb99a3bd.zip
subdomains: inherit ldap_krb5_keytab
If a non-default keytab is configured for the parent domain the subdomains will still use the default keytab because the alternative keytab is not inherited. As a consequence SSSD might not be able to connect to services in the subdomain because the default keytab is either not present or does not have suitable keys. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/man/sssd.conf.5.xml4
-rw-r--r--src/providers/ldap/sdap.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml
index e03580bf7..c6ed2e0ee 100644
--- a/src/man/sssd.conf.5.xml
+++ b/src/man/sssd.conf.5.xml
@@ -530,6 +530,10 @@
ldap_user_principal
</para>
<para>
+ ldap_krb5_keytab (the value of krb5_keytab will be
+ used if ldap_krb5_keytab is not set explicitly)
+ </para>
+ <para>
Example:
<programlisting>
subdomain_inherit = ldap_purge_cache_timeout
diff --git a/src/providers/ldap/sdap.c b/src/providers/ldap/sdap.c
index c0863a6d5..888cbb509 100644
--- a/src/providers/ldap/sdap.c
+++ b/src/providers/ldap/sdap.c
@@ -250,6 +250,7 @@ static void sdap_inherit_basic_options(char **inherit_opt_list,
int inherit_options[] = {
SDAP_PURGE_CACHE_TIMEOUT,
SDAP_AD_USE_TOKENGROUPS,
+ SDAP_KRB5_KEYTAB,
SDAP_OPTS_BASIC /* sentinel */
};
int i;