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

autoProxy doesn't work with proxy requiring Kerberos / NTLM authentication #10804

Open
1 of 2 tasks
AndreasAckermannTSystems opened this issue Nov 21, 2023 · 1 comment
Open
1 of 2 tasks
Labels

Comments

@AndreasAckermannTSystems

Windows Version

Microsoft Windows [Version 10.0.22621.2428]

WSL Version

2.0.9.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-1

Distro Version

Ubuntu 22.04

Other Software

Corporate proxy requiring Kerberos / NTLM authentication

Repro Steps

  1. Be inside a corporate network environment with a proxy that requires Kerberos / NTLM Authentication
  2. Configure WSL with the following .wslconfig:
[wsl2]

networkingMode = mirrored
firewall = true
autoProxy = true
  1. Run apt-get update or curl for any webpage

Expected Behavior

Proxy is configured and authenticated with automatically, apt-get update and curl work out-of-the-box.

Actual Behavior

apt-get update gives me errors like:

Err:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
  407  authenticationrequired [IP: 10.XXX.XXX.XXX 8080]

curling for any webpage, I receive a reply from the proxy containing the following headers and a message in the HTML page that I am not authenticated via Kerberos / NTLM:

< Proxy-Connection: Keep-Alive
< Proxy-Authenticate: Negotiate
< Proxy-Authenticate: NTLM

Diagnostic Logs

No response

@nvtienanh
Copy link

Me too

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

No branches or pull requests

3 participants