On Mon, 4 Apr 2005, Hrvoje Niksic wrote:

Is there a test server where one can try out NTLM authentication? I'm working on adapting Daniel's code to Wget, and having a test server would be of great help.

Just for your info:

I had friends providing the test servers for both host and proxy authentication when I've worked on NTLM code.

Once the basics worked, I could add test cases to the curl test suite. Nowadays I can test NTLM on my own with the curl test server. I'm afraid it is too specific for curl to be useful for wget.

Also, since the day I provided that code, I've leared a few additional things:

o I had a buffer security problem in the NTLM code, but related to base64
  decode function and that is bound to be different when you adapt the code
  to wget conditions anwyay.

o There was also another less alarming buffer problem with a memset() of 8
  bytes instead of 5. You may have of course already have found and fixed
  this.

o POSTing with NTLM auth is a pain, since NTLM is for connections and thus you
  cannot close the connection without breaking the auth so thus you are (more
  likely than with other multi-pass auth methods) forced to send the full
  request body multiple times.

And probably a little more that I've forgotten to mention now. ;-)

--
         -=- Daniel Stenberg -=- http://daniel.haxx.se -=-
  ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol

Reply via email to