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

allow logging in with smartcard and username+password #631

Merged
merged 1 commit into from
Apr 17, 2020

Conversation

mrbaseman
Copy link
Collaborator

This should perhaps be tested by someone who actively uses smartcard login without username and password. I remember that usual practice was to have dummy entries in username and password which is a configuration which would be broken by this commit. Anyhow, if those users change their config file to include an empty line for username and password, I would expect it to work again, but I would have a better feeling if someone could confirm this.

@mrbaseman
Copy link
Collaborator Author

@simowdas has confirmed that this works for him and solves #629

@mrbaseman
Copy link
Collaborator Author

we have the feature request for logging in with username+password+smartcard and we have a solution for this in my smartcard branch. I would like to have this change tested in other scenarios (smartcard without username+password or only regular user certificate, i.e. without username+password etc.).
I went through the older issues and the pull requests in this area and have collected the users who have contributed or reported.
@rmuehl @kamushadenes @Claudiuion @nicolaerosia @martinetd @sabino @epsilon77 could you help us and test this change in your environment, please?

If you have a dummy entry for the username in the config file and you log in without username+password, please put empty entries in the config file:

username =
password =

If you need a password, either put it in the config file or remove the password line from the config (or comment it out).

It would be great if you could provide your feedback to this. Thank you.

@mrbaseman mrbaseman force-pushed the smartcard branch 2 times, most recently from 2dad2bc to d9d8aaa Compare April 9, 2020 07:48
@mrbaseman mrbaseman changed the title allow logging in with smartcard and username, password allow logging in with smartcard and username+password Apr 9, 2020
@DimitriPapadopoulos
Copy link
Collaborator

@mrbaseman Not much feedback about this change. Perhaps we should merge and hope it is tested a little bit more in the master branch.

@mrbaseman mrbaseman merged commit abf1a95 into adrienverge:master Apr 17, 2020
@mrbaseman
Copy link
Collaborator Author

Ok. It's a pity that we didn't receive much feedback, even in those times of close down, when VPN solutions have gathered more importance.
As you have suggested, I have rebased, squashed and merged it, in the hope of getting some more testing and perhaps some feedback before the next release.

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

Successfully merging this pull request may close these issues.

2 participants