summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-06-04 10:51:05 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-06-14 21:47:20 +0200
commit64ea4127f463798410a2c20e0261c6b15f60257f (patch)
tree35591187021deb529f91fb069b3cca7fb225ea71 /contrib
parentf4025ea817b3467be1c2e6092014a11fe4547c0d (diff)
downloadsssd-64ea4127f463798410a2c20e0261c6b15f60257f.tar.gz
sssd-64ea4127f463798410a2c20e0261c6b15f60257f.tar.xz
sssd-64ea4127f463798410a2c20e0261c6b15f60257f.zip
IPA: Fetch keytab for 1way trusts
Uses the ipa-getkeytab call to retrieve keytabs for one-way trust relationships. https://fedorahosted.org/sssd/ticket/2636 Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ci/sssd.supp18
-rw-r--r--contrib/sssd.spec.in1
2 files changed, 19 insertions, 0 deletions
diff --git a/contrib/ci/sssd.supp b/contrib/ci/sssd.supp
index b9d13cdd6..06cf64088 100644
--- a/contrib/ci/sssd.supp
+++ b/contrib/ci/sssd.supp
@@ -151,3 +151,21 @@
fun:poptGetNextOpt
fun:main
}
+
+# Some tests initialize c-ares context, then fork a child that just exits
+# without a proper teardown, which means the ares destructor is not called.
+# Suppress those errors.
+{
+ c-ares-suppress-leak-from-init
+ Memcheck:Leak
+ ...
+ fun:ares_init_options
+ fun:recreate_ares_channel
+ fun:resolv_init
+ fun:be_res_init
+ fun:be_init_failover
+ fun:test_ipa_server_create_trusts_setup
+ ...
+ fun:_cmocka_run_group_tests
+ fun:main
+}
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index d4b2a9300..bfee8f8c2 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -765,6 +765,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc COPYING
%attr(755,root,root) %dir %{pubconfpath}/krb5.include.d
+%attr(700,sssd,sssd) %dir %{dbpath}/keytabs
%{_libdir}/%{name}/libsss_ipa.so
%attr(4750,root,sssd) %{_libexecdir}/%{servicename}/selinux_child
%{_mandir}/man5/sssd-ipa.5*