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

Use lowercase usernames #314

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

adombeck
Copy link
Contributor

@adombeck adombeck commented Jan 13, 2025

⚠️ Based on #315, review and merge that first.

Broker part of ubuntu/authd#723

Closes ubuntu/authd#530, ubuntu/authd#531
UDENG-4518
UDENG-4519
UDENG-5802

TODO

  • Figure out how to avoid breaking login when authd was not updated yet
  • Make sure the INITIAL_LOWERCASE_USERNAMES_VERSION is set to the correct version
  • Tag that version on the commit which merges this PR into main
  • Create the msentraid-* tag of that version on the commit which merges main into msentraid
  • Create the google-* tag of that version on the commit which merges main into google

The diffs of mismatching golden files are passed through git-delta since
#207.
The ubuntu-latest label still resolves to Jammy, where git-delta is not
packaged.
It's hard to figure out why authentication is denied if there is no
explanation at all in the logs.
@adombeck adombeck force-pushed the UDENG-4518-case-insensitive-usernames branch from 9b653e2 to 7770282 Compare January 16, 2025 12:25
@adombeck adombeck force-pushed the UDENG-4518-case-insensitive-usernames branch from 7770282 to 29fbea0 Compare January 16, 2025 12:38
@adombeck adombeck marked this pull request as ready for review January 16, 2025 12:46
@adombeck adombeck requested a review from a team as a code owner January 16, 2025 12:46
@@ -21,13 +21,19 @@ jobs:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a reminder to not merge this PR for at least some weeks after the respective change in authd has been released, to reduce the number of users who are impacted by a new authd-msentraid broker being installed along with an incompatible old authd.

Copy link
Member

Choose a reason for hiding this comment

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

Maybe convert it back to draft to prevent any accident?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm afraid it won't show up on the reviewers' radar then :/

Copy link
Member

Choose a reason for hiding this comment

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

we can keep the Jira card for reference?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

@adombeck adombeck marked this pull request as draft January 16, 2025 16:13
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.

Issue: Authentication failure if Entra username and local username differ in upper and lower case
2 participants