[SSSD] [sssd PR#5869][synchronized] Translations update from Weblate

2021-11-11 Thread weblate
   URL: https://github.com/SSSD/sssd/pull/5869
Author: weblate
 Title: #5869: Translations update from Weblate
Action: synchronized

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5869/head:pr5869
git checkout pr5869
From d88046a5bd70a9c5a095d063752ca67ef4b7ff21 Mon Sep 17 00:00:00 2001
From: Weblate 
Date: Thu, 11 Nov 2021 12:34:37 +0100
Subject: [PATCH] po: update translations

(Polish) currently translated at 100.0% (619 of 619 strings)
Translation: SSSD/sssd
Translate-URL: https://translate.fedoraproject.org/projects/sssd/sssd-master/pl/

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: SSSD/sssd
Translate-URL: https://translate.fedoraproject.org/projects/sssd/sssd-master/

po: update translations

(Korean) currently translated at 13.0% (341 of 2615 strings)
Translation: SSSD/sssd-manpage
Translate-URL: https://translate.fedoraproject.org/projects/sssd/sssd-manpage-master/ko/

po: update translations

(Korean) currently translated at 30.7% (190 of 617 strings)
Translation: SSSD/sssd
Translate-URL: https://translate.fedoraproject.org/projects/sssd/sssd-master/ko/
---
 po/ko.po |  1 +
 po/pl.po | 10 +++---
 src/man/po/ko.po | 24 +---
 3 files changed, 21 insertions(+), 14 deletions(-)

diff --git a/po/ko.po b/po/ko.po
index 2887344bd6..55e4dcf29d 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -773,6 +773,7 @@ msgid ""
 "The amount of time in seconds between lookups of the Desktop Profile rules "
 "against the IPA server"
 msgstr ""
+"IPA 서버에 대응하는 데스크탑 프로파일 규칙의 검색 사이에서 초 단위 시간의 양"
 
 #: src/config/SSSDConfig/sssdoptions.py:241
 msgid ""
diff --git a/po/pl.po b/po/pl.po
index dcc888fcf1..a7c37e8e7c 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -16,7 +16,7 @@ msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: sssd-devel@lists.fedorahosted.org\n"
 "POT-Creation-Date: 2021-11-09 16:03+0100\n"
-"PO-Revision-Date: 2021-10-19 14:46+\n"
+"PO-Revision-Date: 2021-11-11 11:34+\n"
 "Last-Translator: Piotr Drąg \n"
 "Language-Team: Polish \n"
@@ -26,7 +26,7 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
 "|| n%100>=20) ? 1 : 2;\n"
-"X-Generator: Weblate 4.8\n"
+"X-Generator: Weblate 4.8.1\n"
 
 #: src/config/SSSDConfig/sssdoptions.py:20
 #: src/config/SSSDConfig/sssdoptions.py:21
@@ -1977,7 +1977,7 @@ msgstr "Opcja -g jest niezgodna z opcją -D lub -i\n"
 #: src/monitor/monitor.c:2401
 #, c-format
 msgid "Running under %, must be root\n"
-msgstr ""
+msgstr "Uruchamianie jako %, musi być rootem\n"
 
 #: src/monitor/monitor.c:2483
 msgid "SSSD is already running\n"
@@ -2691,12 +2691,16 @@ msgstr "Podaje poziom debugowania do ustawienia"
 msgid ""
 "NOTE: Tevent chain ID support missing, request analysis will be limited.\n"
 msgstr ""
+"UWAGA: brak obsługi identyfikatora łańcucha tevent, analiza żądań będzie "
+"ograniczona.\n"
 
 #: src/tools/sssctl/sssctl_logs.c:401
 msgid ""
 "It is recommended to use the --logdir option against tevent chain ID "
 "supported SSSD logs.\n"
 msgstr ""
+"Zalecane jest używanie opcji --logdir przy dziennikach SSSD obsługujących "
+"identyfikator łańcucha tevent.\n"
 
 #: src/tools/sssctl/sssctl_user_checks.c:117
 msgid "SSSD InfoPipe user lookup result:\n"
diff --git a/src/man/po/ko.po b/src/man/po/ko.po
index 422171a822..a3d04d20af 100644
--- a/src/man/po/ko.po
+++ b/src/man/po/ko.po
@@ -8,7 +8,7 @@ msgstr ""
 "Project-Id-Version: sssd-docs 2.5.2\n"
 "Report-Msgid-Bugs-To: sssd-de...@redhat.com\n"
 "POT-Creation-Date: 2021-07-12 20:51+0200\n"
-"PO-Revision-Date: 2021-11-09 05:05+\n"
+"PO-Revision-Date: 2021-11-10 14:05+\n"
 "Last-Translator: simmon \n"
 "Language-Team: Korean \n"
@@ -17,7 +17,7 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Weblate 4.8\n"
+"X-Generator: Weblate 4.8.1\n"
 
 #. type: Content of: 
 #: sss_groupmod.8.xml:5 sssd.conf.5.xml:5 sssd-ldap.5.xml:5 pam_sss.8.xml:5 pam_sss_gss.8.xml:5 sssd_krb5_locator_plugin.8.xml:5 sssd-simple.5.xml:5 sss-certmap.5.xml:5 sssd-ipa.5.xml:5 sssd-ad.5.xml:5 sssd-sudo.5.xml:5 sssd.8.xml:5 sss_obfuscate.8.xml:5 sss_override.8.xml:5 sss_useradd.8.xml:5 sssd-krb5.5.xml:5 sss_groupadd.8.xml:5 sss_userdel.8.xml:5 sss_groupdel.8.xml:5 sss_groupshow.8.xml:5 sss_usermod.8.xml:5 sss_cache.8.xml:5 sss_debuglevel.8.xml:5 sss_seed.8.xml:5 sssd-ifp.5.xml:5 sss_rpcidmapd.5.xml:5 sss_ssh_authorizedkeys.1.xml:5 sss_ssh_knownhostsproxy.1.xml:5 idmap_sss.8.xml:5 sssctl.8.xml:5 sssd-files.5.xml:5 sssd-secrets.5.xml:5 sssd-session-recording.5.xml:5 sssd-kcm.8.xml:5 sssd-systemtap.5.xml:5 sssd-ldap-attributes.5.xml:5
@@ -10703,17 +10703,17 @@ m

[SSSD] [sssd PR#5870][opened] Mark tier2

2021-11-11 Thread sgoveas
   URL: https://github.com/SSSD/sssd/pull/5870
Author: sgoveas
 Title: #5870: Mark tier2
Action: opened

PR body:
"""
None
"""

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5870/head:pr5870
git checkout pr5870
From fac012048e57331587f91ba4bb0a1a1e4b3d202f Mon Sep 17 00:00:00 2001
From: Steeve Goveas 
Date: Wed, 6 Oct 2021 13:20:26 +0530
Subject: [PATCH 1/2] TEST: Update marker to tier1_2 for some ad tier1 tests

To reduce test runtime to around 1 hour
---
 src/tests/multihost/ad/pytest.ini |  3 +-
 .../multihost/ad/test_adparameters_ported.py  | 43 +--
 2 files changed, 3 insertions(+), 43 deletions(-)

diff --git a/src/tests/multihost/ad/pytest.ini b/src/tests/multihost/ad/pytest.ini
index bd4f102151..043f6c7f24 100644
--- a/src/tests/multihost/ad/pytest.ini
+++ b/src/tests/multihost/ad/pytest.ini
@@ -8,6 +8,7 @@ markers =
smbsecretrotation: Samba Secret database rotation
sudo: Test cases related to sudo using AD backend.
cifs: Cifs test cases
-   tier1: All tier1 test cases
+   tier1: tier1 test cases with run time of aproximately 60 minutes
+   tier1_2: tier1 test cases split to keep runtime upto 60 minutes
tier2: All tier2 test cases
tier3: All tier3 test cases
diff --git a/src/tests/multihost/ad/test_adparameters_ported.py b/src/tests/multihost/ad/test_adparameters_ported.py
index 21a4739738..b84aa645cb 100644
--- a/src/tests/multihost/ad/test_adparameters_ported.py
+++ b/src/tests/multihost/ad/test_adparameters_ported.py
@@ -180,13 +180,13 @@ def set_ssh_key_ldap(session_multihost, user, pubkey, operation="replace"):
 return cmd.returncode == 0
 
 
+@pytest.mark.tier1_2
 @pytest.mark.adparameters
 @pytest.mark.usefixtures("change_client_hostname")
 class TestADParamsPorted:
 """ BZ Automated Test Cases for AD Parameters ported from bash"""
 
 @staticmethod
-@pytest.mark.tier1
 def test_0001_ad_parameters_domain(
 multihost, adjoin, create_aduser_group):
 """
@@ -260,7 +260,6 @@ def test_0001_ad_parameters_domain(
 assert su_result, "The su command failed!"
 
 @staticmethod
-@pytest.mark.tier1
 def test_0002_ad_parameters_junk_domain(
 multihost, adjoin, create_aduser_group):
 """
@@ -333,7 +332,6 @@ def test_0002_ad_parameters_junk_domain(
 assert "segfault" not in log_msg_str, "Segfault present in the log!"
 
 @staticmethod
-@pytest.mark.tier1
 def test_0003_ad_parameters_junk_domain_invalid_keytab(
 multihost, adjoin, create_aduser_group):
 """
@@ -450,7 +448,6 @@ def test_0003_ad_parameters_junk_domain_invalid_keytab(
 assert "Option krb5_realm set to JUNK" in log_str
 
 @staticmethod
-@pytest.mark.tier1
 def test_0004_ad_parameters_valid_domain_shorthost(
 multihost, adjoin, create_aduser_group):
 """
@@ -527,7 +524,6 @@ def test_0004_ad_parameters_valid_domain_shorthost(
 assert su_result, "The su command failed!"
 
 @staticmethod
-@pytest.mark.tier1
 def test_0005_ad_parameters_blank_domain(
 multihost, adjoin, create_aduser_group):
 """
@@ -607,7 +603,6 @@ def test_0005_ad_parameters_blank_domain(
 assert su_result, "The su command failed!"
 
 @staticmethod
-@pytest.mark.tier1
 def test_0006_ad_parameters_homedir_override_nss(
 multihost, adjoin, create_plain_aduser_group):
 """
@@ -657,7 +652,6 @@ def test_0006_ad_parameters_homedir_override_nss(
usr_cmd.stdout_text
 
 @staticmethod
-@pytest.mark.tier1
 def test_0007_ad_parameters_homedir_override_domain(
 multihost, adjoin, create_plain_aduser_group):
 """
@@ -706,7 +700,6 @@ def test_0007_ad_parameters_homedir_override_domain(
usr_cmd.stdout_text
 
 @staticmethod
-@pytest.mark.tier1
 def test_0008_ad_parameters_homedir_override_both(
 multihost, adjoin, create_plain_aduser_group):
 """
@@ -756,7 +749,6 @@ def test_0008_ad_parameters_homedir_override_both(
usr_cmd.stdout_text
 
 @staticmethod
-@pytest.mark.tier1
 @pytest.mark.skip(reason="The ldap sasl authid just does not work.")
 def test_0009_ad_parameters_ldap_sasl_full(
 multihost, adjoin, create_aduser_group, fetch_ca_cert):
@@ -859,7 +851,6 @@ def test_0009_ad_parameters_ldap_sasl_full(
 assert su_result, f"Su for user {aduser} failed!"
 
 @staticmethod
-@pytest.mark.tier1
 @pytest.mark.skip(reason="The ldap sasl authid just does not work.")
 def test_0010_ad_parameters_ldap_sasl_short(
 multihost, adjoin, create_aduser_group):
@@ -947,7 +938,6 @@ def test_0010_ad_parameters_ldap_sasl_short(
 assert su_result, f"Su for user {aduser} failed!"
 
 @staticmethod
-@pytest.mark.tier1
 def test_0011_ad_parameters_server_resolvable(
 multihost, adjo

[SSSD] [sssd PR#5812][synchronized] Tests: Modify ported AD tests marker to tier1_2 and fix a restore error

2021-11-11 Thread sgoveas
   URL: https://github.com/SSSD/sssd/pull/5812
Author: sgoveas
 Title: #5812: Tests: Modify ported AD tests marker to tier1_2 and fix a 
restore error
Action: synchronized

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5812/head:pr5812
git checkout pr5812
From b76d014633e90b563e2e6ba9a1998fb8b0a5f5b2 Mon Sep 17 00:00:00 2001
From: Steeve Goveas 
Date: Wed, 6 Oct 2021 13:20:26 +0530
Subject: [PATCH 1/2] Test: Update marker to tier1_2 for some ad tier1 tests

To reduce test runtime to around 1 hour
---
 src/tests/multihost/ad/pytest.ini |  3 +-
 .../multihost/ad/test_adparameters_ported.py  | 43 +--
 2 files changed, 3 insertions(+), 43 deletions(-)

diff --git a/src/tests/multihost/ad/pytest.ini b/src/tests/multihost/ad/pytest.ini
index bd4f102151..043f6c7f24 100644
--- a/src/tests/multihost/ad/pytest.ini
+++ b/src/tests/multihost/ad/pytest.ini
@@ -8,6 +8,7 @@ markers =
smbsecretrotation: Samba Secret database rotation
sudo: Test cases related to sudo using AD backend.
cifs: Cifs test cases
-   tier1: All tier1 test cases
+   tier1: tier1 test cases with run time of aproximately 60 minutes
+   tier1_2: tier1 test cases split to keep runtime upto 60 minutes
tier2: All tier2 test cases
tier3: All tier3 test cases
diff --git a/src/tests/multihost/ad/test_adparameters_ported.py b/src/tests/multihost/ad/test_adparameters_ported.py
index 21a4739738..b84aa645cb 100644
--- a/src/tests/multihost/ad/test_adparameters_ported.py
+++ b/src/tests/multihost/ad/test_adparameters_ported.py
@@ -180,13 +180,13 @@ def set_ssh_key_ldap(session_multihost, user, pubkey, operation="replace"):
 return cmd.returncode == 0
 
 
+@pytest.mark.tier1_2
 @pytest.mark.adparameters
 @pytest.mark.usefixtures("change_client_hostname")
 class TestADParamsPorted:
 """ BZ Automated Test Cases for AD Parameters ported from bash"""
 
 @staticmethod
-@pytest.mark.tier1
 def test_0001_ad_parameters_domain(
 multihost, adjoin, create_aduser_group):
 """
@@ -260,7 +260,6 @@ def test_0001_ad_parameters_domain(
 assert su_result, "The su command failed!"
 
 @staticmethod
-@pytest.mark.tier1
 def test_0002_ad_parameters_junk_domain(
 multihost, adjoin, create_aduser_group):
 """
@@ -333,7 +332,6 @@ def test_0002_ad_parameters_junk_domain(
 assert "segfault" not in log_msg_str, "Segfault present in the log!"
 
 @staticmethod
-@pytest.mark.tier1
 def test_0003_ad_parameters_junk_domain_invalid_keytab(
 multihost, adjoin, create_aduser_group):
 """
@@ -450,7 +448,6 @@ def test_0003_ad_parameters_junk_domain_invalid_keytab(
 assert "Option krb5_realm set to JUNK" in log_str
 
 @staticmethod
-@pytest.mark.tier1
 def test_0004_ad_parameters_valid_domain_shorthost(
 multihost, adjoin, create_aduser_group):
 """
@@ -527,7 +524,6 @@ def test_0004_ad_parameters_valid_domain_shorthost(
 assert su_result, "The su command failed!"
 
 @staticmethod
-@pytest.mark.tier1
 def test_0005_ad_parameters_blank_domain(
 multihost, adjoin, create_aduser_group):
 """
@@ -607,7 +603,6 @@ def test_0005_ad_parameters_blank_domain(
 assert su_result, "The su command failed!"
 
 @staticmethod
-@pytest.mark.tier1
 def test_0006_ad_parameters_homedir_override_nss(
 multihost, adjoin, create_plain_aduser_group):
 """
@@ -657,7 +652,6 @@ def test_0006_ad_parameters_homedir_override_nss(
usr_cmd.stdout_text
 
 @staticmethod
-@pytest.mark.tier1
 def test_0007_ad_parameters_homedir_override_domain(
 multihost, adjoin, create_plain_aduser_group):
 """
@@ -706,7 +700,6 @@ def test_0007_ad_parameters_homedir_override_domain(
usr_cmd.stdout_text
 
 @staticmethod
-@pytest.mark.tier1
 def test_0008_ad_parameters_homedir_override_both(
 multihost, adjoin, create_plain_aduser_group):
 """
@@ -756,7 +749,6 @@ def test_0008_ad_parameters_homedir_override_both(
usr_cmd.stdout_text
 
 @staticmethod
-@pytest.mark.tier1
 @pytest.mark.skip(reason="The ldap sasl authid just does not work.")
 def test_0009_ad_parameters_ldap_sasl_full(
 multihost, adjoin, create_aduser_group, fetch_ca_cert):
@@ -859,7 +851,6 @@ def test_0009_ad_parameters_ldap_sasl_full(
 assert su_result, f"Su for user {aduser} failed!"
 
 @staticmethod
-@pytest.mark.tier1
 @pytest.mark.skip(reason="The ldap sasl authid just does not work.")
 def test_0010_ad_parameters_ldap_sasl_short(
 multihost, adjoin, create_aduser_group):
@@ -947,7 +938,6 @@ def test_0010_ad_parameters_ldap_sasl_short(
 assert su_result, f"Su for user {aduser} failed!"
 
 @staticmethod
-@pytest.mark.tier1
 def test_0011_ad_parameters_se

[SSSD] [sssd PR#5870][synchronized] Mark tier2

2021-11-11 Thread sgoveas
   URL: https://github.com/SSSD/sssd/pull/5870
Author: sgoveas
 Title: #5870: Mark tier2
Action: synchronized

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5870/head:pr5870
git checkout pr5870
From 2258710b1206fa6a016c72430477bf26724adaa7 Mon Sep 17 00:00:00 2001
From: Steeve Goveas 
Date: Thu, 11 Nov 2021 17:28:16 +0530
Subject: [PATCH] TESTS: Add tier2 marker for ipa tests

Some of the ipa tests would be executed as tier1 tests. Added markers
for the ones that were not marked and would run as tier2 tests
---
 src/tests/multihost/ipa/pytest.ini  | 1 +
 src/tests/multihost/ipa/test_adhbac.py  | 1 +
 src/tests/multihost/ipa/test_adtrust.py | 1 +
 src/tests/multihost/ipa/test_hbac.py| 1 +
 4 files changed, 4 insertions(+)

diff --git a/src/tests/multihost/ipa/pytest.ini b/src/tests/multihost/ipa/pytest.ini
index 6be7556333..d6b535fd3f 100644
--- a/src/tests/multihost/ipa/pytest.ini
+++ b/src/tests/multihost/ipa/pytest.ini
@@ -1,6 +1,7 @@
 [pytest]
 markers =
 tier1: tier1 test cases
+tier1: tier2 test cases
 hbac: Tests hbac in ipa provider environment
 trust: Tests related to IPA AD Trust
 adhbac: Test related to HBAC in IPA-AD Trust environment
diff --git a/src/tests/multihost/ipa/test_adhbac.py b/src/tests/multihost/ipa/test_adhbac.py
index 5d960bf636..971a14729c 100644
--- a/src/tests/multihost/ipa/test_adhbac.py
+++ b/src/tests/multihost/ipa/test_adhbac.py
@@ -16,6 +16,7 @@
 @pytest.mark.usefixtures('disable_allow_all_hbac',
  'create_ad_users',
  'create_ad_groups')
+@pytest.mark.tier2
 @pytest.mark.adhbac
 class TestADTrustHbac(object):
 """ AD Trust HBAC Test cases """
diff --git a/src/tests/multihost/ipa/test_adtrust.py b/src/tests/multihost/ipa/test_adtrust.py
index 64ff28aa3c..3f2fc66c1b 100644
--- a/src/tests/multihost/ipa/test_adtrust.py
+++ b/src/tests/multihost/ipa/test_adtrust.py
@@ -15,6 +15,7 @@
 
 
 @pytest.mark.usefixtures('setup_ipa_client')
+@pytest.mark.tier2
 @pytest.mark.trust
 class TestADTrust(object):
 """ IPA AD Trust tests """
diff --git a/src/tests/multihost/ipa/test_hbac.py b/src/tests/multihost/ipa/test_hbac.py
index da62ef7c1c..510be0cec0 100644
--- a/src/tests/multihost/ipa/test_hbac.py
+++ b/src/tests/multihost/ipa/test_hbac.py
@@ -18,6 +18,7 @@
 @pytest.mark.usefixtures('default_ipa_users',
  'disable_allow_all_hbac',
  'reset_password')
+@pytest.mark.tier2
 @pytest.mark.hbac
 class Testipahbac(object):
 
___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[SSSD] [sssd PR#5870][edited] Mark tier2

2021-11-11 Thread sgoveas
   URL: https://github.com/SSSD/sssd/pull/5870
Author: sgoveas
 Title: #5870: Mark tier2
Action: edited

___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[SSSD] [sssd PR#5870][edited] TESTS: Add tier2 marker for ipa tests

2021-11-11 Thread sgoveas
   URL: https://github.com/SSSD/sssd/pull/5870
Author: sgoveas
 Title: #5870: TESTS: Add tier2 marker for ipa tests
Action: edited

 Changed field: body
Original value:
"""
Some of the ipa tests would be executed as tier1 tests. Added markers
for the ones that were not marked and would run as tier2 tests
"""

 Changed field: title
Original value:
"""
Mark tier2
"""

___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[SSSD] [sssd PR#5870][synchronized] TESTS: Add tier2 marker for ipa tests

2021-11-11 Thread sgoveas
   URL: https://github.com/SSSD/sssd/pull/5870
Author: sgoveas
 Title: #5870: TESTS: Add tier2 marker for ipa tests
Action: synchronized

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5870/head:pr5870
git checkout pr5870
From 04d64db729a8304a6e6c0332b6786e722e73daef Mon Sep 17 00:00:00 2001
From: Steeve Goveas 
Date: Thu, 11 Nov 2021 17:28:16 +0530
Subject: [PATCH] TESTS: Add tier2 marker for ipa tests

Some of the ipa tests would be executed as tier1 tests. Added markers
for the ones that were not marked and would run as tier2 tests
---
 src/tests/multihost/ipa/pytest.ini  | 1 +
 src/tests/multihost/ipa/test_adhbac.py  | 1 +
 src/tests/multihost/ipa/test_adtrust.py | 1 +
 src/tests/multihost/ipa/test_hbac.py| 1 +
 4 files changed, 4 insertions(+)

diff --git a/src/tests/multihost/ipa/pytest.ini b/src/tests/multihost/ipa/pytest.ini
index 6be7556333..98efaa70a1 100644
--- a/src/tests/multihost/ipa/pytest.ini
+++ b/src/tests/multihost/ipa/pytest.ini
@@ -1,6 +1,7 @@
 [pytest]
 markers =
 tier1: tier1 test cases
+tier2: tier2 test cases
 hbac: Tests hbac in ipa provider environment
 trust: Tests related to IPA AD Trust
 adhbac: Test related to HBAC in IPA-AD Trust environment
diff --git a/src/tests/multihost/ipa/test_adhbac.py b/src/tests/multihost/ipa/test_adhbac.py
index 5d960bf636..971a14729c 100644
--- a/src/tests/multihost/ipa/test_adhbac.py
+++ b/src/tests/multihost/ipa/test_adhbac.py
@@ -16,6 +16,7 @@
 @pytest.mark.usefixtures('disable_allow_all_hbac',
  'create_ad_users',
  'create_ad_groups')
+@pytest.mark.tier2
 @pytest.mark.adhbac
 class TestADTrustHbac(object):
 """ AD Trust HBAC Test cases """
diff --git a/src/tests/multihost/ipa/test_adtrust.py b/src/tests/multihost/ipa/test_adtrust.py
index 64ff28aa3c..3f2fc66c1b 100644
--- a/src/tests/multihost/ipa/test_adtrust.py
+++ b/src/tests/multihost/ipa/test_adtrust.py
@@ -15,6 +15,7 @@
 
 
 @pytest.mark.usefixtures('setup_ipa_client')
+@pytest.mark.tier2
 @pytest.mark.trust
 class TestADTrust(object):
 """ IPA AD Trust tests """
diff --git a/src/tests/multihost/ipa/test_hbac.py b/src/tests/multihost/ipa/test_hbac.py
index da62ef7c1c..510be0cec0 100644
--- a/src/tests/multihost/ipa/test_hbac.py
+++ b/src/tests/multihost/ipa/test_hbac.py
@@ -18,6 +18,7 @@
 @pytest.mark.usefixtures('default_ipa_users',
  'disable_allow_all_hbac',
  'reset_password')
+@pytest.mark.tier2
 @pytest.mark.hbac
 class Testipahbac(object):
 
___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[SSSD] [sssd PR#5762][comment] krb5: add support for idp:oauth2 challenge

2021-11-11 Thread pbrezina
  URL: https://github.com/SSSD/sssd/pull/5762
Title: #5762: krb5: add support for idp:oauth2 challenge

pbrezina commented:
"""
Updated the patch. It now supports latest padata format and 
verification_uri_complete attribute. Registration of padata type number is in 
progress.
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/5762#issuecomment-966306819
___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[SSSD] [sssd PR#5870][+Waiting for review] TESTS: Add tier2 marker for ipa tests

2021-11-11 Thread sgoveas
  URL: https://github.com/SSSD/sssd/pull/5870
Title: #5870: TESTS: Add tier2 marker for ipa tests

Label: +Waiting for review
___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[SSSD] [sssd PR#5870][+Tests] TESTS: Add tier2 marker for ipa tests

2021-11-11 Thread sgoveas
  URL: https://github.com/SSSD/sssd/pull/5870
Title: #5870: TESTS: Add tier2 marker for ipa tests

Label: +Tests
___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[SSSD] [sssd PR#5845][comment] sss-analyze: Fix self imports

2021-11-11 Thread Dessa
  URL: https://github.com/SSSD/sssd/pull/5845
Title: #5845: sss-analyze: Fix self imports

Dessa commented:
"""
i'd like to see the --without-python3-bindings case handled too - because 
currently it installs files to **/**sssd
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/5845#issuecomment-966582530
___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[SSSD] [sssd PR#5872][opened] p11_child: Fixes for authentication

2021-11-11 Thread dpward
   URL: https://github.com/SSSD/sssd/pull/5872
Author: dpward
 Title: #5872: p11_child: Fixes for authentication
Action: opened

PR body:
"""
This addresses several issues when searching for a token for 
(pre-)authentication, in particular when `--wait_for_card` is used. It includes 
a partial fix for #5025 (RHBZ 1989996), so that tokens for authentication may 
be inserted into any slot on a single PKCS #11 module.

This also includes fixes for possible memory leaks and unhandled error 
conditions in this part of the code.
"""

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5872/head:pr5872
git checkout pr5872
From d8954f01437ebd777eed9d36256703fd9d722637 Mon Sep 17 00:00:00 2001
From: David Ward 
Date: Thu, 11 Nov 2021 11:00:00 -0500
Subject: [PATCH 01/11] p11_child: Fix printing of non-null-terminated strings
 in wait_for_card()

---
 src/p11_child/p11_child_openssl.c | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/p11_child/p11_child_openssl.c b/src/p11_child/p11_child_openssl.c
index be9bc42421..89649d71a8 100644
--- a/src/p11_child/p11_child_openssl.c
+++ b/src/p11_child/p11_child_openssl.c
@@ -1609,9 +1609,14 @@ static errno_t wait_for_card(CK_FUNCTION_LIST *module, CK_SLOT_ID *slot_id,
 return EIO;
 }
 DEBUG(SSSDBG_TRACE_ALL,
-  "Description [%s] Manufacturer [%s] flags [%lu] "
+  "Description [%.*s] Manufacturer [%.*s] flags [%lu] "
   "removable [%s] token present [%s].\n",
-  info->slotDescription, info->manufacturerID, info->flags,
+  (int) p11_kit_space_strlen(info->slotDescription,
+ sizeof(info->slotDescription)),
+  info->slotDescription,
+  (int) p11_kit_space_strlen(info->manufacturerID,
+ sizeof(info->manufacturerID)),
+  info->manufacturerID, info->flags,
   (info->flags & CKF_REMOVABLE_DEVICE) ? "true": "false",
   (info->flags & CKF_TOKEN_PRESENT) ? "true": "false");
 

From 59e9ee3607d9ad31d6fbc8fad920e6d1c5d9ed7a Mon Sep 17 00:00:00 2001
From: David Ward 
Date: Thu, 11 Nov 2021 11:00:00 -0500
Subject: [PATCH 02/11] p11_child: Include return value of PKCS #11 API calls
 in debug messages

---
 src/p11_child/p11_child_openssl.c | 20 ++--
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/src/p11_child/p11_child_openssl.c b/src/p11_child/p11_child_openssl.c
index 89649d71a8..36f3e5516d 100644
--- a/src/p11_child/p11_child_openssl.c
+++ b/src/p11_child/p11_child_openssl.c
@@ -1605,7 +1605,8 @@ static errno_t wait_for_card(CK_FUNCTION_LIST *module, CK_SLOT_ID *slot_id,
 
 rv = module->C_GetSlotInfo(*slot_id, info);
 if (rv != CKR_OK) {
-DEBUG(SSSDBG_OP_FAILURE, "C_GetSlotInfo failed\n");
+DEBUG(SSSDBG_OP_FAILURE, "C_GetSlotInfo failed [%lu][%s].\n",
+ rv, p11_kit_strerror(rv));
 return EIO;
 }
 DEBUG(SSSDBG_TRACE_ALL,
@@ -1706,7 +1707,8 @@ errno_t do_card(TALLOC_CTX *mem_ctx, struct p11_ctx *p11_ctx,
 memset(&module_info, 0, sizeof(CK_INFO));
 rv = modules[c]->C_GetInfo(&module_info);
 if (rv != CKR_OK) {
-DEBUG(SSSDBG_OP_FAILURE, "C_GetInfo failed.\n");
+DEBUG(SSSDBG_OP_FAILURE, "C_GetInfo failed [%lu][%s].\n",
+ rv, p11_kit_strerror(rv));
 ret = EIO;
 goto done;
 }
@@ -1722,7 +1724,8 @@ errno_t do_card(TALLOC_CTX *mem_ctx, struct p11_ctx *p11_ctx,
 num_slots = MAX_SLOTS;
 rv = modules[c]->C_GetSlotList(CK_FALSE, slots, &num_slots);
 if (rv != CKR_OK) {
-DEBUG(SSSDBG_OP_FAILURE, "C_GetSlotList failed.\n");
+DEBUG(SSSDBG_OP_FAILURE, "C_GetSlotList failed [%lu][%s].\n",
+ rv, p11_kit_strerror(rv));
 ret = EIO;
 goto done;
 }
@@ -1730,7 +1733,9 @@ errno_t do_card(TALLOC_CTX *mem_ctx, struct p11_ctx *p11_ctx,
 for (s = 0; s < num_slots; s++) {
 rv = modules[c]->C_GetSlotInfo(slots[s], &info);
 if (rv != CKR_OK) {
-DEBUG(SSSDBG_OP_FAILURE, "C_GetSlotInfo failed\n");
+DEBUG(SSSDBG_OP_FAILURE,
+  "C_GetSlotInfo failed [%lu][%s].\n",
+  rv, p11_kit_strerror(rv));
 ret = EIO;
 goto done;
 }
@@ -1761,7 +1766,9 @@ errno_t do_card(TALLOC_CTX *mem_ctx, struct p11_ctx *p11_ctx,
 if ((info.flags & CKF_TOKEN_PRESENT) && uri != NULL) {
 rv = modules[c]->C_GetTokenInfo(slots[s], &token_info);
  

[SSSD] [sssd PR#5872][edited] p11_child: Fixes for authentication

2021-11-11 Thread dpward
   URL: https://github.com/SSSD/sssd/pull/5872
Author: dpward
 Title: #5872: p11_child: Fixes for authentication
Action: edited

 Changed field: body
Original value:
"""
This addresses several issues when searching for a token for 
(pre-)authentication, in particular when `--wait_for_card` is used. It includes 
a partial fix for #5025 (RHBZ 1989996), so that tokens for authentication may 
be inserted into any slot on a single PKCS #11 module.

This also includes fixes for possible memory leaks and unhandled error 
conditions in this part of the code.
"""

___
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure