Comments (4)
It seems that PR had two issues:
- it was quite big, trying to tackle multiple problems
- it broke authentication in some environments
My proposal would be to have a PR with just this fix and to introduce the structs refactoring in a separate PR. Then both can be tested independently for compatibility with different implementations. As they might touch the same code, you may have to provide one after the other. Smaller PRs with independent fixes have a much higher chance than getting merged than large PRs.
from cntlm.
Thanks @arminfelder. Can you provide a PR with just the fix (how to retrieve the userDom and use it instead of target), and after another PR with the code refactoring?
from cntlm.
Indeed the equivalent of NTOWFv2 in cntlm is correct, because it is passntlm2
that is computed by this function:
Lines 200 to 224 in 83f7c54
from cntlm.
It turns out that the actual issue was that the authentication message is not complete when the target info is missing from the challenge. This is fixed with commit 533f137.
from cntlm.
Related Issues (20)
- http_parse_basic leaves password in memory when freeing buffer HOT 2
- CNTLM Crash with big NPM Project (Windows 10) HOT 12
- Misleading comments in cntlm.conf HOT 5
- Integration with osx keychain HOT 2
- Encountering SIGSEGV after on successful request (statically linked, libpacparser, ppc64le) HOT 5
- Hang/crash when after a *lot* of consecutive requests HOT 2
- PacFile truncated after 50 chars HOT 1
- Build fails on macOS HOT 3
- background mode + gss auth, cntlm crashes at the very first request HOT 2
- pacparser.c: pacparser_find_proxy: Pac parser is not initialized.
- Domain is cut off after 50 characters HOT 2
- The Cygwin version of cntlm fails pthread_join() HOT 3
- build cntlm.exe on linux ubuntu OS HOT 4
- Are the build binaries avialable? HOT 1
- Detailed logging and adding custom headers HOT 5
- Authenticating against target server hangs the thread when sending a POST request (that has a non empty body) HOT 4
- NoProxy waits indefinitely when server's 401 Unauthorized comes with a body
- cntlm crashed in sparc solaris 11 HOT 11
- Make direct failback if proxy is unavailable for a certain period of time HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cntlm.