cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: curl-7.10.8-pre3

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 8 Oct 2003 22:59:39 +0200 (CEST)

On Wed, 8 Oct 2003, Roth, Kevin P. wrote:

> TESTDONE: 157 tests out of 157 reported OK: 100%

Nice!

> FYI: I see the following during configure:
>
> checking for inet_pton... no
> checking deeper for inet_pton... but still no
>
> but there are no *errors*.

Not having inet_pton() is perfectly OK. Since you didn't get any build errors
it proves that the inet_pton() code I provided built and linked fine for you.

> 1. When leaving the password off of the command line, like this:
> $ curl --ntlm -u MGROUPNET\\THR -v http://my.url
> I get prompted not just once, but TWICE for my password.
> Is there any chance you could fix up curl to remember the password
> I manually keyed in?

Yes, we should fix that. I can't tell you right now what the problem is, but
we really shouldn't need to ask for the password more than once anyway.

> If the actual user-name being used were output in a verbose line,
> it would probably help. Actually, if both the auth method AND
> the user-name were output, it might be a really nice touch.

Indeed a good idea. I'll work on that!

> 3. When trying out the new --anyauth flag, like this:
> $ curl -v http://my.url --anyauth
> On a web site that returns the following response headers:
> < HTTP/1.1 401 Access Denied
> < Server: Microsoft-IIS/5.0
> < Date: Wed, 08 Oct 2003 14:34:03 GMT
> < WWW-Authenticate: Negotiate
> < WWW-Authenticate: NTLM
> curl attempted to authentication using NTLM. Problem is, I hadn't
> specified any username or password. So, what credentials was it
> attempting to use??? By the way, the "authentication" failed....

It uses its internal default name+password in that case. That is of course
likely to never be a good idea, but it is mostly a result of how things used
to work internally in the past, and I haven't yet corrected it. I don't think
I'll work very hard on fixing this right now, but I'll leave it to be fixed
after 7.10.8 is released.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
Received on 2003-10-08