Fix build issues: Update expided certificate in unit tests

This commit is contained in:
Lukas Slebodnik 2017-06-27 14:22:05 +02:00
parent af87992184
commit 7be3dab725
3 changed files with 427 additions and 1 deletions

View File

@ -0,0 +1,42 @@
From 2186f88e0449f2303dc84e98c88379ccf8e55714 Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn@redhat.com>
Date: Mon, 8 May 2017 11:56:55 +0200
Subject: [PATCH] KCM: include missing header file
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
man 2 readv says that the header file "sys/uio.h" must be included
for the functions readv/writev
Previously, "sys/uio.h" was included in "sys/socket.h" in glibc.
It worked just by a change. But it will be changed in glibc-2.26.
https://sourceware.org/bugzilla/show_bug.cgi?id=21426
src/responder/kcm/kcmsrv_cmd.c: In function 'kcm_iovec_op':
src/responder/kcm/kcmsrv_cmd.c:75:15: error: implicit declaration of function
'readv'; did you mean 'read'? [-Werror=implicit-function-declaration]
src/responder/kcm/kcmsrv_cmd.c:77:15: error: implicit declaration of function
'writev'; did you mean 'write'? [-Werror=implicit-function-declaration]
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
---
src/responder/kcm/kcmsrv_cmd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/responder/kcm/kcmsrv_cmd.c b/src/responder/kcm/kcmsrv_cmd.c
index 81015de4a91617de3dca444cde95b636c8d5c0d1..0b933f0b41e41dae1a6c14b1c1298d428c016d24 100644
--- a/src/responder/kcm/kcmsrv_cmd.c
+++ b/src/responder/kcm/kcmsrv_cmd.c
@@ -19,6 +19,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <sys/uio.h>
#include <krb5/krb5.h>
#include "config.h"
--
2.13.0

View File

@ -0,0 +1,379 @@
From 2ccfa9502abf52941d8b6e44b5f7cfdd13311a2d Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Mon, 26 Jun 2017 12:22:25 +0200
Subject: [PATCH] tests: update expired certificate
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This is a short term fix to un-break the unit tests. The proper fix
would be to create the certificates at runtime during the tests.
Related to https://pagure.io/SSSD/sssd/issue/3436
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
---
src/tests/cmocka/p11_nssdb/cert9.db | Bin 13312 -> 28672 bytes
src/tests/cmocka/p11_nssdb/key4.db | Bin 14336 -> 36864 bytes
src/tests/cmocka/test_cert_utils.c | 35 +++++++++++++++++-----------------
src/tests/cmocka/test_pam_srv.c | 37 ++++++++++++++++++------------------
4 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/src/tests/cmocka/p11_nssdb/cert9.db b/src/tests/cmocka/p11_nssdb/cert9.db
index c639f5cac07030e1c9d4330b4b91961714aaaee8..71b5f530d89097275a31a018b4f764328c329a10 100644
GIT binary patch
delta 2490
zcmb_e2~-o;8lK5afFy(g0t5&&0hL4{5(tp8l&~lYMz$zR<f$k@#RZ#E0a+5DEYZh0
zr9gcZ!~$AH3<9SQTmVHaPz9j^inw5*P?oAi1Pi>0@?L#D&UvRjy>srJ|DON;-~9L9
z|NH-u?Up?P8A3n7o+vRRJW{ehG>X9mGyxC<To?=h0MxLqn#<rDr~&Lb2^o0>sE}Yl
z9YI=1?W8o42MNBQ1&>1)81Mk3$Z5i%&3ZIY6&=uX1yxW6)fFwLYM_x+9tfiqRI>{d
z^*RXsp2{^`ga*i%fX5X8!~wzx-Wm496)2KYaZrjS9`#!tEj1TBJdLfufj}7`!UW~3
zY%*bDM@U)GzD!z0huy)X&^gax5NmIAfJiavXeU{S6<?O=UvKa(AB&RNMtVKXEwjqn
z@^Y|TRd|xrQ!+F|>!@DnuHQe=$LyFJ3gk0?xL7OA`|M=Ad)n(KTlKPbkX()%`!`Fa
z_~^-!tDVpL`LwJD2GxBLpHM#yP4aXsNXs~tlwTUT{qY83Pp{oIdfv2s1S<x=>Bs!6
ztH-5A&bQp>Z%Gx?wez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y^WNiKBZ8Oq;ByM6JtMjZ}X~}ALw!?27zU(^XiYz=b#=LX)&PaPO
zeWN+YHX>{C8Q0VOFNy-EX1gA5bH1*6xp{u1wU8=1wn+U6h}58SGgOy-3<9;jSM!Uu
zQfE9hS=p|$zWwI8>nDgOHt@$2dHa>zifL7(qGhV*T;<DBg|GZ|cH=wd1T9#8Ctzrk
z?|C70(wHK7tO<yG|G2ZNFQ129;8T6?X);^?hc<F~Jn>z`k$bwUZJ^id#}jF-#4NhX
z+}u9>WTHjcv?F+r?Fl68mGfzj++{B0UO(3;q{@sblEs^VNaumX+UMV!@p=lNT=x9p
zRDYwh$ATNmUkz99PU-pM3Uc8c^Ke5ZjU?;lfCAgar#rRJ41Jt>R_;|__Z2^H-+LX0
zEuyGGDq&2KJmv&M&bEJR^D|>gg=wIg%bIkpt`gxTdP-oabWP~4!i@){ACD)JCmeA2
zxUo4hj~2UgF>b@1Ik&o6Ew3n+m)p|im#;bLBcw`?DH5L1H~u5<#t-zW@|!akrQg^2
zk>z#6AR=A1-!Rppx+`5-siAGV$9N)XzwEX#tT&rwPwF@(IEu$A{~X=gvgL<FT*R!z
J^oqUB{|DlVA29#`
diff --git a/src/tests/cmocka/test_cert_utils.c b/src/tests/cmocka/test_cert_utils.c
index 8003d8daa7063773cf8b37c46ac8759e3a38736f..26b5904c0d749a9c4cf67d4e7d33b7f3109e0514 100644
--- a/src/tests/cmocka/test_cert_utils.c
+++ b/src/tests/cmocka/test_cert_utils.c
@@ -325,32 +325,31 @@ void test_sss_cert_derb64_to_ldap_filter(void **state)
talloc_free(filter);
}
-
#define SSH_TEST_CERT \
"MIIECTCCAvGgAwIBAgIBCDANBgkqhkiG9w0BAQsFADA0MRIwEAYDVQQKDAlJUEEu" \
-"REVWRUwxHjAcBgNVBAMMFUNlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0xNTA2MjMx" \
-"NjMyMDdaFw0xNzA2MjMxNjMyMDdaMDIxEjAQBgNVBAoMCUlQQS5ERVZFT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gLToZnGqVzArkzpr1aCaHI7EoTkpb" \
+"V16v+drZkXc47JuHg5CRjTHV/kFPm63gQ8Fstmw/dQZBzbCiVzmcG0Xm9r4jMOOf" \
+"YjVueMt/jk1LP4KoSCBY6kLMcpL5rQm53hO82rPAgV695rjdPlIUm09dvkCl28ZD" \
+"109Ju18eAaaVFewK82NDg9rsNraBKxMCBSgg0es="
-#define SSH_PUB_KEY "AAAAB3NzaC1yc2EAAAADAQABAAABAQC11KuelZWPmdGliy6RQIxX2xJTwVxkLG2W/OSd3Bsj42jBwvcEvsIwelXuB5kMjy8fIWyDXQ5m2sDB2EL00nC2H7Ki7Y9C6sNtLFFJnnZPhLOTofVR6J3fDGr2MduQ7trvk9IkoDSA4pF4LosAprQI/FQuPXm24CE3IyRszJooriZFd6Pd2L72BdFYyxg0G0FjsuyMc2CXjVSZ2ViqOuwh3aJOqjq5va8ULfNa88Ff5hi2wjFG6/jeDPFEbXexJs2mGUJjZv/7NqMBawmDMaS4lET4/lEWVbge9udOPyMe19BwmwPwFduidu3z2OZ3PAzMH4VAwm06jx/yRI3d5r2P"
+#define SSH_PUB_KEY "AAAAB3NzaC1yc2EAAAADAQABAAABAQC3xABNCFJTgIA03WUBnGANNyD6KIsTZ5FEK7odHlN7sPimBkKEtWAnQhyc0XPiH7qnTZ7YLRgyKVgA0cAeIfet6QSJqTElOS9U+LohzQqb5fXjLeMp5MXbjmviZiVL6r8Huxo/Yg6peJVpiXF76u+P8jnNzAUj0AnYP6R2VOufjY0mZmc5TXjVd7UCq4THurTNNKWotooF4pX1KczlNr/gF+vaDnrK6k1JfYtnglIqxmp0fZfeXclQnJiAyXdj9jSyJIWxxkYrX0wv7UGeBvhHYPUk8PGPuJY6dq0x7OfXVkQXthp/GWbfM2eVrjcQEVRdUxyPV+snV/7qGs/Ee6X5"
void test_cert_to_ssh_key(void **state)
{
diff --git a/src/tests/cmocka/test_pam_srv.c b/src/tests/cmocka/test_pam_srv.c
index 0f92f05417025e41a702127099d1d01e269412dc..351067eb664431cda159f73590de772920504380 100644
--- a/src/tests/cmocka/test_pam_srv.c
+++ b/src/tests/cmocka/test_pam_srv.c
@@ -49,30 +49,31 @@
#define TEST_TOKEN_NAME "SSSD Test Token"
#define TEST_MODULE_NAME "NSS-Internal"
-#define TEST_KEY_ID "6822EDDD231DAB8DBCD83721BE16A13DD0E31C08"
+#define TEST_KEY_ID "A5EF7DEE625CA5996C8D1BA7D036708161FD49E7"
#define TEST_TOKEN_CERT \
-"MIIECTCCAvGgAwIBAgIBCDANBgkqhkiG9w0BAQsFADA0MRIwEAYDVQQKDAlJUEEu" \
-"REVWRUwxHjAcBgNVBAMMFUNlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0xNTA2MjMx" \
-"NjMyMDdaFw0xNzA2MjMxNjMyMDdaMDIxEjAQBgNVBAoMCUlQQS5ERVZFTDEcMBoG" \
+"MIIECTCCAvGgAwIBAgIBCTANBgkqhkiG9w0BAQsFADA0MRIwEAYDVQQKDAlJUEEu" \
+"REVWRUwxHjAcBgNVBAMMFUNlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0xNjA1MjMx" \
+"NDE0MTVaFw0xODA1MjQxNDE0MTVaMDIxEjAQBgNVBAoMCUlQQS5ERVZFTDEcMBoG" \
"A1UEAwwTaXBhLWRldmVsLmlwYS5kZXZlbDCCASIwDQYJKoZIhvcNAQEBBQADggEP" \
-"ADCCAQoCggEBALXUq56VlY+Z0aWLLpFAjFfbElPBXGQsbZb85J3cGyPjaMHC9wS+" \
-"wjB6Ve4HmQyPLx8hbINdDmbawMHYQvTScLYfsqLtj0Lqw20sUUmedk+Es5Oh9VHo" \
-"nd8MavYx25Du2u+T0iSgNIDikXguiwCmtAj8VC49ebbgITcjJGzMmiiuJkV3o93Y" \
-"vvYF0VjLGDQbQWOy7IxzYJeNVJnZWKo67CHdok6qOrm9rxQt81rzwV/mGLbCMUbr" \
-"+N4M8URtd7EmzaYZQmNm//s2owFrCYMxpLiURPj+URZVuB72504/Ix7X0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ZFpwDX43d+EufBkwCUKFX/+8JFDd2doAyeJxv1xM22kKRpc" \
-"AqITPgMsa9ToGMWxjbVpc/X/5YfZixWPF0/eZUTotBj9oaR039UrhGfyN7OguF/G" \
-"rzmxtB5y4ZrMpcD/Oe90mkd9HY7sA/fB8OWOUgeRfQoh97HNS0UiDWsPtfxmjQG5" \
-"zotpoBIZmdH+ipYsu58HohHVlM9Wi5H4QmiiXl+Soldkq7eXYlafcmT7wv8+cKwz" \
-"Nz0Tm3+eYpFqRo3skr6QzXi525Jkg3r6r+kkhxU=" \
+"IEF1dGhvcml0eTAdBgNVHQ4EFgQUIJuWIts3m3uEYqJ9pUL0y7utTiEwDQYJKoZI" \
+"hvcNAQELBQADggEBAB0GyqGxtZ99fsXA1+fHfAwKOwznT7Hh8hN9efEMBJICVud+" \
+"ivUBOH6JpSTWgNLuBhrpebV/b/DSjhn+ayuvoPWng3hjwMbSEIe0euzCEdwVcokt" \
+"bwNMMSeTxSg6wbJnEyZqQEIr2h/TR9dRNxE+RbQXyamW0fUxSVT16iueL0hMwszT" \
+"jCfI/UZv3tDMHbh6D4811A0HO8daW7ufMGb/M+kDxYigJiL2gllMZ+6xba1RRgzF" \
+"8Z+9gqZhCa7FEKJOPNR9RVtJs0qUUutMZrp1zpyx0GTmXQBA7LbgPxy8L68uymEQ" \
+"XyQBwOYRORlnfGyu+Yc9c3E0Wx8Tlznz0lqPR9g="
+
static char CACHED_AUTH_TIMEOUT_STR[] = "4";
static const int CACHED_AUTH_TIMEOUT = 4;
--
2.13.0

View File

@ -34,7 +34,7 @@
Name: sssd
Version: 1.15.3
Release: 0.beta.3%{?dist}
Release: 0.beta.4%{?dist}
Group: Applications/System
Summary: System Security Services Daemon
License: GPLv3+
@ -177,6 +177,8 @@ Patch0132: 0132-cache_req-Avoid-bool-in-switch-case.patch
Patch0133: 0133-ssh-tools-The-ai-structure-is-not-an-array.patch
Patch0134: 0134-ssh-tools-Fix-issues-with-multiple-IP-addresses.patch
Patch0135: 0135-ssh-tools-Split-connect-and-communication-phases.patch
Patch0136: 0136-KCM-include-missing-header-file.patch
Patch0137: 0137-tests-update-expired-certificate.patch
Patch0502: 0502-SYSTEMD-Use-capabilities.patch
@ -1378,6 +1380,9 @@ fi
%{_libdir}/%{name}/modules/libwbclient.so
%changelog
* Tue Jun 27 2017 Lukas Slebodnik <lslebodn@redhat.com> - 1.15.3-0.beta.4
- Fix build issues: Update expided certificate in unit tests
* Sat Apr 29 2017 Lukas Slebodnik <lslebodn@redhat.com> - 1.15.3-0.beta.3
- Resolves: rhbz#1445680 - Properly fall back to local Smartcard authentication
- Resolves: rhbz#1437199 - sssd-nfs-idmap-1.15.2-1.fc25.x86_64 conflicts with