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

[#680] Add support to get groups for users from secondary domain #681

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

adiroiban
Copy link
Member

@adiroiban adiroiban commented Oct 17, 2022

Scope

Authentication doesn't fully work for users from a secondary domain.

The credentials are validated, but then getting the groups fails.

Changes

Run the group opration in impersonation mode as the newly authenticated user.

Drive-by changes:

  • Updated brink stuff from python-package repo, bringing support for more Alpine versions and RHEL 9.
  • Extended the list of tested distros accordingly.

How to try and test the changes

reviewers: @danuker

FYI

@codecov
Copy link

codecov bot commented Oct 17, 2022

Codecov Report

Merging #681 (6975965) into master (e2ff275) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #681      +/-   ##
==========================================
- Coverage   76.61%   76.59%   -0.02%     
==========================================
  Files          58       58              
  Lines        8059     8061       +2     
  Branches      667      667              
==========================================
  Hits         6174     6174              
- Misses       1734     1736       +2     
  Partials      151      151              
Impacted Files Coverage Δ
chevah/compat/nt_users.py 49.11% <0.00%> (-0.59%) ⬇️

@adiroiban
Copy link
Member Author

@dumol not urgent. When you have time, can you check why the docker tests are failing

looks like this fails due to our github checkout process

@dumol
Copy link
Contributor

dumol commented Oct 19, 2022

looks like this fails due to our github checkout process

Known issue, documented at https://github.com/chevah/compat/blob/master/.github/workflows/docker.yml#L105.

@adiroiban
Copy link
Member Author

adiroiban commented Nov 14, 2022

This was deployed to customer, but the issue was not fixed.

This is complicated, as this is a multi-domain Windows VM, with one-way trust for one of the domain.... complicated stuff and I have no idea how to setup such a Windows domain.

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.

2 participants