system-auth: Add support for winbind, like krb5#11
Open
jonesmz wants to merge 2 commits intogentoo:masterfrom
Open
system-auth: Add support for winbind, like krb5#11jonesmz wants to merge 2 commits intogentoo:masterfrom
jonesmz wants to merge 2 commits intogentoo:masterfrom
Conversation
|
@thesamesam what do you think? |
Contributor
Author
|
Hi, could I get some feedback about functionality like this? It'd be nice to not have to keep updating my pam files to support winbind every update. obviously the pull request is out of date, but i still need feedback before i can update it. |
Contributor
Author
|
Hi, been another year, but I received feedback on other tickets in this project. Can I please get some feedback? |
Member
|
In general, rebasing is a prerequisite before pinging. |
This file contains hidden or 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
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.
This hasn't been tested, as I am not an expert at pam, or jinja. This PR is intended to serve as an inspiration for how to go about adding winbind support to the system-auth file, in the same way that krb5 or systemd-homed are supported.
I've been using this (Possibly very broken...?) system-auth file for several years on my domain-controller connected linux machines:
and It'd be great if I could stop needing to figure out what's changed everytime pambase is updated.
The way that I wanted my environment to work was to have the system check the local unix auth for success/fail, before attempting to contact the domain controller. I did this because the timeout for winbind can be kind of long, and if i'm trying to log into a local-only-user on a laptop that's not in the domain controllers network, that gets annoying.
That being said, I don't object to seeing winbind contacted first, like systemd-homed and krb5 are in the template file, if that's the direction you want to go.