-
Notifications
You must be signed in to change notification settings - Fork 6
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
Map user #43
base: main
Are you sure you want to change the base?
Map user #43
Conversation
This useful in a mixed environment when the loginnames are not equal to the SRAM usernames. WE can then easily convert the different ones. Inspiration from: ! https://mariadb.com/kb/en/user-and-group-mapping-with-pam/ WE use the same input filename
Hi Bas, |
Thanks the code for parsing is from mariadb pam plugin. Another thing what that poped-up. Is that in our environment and maybe others we prefix the login/username with eg: |
That's a pretty nice idea actually. Would would still need user mapping like in this PR if we would have support for prefixes? |
Just back from holidays. Prefixes is just another option that solves another issue. The user mapping is still nice to have so we can use the current logins on the system. |
Hi Bas, Gr, |
This is POC so we can run in a mixed environment where we can map our logins to SRAM username. For example the user
bas
is known in our CUA environment and has a home directory, uid, gid, ...This is user is not known in the SRAM environment. But I want to use
pam-weblogin
for authentication. Then we createa mapping file:
So pam-weblogin will use
<username_in_sram>
for authentication when we ssh:and if there is no mapping then given username is used in this example
jaap