-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
PBIS AD login integration #78351
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
PBIS AD login integration #78351
Conversation
318e437
to
952262f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've taken a first pass at review of your module. A number of my comments are just minor points, convention, etc... but there are a few material points I look forward to getting your feedback on. I will test this on one of my servers at some point.
Out of curiosity what are the benefits you saw in this solution compared to others available?
Thanks for contributing this module!
@@ -0,0 +1,148 @@ | |||
{ config, lib, pkgs, ... }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would encourage you to add yourself as a maintainer to this module, if you are interested in doing so.
952262f
to
e5bafdb
Compare
Compatibility. PBIS derives uid/gid from users' SID. |
Oh... you could add |
It is not realistic to manage uids by hand every time people join or leave... |
@tekeri I think you misunderstand... what that configuration does is compute a unique See https://www.markturner.net/2019/09/27/ad-ldap-authentication-on-linux-hosts/ for a good explanation. |
@aanderse Umm.. I'm not sure that configuration utilize same hash function defined in pbis? https://github.com/BeyondTrust/pbis-open/blob/master/lwadtool/libadtool/ids.c#L183 |
@tekeri I was just intending to show you that having a stable |
@aanderse Thanks for the info. But I want to integrate NixOS into the existing network which is out of my control and using pbis there. uid inconsistency cause inconvenience with |
@tekeri yeah, makes sense to me. I was just trying to provide some information in case it provided any value. I think you've done a very good job on this module so far, which I imagine wasn't easy given the constraints of the software. I'm happy to give this a test after someone else (possibly @infinisil?) provides some more review on this. 👍 |
@aanderse I'm happy to hear that, too. |
ping, just for remind 😃 |
I marked this as stale due to inactivity. → More info |
Motivation for this change
Bring Active Directory authentication to NixOS.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)