Skip to content

[autobackport: sssd-2-9-4] Multihost tests ldap fix - #9024

Open
sssd-bot wants to merge 4 commits into
SSSD:sssd-2-9-4from
sssd-bot:SSSD-sssd-backport-pr9011-to-sssd-2-9-4
Open

[autobackport: sssd-2-9-4] Multihost tests ldap fix#9024
sssd-bot wants to merge 4 commits into
SSSD:sssd-2-9-4from
sssd-bot:SSSD-sssd-backport-pr9011-to-sssd-2-9-4

Conversation

@sssd-bot

Copy link
Copy Markdown
Contributor

This is an automatic backport of PR#9011 Multihost tests ldap fix to branch sssd-2-9-4, created by @spoore1.

Caution

@spoore1 The patches did not apply cleanly. It is necessary to resolve conflicts before merging this pull request. Commits that introduced conflict are marked with CONFLICT!.

You can push changes to this pull request

git remote add sssd-bot git@github.com:sssd-bot/sssd.git
git fetch sssd-bot refs/heads/SSSD-sssd-backport-pr9011-to-sssd-2-9-4
git checkout SSSD-sssd-backport-pr9011-to-sssd-2-9-4
git push sssd-bot SSSD-sssd-backport-pr9011-to-sssd-2-9-4 --force

Original commits
dbeed82 - Tests: multihost ldap to ldaps
1f921d4 - Tests: multihost ssh use ip and sssd snippet perms
a6d78a7 - Tests: multihost remove stderr redirect

Backported commits

  • 5398ac8 - CONFLICT! Tests: multihost ldap to ldaps
  • 4cb9215 - CONFLICT! Tests: multihost ssh use ip and sssd snippet perms
  • be875c9 - Tests: multihost remove stderr redirect

Conflicting Files Information (check for deleted and re-added files)

  • CONFLICT! Tests: multihost ldap to ldaps
On branch SSSD-sssd-backport-pr9011-to-sssd-2-9-4
You are currently cherry-picking commit dbeed82c2.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   src/tests/multihost/alltests/conftest.py

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   src/tests/multihost/sssd/testlib/common/utils.py
```* CONFLICT! Tests: multihost ssh use ip and sssd snippet perms

On branch SSSD-sssd-backport-pr9011-to-sssd-2-9-4
You are currently cherry-picking commit 1f921d4.
(fix conflicts and run "git cherry-pick --continue")
(use "git cherry-pick --skip" to skip this patch)
(use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
modified: src/tests/multihost/alltests/test_krb_access_provider.py
modified: src/tests/multihost/alltests/test_krb_fips.py
modified: src/tests/multihost/alltests/test_ldap_extra_attrs.py
modified: src/tests/multihost/alltests/test_proxy.py
modified: src/tests/multihost/alltests/test_sudo.py

Unmerged paths:
(use "git add ..." to mark resolution)
both modified: src/tests/multihost/alltests/test_config_merging.py


---

**Original Pull Request Body**

Multihost tests fixes for resolving some CI issues in newer distros.   This includes LDAP -> LDAPS, some snippet permissions fixes, and switch a couple of SSH calls to use IP instead of hostnames.

spoore1 added 3 commits July 29, 2026 09:37
Changing everything from ldap to ldaps for URIs.

Reviewed-by: Madhuri Upadhye <mupadhye@redhat.com>
(cherry picked from commit dbeed82)
Switching to IP address for some of the SSH commands that have some
issues in CI resolving hostnames.

Modifying sssd snippet to chown to 600.

Reviewed-by: Madhuri Upadhye <mupadhye@redhat.com>
(cherry picked from commit 1f921d4)
test_0004_k5login_user4_with_deleted_user3 was failing on assert due to
a stderr redirect to stdout.  The ssh was returning foo3 Permission
denied in stderr which was being redirected to stdout to a file and
checked.   This resulted in the assert finding the foo3 user it was
expeecting not to be in there from the "id" command.

Reviewed-by: Madhuri Upadhye <mupadhye@redhat.com>
(cherry picked from commit a6d78a7)
@spoore1
spoore1 force-pushed the SSSD-sssd-backport-pr9011-to-sssd-2-9-4 branch from be875c9 to f93ed13 Compare July 29, 2026 14:38
@spoore1
spoore1 marked this pull request as ready for review July 29, 2026 14:39
@spoore1
spoore1 force-pushed the SSSD-sssd-backport-pr9011-to-sssd-2-9-4 branch from 00bb8f4 to f93ed13 Compare July 29, 2026 21:21
Latest updated version of Kereros missing from pac_responder check.

Also check version in CI job.
@spoore1
spoore1 force-pushed the SSSD-sssd-backport-pr9011-to-sssd-2-9-4 branch from d0899c0 to 67d27ef Compare July 29, 2026 22:27
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.

3 participants