Skip to content

Conversation

@sssd-bot
Copy link

This is an automatic backport of PR#8145 test: check is an2ln plugin is disabled or not to branch sssd-2-9, created by @sumit-bose.

Caution

@sumit-bose 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 [email protected]:sssd-bot/sssd.git
git fetch sssd-bot refs/heads/SSSD-sssd-backport-pr8145-to-sssd-2-9
git checkout SSSD-sssd-backport-pr8145-to-sssd-2-9
git push sssd-bot SSSD-sssd-backport-pr8145-to-sssd-2-9 --force

Original commits
e95d3fe - test: check is an2ln plugin is disabled or not

Backported commits

  • 23f9603 - CONFLICT! test: check is an2ln plugin is disabled or not

Original Pull Request Body

The Kerberos 'an2ln' localauth plugin should be disabled in AD and IPA environments where SSSD's localauth plugin can handle the mapping. In a plain Kerberos environment libkrb5 defaults should be used.

Please note, this test is expected to fail until #8136 is commited.

@sumit-bose sumit-bose force-pushed the SSSD-sssd-backport-pr8145-to-sssd-2-9 branch 2 times, most recently from 0f90cbb to c57fc32 Compare November 18, 2025 11:46
@alexey-tikhonov alexey-tikhonov removed the request for review from aplopez November 18, 2025 12:01
@alexey-tikhonov alexey-tikhonov marked this pull request as ready for review November 18, 2025 12:01
@alexey-tikhonov
Copy link
Member

@sumit-bose, hm:

FAILED tests/test_authentication.py::test_disable_an2ln (ipa) - AssertionError: Content of plugin config file does not match
assert None
...
FAILED tests/test_authentication.py::test_disable_an2ln (samba) - AssertionError: Content of plugin config file does not match assert None

@sumit-bose
Copy link
Contributor

@sumit-bose, hm:

FAILED tests/test_authentication.py::test_disable_an2ln (ipa) - AssertionError: Content of plugin config file does not match
assert None
...
FAILED tests/test_authentication.py::test_disable_an2ln (samba) - AssertionError: Content of plugin config file does not match assert None

Hi,

on the client the oroginal RPMs and not the ones build from the PR are installed when the test is run:

INFO     2025-11-19 10:37:31,479      client.test Executing command #203
                                                  Host: client.test
                                                  User: root
                                                  Shell: /usr/bin/env bash -c
                                                  Command: rpm -qf /usr/lib64/sssd/libsss_util.so
                                                  Input: None
                                                  Working directory: None
                                                  Extra environment: 
INFO     2025-11-19 10:37:31,605      client.test Previous command completed with exit code 0
                                                  Output: sssd-common-2.9.7-5.el9.x86_64
                                                  Error output: 

@pbrezina, @alexey-tikhonov any idea why this might happen?

bye,
Sumit

The Kerberos 'an2ln' localauth plugin should be disabled in AD and IPA
environments where SSSD's localauth plugin can handle the mapping. In a
plain Kerberos environment libkrb5 defaults should be used.

Reviewed-by: Alexey Tikhonov <[email protected]>
Reviewed-by: Alejandro López <[email protected]>
(cherry picked from commit e95d3fe)
Reviewed-by: Alexey Tikhonov <[email protected]>
@sssd-bot sssd-bot force-pushed the SSSD-sssd-backport-pr8145-to-sssd-2-9 branch from 09dfd5f to 16a185c Compare November 20, 2025 07:49
@SSSD SSSD deleted a comment from sssd-bot Nov 20, 2025
@pbrezina
Copy link
Member

@sumit-bose, hm:

FAILED tests/test_authentication.py::test_disable_an2ln (ipa) - AssertionError: Content of plugin config file does not match
assert None
...
FAILED tests/test_authentication.py::test_disable_an2ln (samba) - AssertionError: Content of plugin config file does not match assert None

Hi,

on the client the oroginal RPMs and not the ones build from the PR are installed when the test is run:

INFO     2025-11-19 10:37:31,479      client.test Executing command #203
                                                  Host: client.test
                                                  User: root
                                                  Shell: /usr/bin/env bash -c
                                                  Command: rpm -qf /usr/lib64/sssd/libsss_util.so
                                                  Input: None
                                                  Working directory: None
                                                  Extra environment: 
INFO     2025-11-19 10:37:31,605      client.test Previous command completed with exit code 0
                                                  Output: sssd-common-2.9.7-5.el9.x86_64
                                                  Error output: 

@pbrezina, @alexey-tikhonov any idea why this might happen?

bye, Sumit

No idea, the logs shows that the built packages were installed https://github.com/SSSD/sssd/actions/runs/19529532549/job/55909057764#step:6:391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants