Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed test_krb_user_ldap_mapping, fixing issued with V3 adoption and add --keep-sssd flag #35

Merged
merged 4 commits into from
Feb 5, 2024

Conversation

GeorgePantelakis
Copy link
Collaborator

The test was removed for several reasons:

  1. The test was never really working. The only reason it was passing was
    because of sssd caching.
  2. The test in order to work needs a lot of extra parameters in sssd
    configuration and there is neither the knowledge nor the time to
    invest in learning it.
  3. The LDAP mapping is not really used in our days and we believe that
    the case the test is testing is very rare.

Fix small errors for the tests to be compatible with V3:

  1. Sanity/test_smart_card_detection.py::test_pam_services_config: added
    new line at the end on /etc/pam.d/pam_cert_service
  2. Sanity/test_sssd_conf.py::test_matchrule_defined_for_other_user: fix
    the way it replaces certmap/shadowutils section
  3. Sanity/test_certs.py::test_wrong_issuer_cert: Fixed typo

add --keep-sssd flag

The test was removed for several reasons:
1) The test was never really working. The only reason it was passing was
   because of sssd caching.
2) The test in order to work needs a lot of extra parameters in sssd
   configuration and there is neither the knowledge nor the time to
   invest in learning it.
3) The LDAP mapping is not really used in our days and we believe that
   the case the test is testing is very rare.
1) Sanity/test_smart_card_detection.py::test_pam_services_config: added
   new line at the end on /etc/pam.d/pam_cert_service
2) Sanity/test_sssd_conf.py::test_matchrule_defined_for_other_user: fix
   the way it replaces certmap/shadowutils section
Copy link
Collaborator

@Jakuje Jakuje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@GeorgePantelakis GeorgePantelakis merged commit f75728c into redhat-qe-security:V3 Feb 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants