Rely on sssd-krb5 to include SSSD-generated krb5 configuration
Resolves: RHBZ#2214563 Signed-off-by: Julien Rische <jrische@redhat.com>
This commit is contained in:
parent
a7cb26cedd
commit
0d91a32452
13
ipa.spec
13
ipa.spec
@ -189,7 +189,7 @@
|
|||||||
|
|
||||||
Name: %{package_name}
|
Name: %{package_name}
|
||||||
Version: %{IPA_VERSION}
|
Version: %{IPA_VERSION}
|
||||||
Release: 2%{?rc_version:.%rc_version}%{?dist}
|
Release: 3%{?rc_version:.%rc_version}%{?dist}
|
||||||
Summary: The Identity, Policy and Audit system
|
Summary: The Identity, Policy and Audit system
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -668,6 +668,7 @@ Requires: jansson
|
|||||||
%endif
|
%endif
|
||||||
Requires: sssd-ipa >= %{sssd_version}
|
Requires: sssd-ipa >= %{sssd_version}
|
||||||
Requires: sssd-idp >= %{sssd_version}
|
Requires: sssd-idp >= %{sssd_version}
|
||||||
|
Requires: sssd-krb5 >= %{sssd_version}
|
||||||
Requires: certmonger >= %{certmonger_version}
|
Requires: certmonger >= %{certmonger_version}
|
||||||
Requires: nss-tools >= %{nss_version}
|
Requires: nss-tools >= %{nss_version}
|
||||||
Requires: bind-utils
|
Requires: bind-utils
|
||||||
@ -1229,10 +1230,8 @@ if [ $1 -gt 1 ] ; then
|
|||||||
test -f '/var/lib/ipa-client/sysrestore/sysrestore.index' && restore=$(wc -l '/var/lib/ipa-client/sysrestore/sysrestore.index' | awk '{print $1}')
|
test -f '/var/lib/ipa-client/sysrestore/sysrestore.index' && restore=$(wc -l '/var/lib/ipa-client/sysrestore/sysrestore.index' | awk '{print $1}')
|
||||||
|
|
||||||
if [ -f '/etc/sssd/sssd.conf' -a $restore -ge 2 ]; then
|
if [ -f '/etc/sssd/sssd.conf' -a $restore -ge 2 ]; then
|
||||||
if ! grep -E -q '/var/lib/sss/pubconf/krb5.include.d/' /etc/krb5.conf 2>/dev/null ; then
|
if grep -E -q '/var/lib/sss/pubconf/krb5.include.d/' /etc/krb5.conf 2>/dev/null ; then
|
||||||
echo "includedir /var/lib/sss/pubconf/krb5.include.d/" > /etc/krb5.conf.ipanew
|
sed -i '\;includedir /var/lib/sss/pubconf/krb5.include.d;d' /etc/krb5.conf
|
||||||
cat /etc/krb5.conf >> /etc/krb5.conf.ipanew
|
|
||||||
mv -Z /etc/krb5.conf.ipanew /etc/krb5.conf
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -1727,6 +1726,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 21 2023 Julien Rische <jrische@redhat.com> - 4.9.12-3
|
||||||
|
- Rely on sssd-krb5 to include SSSD-generated krb5 configuration
|
||||||
|
Resolves: RHBZ#2214563
|
||||||
|
|
||||||
* Thu May 25 2023 Rafael Jeffman <rjeffman@redhat.com> - 4.9.12-1
|
* Thu May 25 2023 Rafael Jeffman <rjeffman@redhat.com> - 4.9.12-1
|
||||||
- Use the OpenSSL certificate parser in cert-find
|
- Use the OpenSSL certificate parser in cert-find
|
||||||
Resolves: RHBZ#2209947
|
Resolves: RHBZ#2209947
|
||||||
|
Loading…
Reference in New Issue
Block a user