-
Notifications
You must be signed in to change notification settings - Fork 10
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
SSSD Idmapping with upn mapping #131
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: David Mulder <[email protected]>
dmulder
force-pushed
the
dmulder/sssd_idmap
branch
from
May 16, 2024 17:19
1f61a1e
to
70deb57
Compare
dmulder
changed the title
WIP: SSSD Idmapping with upn mapping
SSSD Idmapping with upn mapping
May 16, 2024
dmulder
force-pushed
the
dmulder/sssd_idmap
branch
6 times, most recently
from
May 16, 2024 19:42
794064e
to
76aa717
Compare
This builds Sumit's experimental idmapping code for EntraID. Signed-off-by: David Mulder <[email protected]>
This has been an issue for a while, but we always picked the first one in the list, so it didn't matter, it seems. Now it is relevant, because the duplicate provider is causing the SSSD idmapping to error due to overlapping ranges. Signed-off-by: David Mulder <[email protected]>
Signed-off-by: David Mulder <[email protected]>
Signed-off-by: David Mulder <[email protected]>
Signed-off-by: David Mulder <[email protected]>
This fixes some issues with PAM prompts, as well as resolving some clippy warnings. Signed-off-by: David Mulder <[email protected]>
These warning are often found in Kanidm code, which I don't directly control. Best if these warnings don't block an MR. Signed-off-by: David Mulder <[email protected]>
Rather than providing a hacky fake uid to satisfy OpenSSH, eliminate this and just use upn idmapping here. If Uuid id mapping is enabled, then just bail out. We can set a stipulation that SSH only works with upn/name id mapping. Signed-off-by: David Mulder <[email protected]>
Signed-off-by: David Mulder <[email protected]>
dmulder
force-pushed
the
dmulder/sssd_idmap
branch
from
May 16, 2024 19:50
76aa717
to
47549c5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #71. Fixes #124.
This replaces the default idmapping. Previously idmapping was based on object id (uuid), but it is now based on user upn by default. The default idmap range has also changed. To return to the previous default (in order to keep idmapping consistent with version 0.3.x), set the following configuration variables:
Be aware that reverting to uuid idmapping prevents users from accessing the host via SSH (on systems which use OpenSSH Server).
Checklist