Comments (4)
Just use cygwin x64 to compile it. Make sure you've gcc and make in your setup.
Then,
deploy cntlm.exe to c:\program files\cntlm (a folder),
deploy doc/cntlm.conf to c:\program files\cntlm\cntlm.ini
deploy C:\cygwin64\bin\cygwin1.dll to c:\program files\cntlm (a folder)
Finally, execute c:\program files\cntlm\cntlm and answer 'yes' to the windows firewall pop-up
(make sure that your http_proxy is set to http://localhos:3128)
from cntlm.
It just won't compile, it won't even compile for me on OSX either, it says
Compiling ntlm.c
In file included from ntlm.c:28:
In file included from ./ntlm.h:27:
./auth.h:45:21: error: field has incomplete type 'struct sspi_handle'
struct sspi_handle sspi;
^
./auth.h:45:9: note: forward declaration of 'struct sspi_handle'
struct sspi_handle sspi;
^
1 error generated.
make: *** [ntlm.o] Error 1
from cntlm.
This is completely untested, but it looks like you could add a struct definition for the case that __CYGWIN__
is not defined. In sspi.h
try replacing #endif /* __CYGWIN__ */
with
#else
struct sspi_handle
{
int dummy;
};
#endif /* __CYGWIN__ */
(The proper long-term solution is probably to wrap uses of struct sspi_handle
in auth.h
and auth.c
with #ifdef __CYGWIN__
.)
from cntlm.
PR #10 provides that last parenthesized solution.
from cntlm.
Related Issues (13)
- NTLMv2 for SSPI? HOT 1
- CNTLM fails after reboot on newer Linux distributions HOT 4
- parent proxy is a http/https proxy, while cntlm provides socks5 proxy, is that possible? HOT 1
- Is this project dead? HOT 2
- Add headers
- Cygwin configure fails on windows 10
- Build instructions for Windows?
- yum update with cntlm fails HOT 1
- how cntlm use dns
- How to compile on windows? HOT 1
- How does cntlm calculate hashes? Is it possible to use NTLM hash to calculate PassNTLMv2? HOT 2
- Patch implementing PAM support
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.