Skip to content

[autobackport: sssd-2-9] man: add details about 'an2ln'#8434

Merged
alexey-tikhonov merged 1 commit into
SSSD:sssd-2-9from
sssd-bot:SSSD-sssd-backport-pr8396-to-sssd-2-9
Feb 7, 2026
Merged

[autobackport: sssd-2-9] man: add details about 'an2ln'#8434
alexey-tikhonov merged 1 commit into
SSSD:sssd-2-9from
sssd-bot:SSSD-sssd-backport-pr8396-to-sssd-2-9

Conversation

@sssd-bot

@sssd-bot sssd-bot commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

This is an automatic backport of PR#8396 man: add details about 'an2ln' to branch sssd-2-9, created by @sumit-bose.

Please make sure this backport is correct.

Note

The commits were cherry-picked without conflicts.

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-pr8396-to-sssd-2-9
git checkout SSSD-sssd-backport-pr8396-to-sssd-2-9
git push sssd-bot SSSD-sssd-backport-pr8396-to-sssd-2-9 --force

Original commits
bcd9998 - man: add details about 'an2ln'

Backported commits

  • 434e738 - man: add details about 'an2ln'

Original Pull Request Body

With a recent security fix the 'an2ln' module was disabled in SSSD's configuration snippet for the localauth configuration of libkrb5. With this patch the related man page is update accordingly.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates the man page for sssd_krb5_localauth_plugin to document that the an2ln module is now disabled in the generated Kerberos configuration snippet. While documenting this change is important, the added text contains a couple of statements that are either ambiguous or appear to be incorrect, which could lead to confusion. I've added two review comments with high and critical severity to address these points and suggest improvements for clarity and accuracy.

Comment on lines +78 to +82
<para>
Note: If using <quote>auth_provider = krb5</quote> then
<command>sssd_krb5_localauth_plugin</command> is not used, therefore
the above text is not applicable.
</para>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

critical

This statement appears to be incorrect. The sssd_krb5_localauth_plugin is a libkrb5 plugin that is most useful when a Kerberos-based authentication provider (krb5, ad, ipa) is configured in SSSD. The ad and ipa providers are specializations that use the krb5 provider's functionality. Stating that the plugin is not used with auth_provider = krb5 is misleading and could cause significant confusion. This paragraph should be removed or corrected.

Comment on lines +67 to +77
This configuration snippet also disables the
<command>an2ln</command> module provided by MIT Kerberos if SSSD is
configured to use the AD or IPA provider. In those environments
<command>sssd_krb5_localauth_plugin</command> can reliably map the
system user names to Kerberos principals. A fallback to
<command>an2ln</command> might cause issues in environments where
users have the privilege to create Kerberos principals on their own
which might collide with names of other users used in the system.
Other modules provided by MIT Kerberos, e.g.
<command>k5login</command> are not affected.
</para>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

The phrasing "if SSSD is configured to use the AD or IPA provider" is ambiguous. It suggests that an2ln is only disabled for AD and IPA providers. If this is a general change to the generated configuration snippet, this sentence should be rephrased to avoid suggesting it's conditional. For example: "This configuration snippet also disables the <command>an2ln</command> module provided by MIT Kerberos. This is particularly beneficial in environments using the AD or IPA provider because..."

@alexey-tikhonov alexey-tikhonov removed their assignment Feb 6, 2026
@alexey-tikhonov
alexey-tikhonov removed their request for review February 6, 2026 15:22
@alexey-tikhonov alexey-tikhonov added the no-backport This should go to target branch only. label Feb 6, 2026
@alexey-tikhonov

Copy link
Copy Markdown
Member

/packit build

1 similar comment
@alexey-tikhonov

Copy link
Copy Markdown
Member

/packit build

With a recent security fix the 'an2ln' module was disabled in SSSD's
configuration snippet for the localauth configuration of libkrb5. With
this patch the related man page is update accordingly.

Reviewed-by: Alexey Tikhonov <[email protected]>
Reviewed-by: Justin Stephenson <[email protected]>
(cherry picked from commit bcd9998)
@sssd-bot

sssd-bot commented Feb 7, 2026

Copy link
Copy Markdown
Contributor Author

The pull request was accepted by @alexey-tikhonov with the following PR CI status:


🟢 CodeQL (success)
🟢 rpm-build:centos-stream-9-x86_64:upstream (success)
🟢 Build / make-distcheck (success)
🟢 ci / prepare (success)
🟢 ci / system (centos-9) (success)
🟢 Static code analysis / codeql (success)
🟢 Static code analysis / pre-commit (success)
🟢 Static code analysis / python-system-tests (success)


There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging.

@sssd-bot
sssd-bot force-pushed the SSSD-sssd-backport-pr8396-to-sssd-2-9 branch from 434e738 to 5c88469 Compare February 7, 2026 15:01
@alexey-tikhonov
alexey-tikhonov merged commit bb225ef into SSSD:sssd-2-9 Feb 7, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accepted no-backport This should go to target branch only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants