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

[Feature request] Choice of authentication mode #73

Closed
JeromeRF opened this issue Dec 12, 2018 · 1 comment
Closed

[Feature request] Choice of authentication mode #73

JeromeRF opened this issue Dec 12, 2018 · 1 comment

Comments

@JeromeRF
Copy link

Hi genotrance,
My corporate firewall supports different authentication protocols and answers NTML before KERBEROS.
Because of that and the way the "do_proxy_table" function is implemented (if NTLM is supported choose NTLM then if KERBEROS is supported choose KERBEROS then if NEGOTIATE is supported choose NEGOTIATE) NTLM is choosed by px. But I would like to use Kerberos as there is no configuration at all in the configuration file (and no password stored in clear).
There may be a way to configure px to force Kerberos but I did not found it.
I made a quick and dirty patch by inverting the order of the choice in the "do_proxy_table" function and it works very well. But the patch can not be pushed this way as this order may have been carefully chosen.
Could it be possible to add a parameter in the px.ini file to force the choice of protocol (or the order of protocol detection).
Thanks very much.

@genotrance
Copy link
Owner

It appears there's a misunderstanding here. If you do choose NTLM, there is still no need to specify the password since Px uses pywin32 to do the auth automatically. Even if a password were required on systems which don't belong to the corporate network, the password is still stored in the Windows Credential Manager so there is no need for clear passwords.

Regardless, I have added support for picking Kerberos in the INI file if you so prefer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants