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

fix(pam/nativemodel): Do not report the authentication denied PAM error twice #553

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

3v1n0
Copy link
Collaborator

@3v1n0 3v1n0 commented Sep 24, 2024

In case that the authentication failed, the authentication model sends a pamError that includes the error message and that our pam module will eventually write.

So, there's no need to handle the error again in the native module or we'd duplicate such error string

UDENG-4763

In case that the authentication failed, the authentication model
sends a pamError that includes the error message and that our pam module
will eventually write.

So, there's no need to handle the error again in the native module or
we'd duplicate such error string
@3v1n0 3v1n0 requested a review from a team as a code owner September 24, 2024 17:39
@3v1n0 3v1n0 changed the title pam/nativemodel: Do not report the authentication denied PAM error twice fix(pam/nativemodel): Do not report the authentication denied PAM error twice Sep 24, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.74%. Comparing base (1f7c6e5) to head (affbc42).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #553      +/-   ##
==========================================
- Coverage   84.78%   84.74%   -0.04%     
==========================================
  Files          79       79              
  Lines        6955     6957       +2     
  Branches       75       75              
==========================================
- Hits         5897     5896       -1     
- Misses        739      741       +2     
- Partials      319      320       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@3v1n0 3v1n0 merged commit faa84f2 into ubuntu:main Sep 24, 2024
6 checks 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.

3 participants