Drop duplicate includedir from krb5.conf

SSSD already provides a config snippet which includes
SSSD_PUBCONF_KRB5_INCLUDE_D_DIR, and having both breaks Java.

Add also a dependency on sssd-krb5 for freeipa-client.

https://pagure.io/freeipa/issue/9267

Signed-off-by: Timo Aaltonen <tjaalton@debian.org>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Timo Aaltonen
2023-04-21 11:30:20 +03:00
committed by Florence Blanc-Renaud
parent 191880bc9f
commit a83ae63578
3 changed files with 3 additions and 18 deletions

View File

@@ -699,19 +699,6 @@ def configure_krb5_conf(
}
])
# SSSD include dir
if configure_sssd:
if not os.path.exists(paths.SSSD_PUBCONF_KRB5_INCLUDE_D_DIR):
os.makedirs(paths.SSSD_PUBCONF_KRB5_INCLUDE_D_DIR, mode=0o755)
opts.extend([
{
'name': 'includedir',
'type': 'option',
'value': paths.SSSD_PUBCONF_KRB5_INCLUDE_D_DIR,
'delim': ' '
},
krbconf.emptyLine()])
# [libdefaults]
libopts = [
krbconf.setOption('default_realm', cli_realm)