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

[WIP]SLE-20008: troubleshooting krb #1755

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

[WIP]SLE-20008: troubleshooting krb #1755

wants to merge 6 commits into from

Conversation

Amrita42
Copy link
Contributor

@Amrita42 Amrita42 commented Jul 31, 2024

PR creator: Description

Describe the overall goals of this pull request.
Document troubleshooting Kerberos Auth

PR creator: Are there any relevant issues/feature requests?

SLE-20008

PR creator: Which product versions do the changes apply to?

When opening a PR, check all versions of the documentation that your PR applies to.

  • SLE 15/openSUSE Leap 15.x

    • SLE 15 next/openSUSE Leap next (current main, no backport necessary)
    • SLE 15 SP6/openSUSE Leap 15.6
    • SLE 15 SP5/openSUSE Leap 15.5
    • SLE 15 SP4/openSUSE Leap 15.4
    • SLE 15 SP3/openSUSE Leap 15.3
    • SLE 15 SP2/openSUSE Leap 15.2
  • SLE 12

    • SLE 12 SP5

PR reviewer only: Have all backports been applied?

The doc team member merging your PR will take care of backporting to older documents.
When opening a PR, do not set the following check box.

  • all necessary backports are done

@Amrita42 Amrita42 self-assigned this Jul 31, 2024
@Amrita42
Copy link
Contributor Author

book-security_en.pdf

Copy link
Collaborator

@Firstyear Firstyear left a comment

Choose a reason for hiding this comment

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

Overall I think there need to be some better examples used here with KRB5_TRACE to actually show a user how it works. Generally clarity of how to use the variable needs to be improved too. Did you actually configure and test this?

<sect1 xml:id="sec-security-kerberos-troubleshooting">
<title>Troubleshooting &krb;</title>
<para>
Troubleshooting &krb; issues can be complex because of its role in secure authentication within a network.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Troubleshooting kerberos is complex, because kerberos is a dumpster fire of a service.

I don't think we shuold say this, and this line adds no value to the documentation.

</step>
<step>
<para>
Execute the action that triggers the &krb; authentication issue for example, logging into a service.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Where are the examples? How the KRB5_TRACE help? How does it work? These are things that a user will want to know.

Show an example like:

KRB5_TRACE=/dev/stderr kinit username@realm

<step>
<para>
Enable <envar>KRB5_TRACE</envar> logging by setting the environment variable to a file where you want the
trace logs to be saved. This file will contain detailed information on all the &krb; operations.
Copy link
Collaborator

Choose a reason for hiding this comment

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

instead of "krb operations" which doesn't make sense, try "kerberos commands that are executed".

During &krb; authentication, clients that run local processes using the <literal>system</literal>
account, assign these processes to the machine account when accessing remote resources. The machine account
is associated to the computer name registered with the domain controller and is distinct with a <literal>$</literal>
sign.</para></note>
Copy link
Collaborator

Choose a reason for hiding this comment

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

This paragraph is very vague and potentially inaccurate. Machine accounts are no different to a user account. They just are representing that that entity is a machine, instead of a human. There isn't some magic that gives a "service" on the machine credentials either, it's done through keytabs that have extracted principal information.

I'm really not sure what you are trying to communicate in this note.

<term>Permission issues</term>
<listitem>
<para>
Check if the &krb; principal has the right permissions.
Copy link
Collaborator

Choose a reason for hiding this comment

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

krb principals don't have permissions, what does this mean? KRB is authentication, not authorisation.

<term>DNS issues</term>
<listitem>
<para>
Ensure there is a proper DNS resolution for the KDC and other &krb; related services.
Copy link
Collaborator

Choose a reason for hiding this comment

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

grammar, this reads really awkwardly.

@Amrita42
Copy link
Contributor Author

Amrita42 commented Sep 6, 2024

@Firstyear , its a little complex, would you be willing to give a demo? Meanwhile I will try what you have suggested in the mail..

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.

2 participants