Git Product home page Git Product logo

Comments (4)

nilleb avatar nilleb commented on July 28, 2024

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.

me0wday avatar me0wday commented on July 28, 2024

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.

jongiddy avatar jongiddy commented on July 28, 2024

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.

jongiddy avatar jongiddy commented on July 28, 2024

PR #10 provides that last parenthesized solution.

from cntlm.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.