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

How to define username? #9

Open
aubreybox opened this issue May 20, 2018 · 1 comment
Open

How to define username? #9

aubreybox opened this issue May 20, 2018 · 1 comment

Comments

@aubreybox
Copy link

aubreybox commented May 20, 2018

Hello I want to try to use that module for authenticating with pam and sasl.
Is it possible to affect the username so that I can bind a (maybe different) username to a public key?
Is there any documentation on how to adapt this module?

Basically the idea is that bob@client connects password less to alice@server without actively mentioning he's alice - that information would be stored serverside (e.g. username:key-database)

@jbeverly
Copy link
Owner

I think this may be provided by another pam module called pam_alias. Note that the order in the pam stack would matter a great deal since this module uses PAM_USER and PAM_RUSER.

Also, I'm incredibly intrigued about your use case. If you get this working, would you mind giving more details on how you're using this with sasl?

Thanks!

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

No branches or pull requests

2 participants