bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Fail


From: Tim Rühsen
Subject: Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures.
Date: Sun, 14 Jul 2013 23:11:29 +0200
User-agent: KMail/4.10.5 (Linux/3.9-1-amd64; KDE/4.10.5; x86_64; ; )

Am Sonntag, 14. Juli 2013, 19:02:36 schrieb Darshit Shah:
> Hi,
> 
> In http.c:3739, we club 3 different error types in one.
> 
> 1. The Server did not send a nonce / realm / uri attribute in the
> WWW-Authenticate Header. This should exit as a Protocol Error, Status 7
> 2. Wget was not invoked with a Username / Password. Authorization Error,
> Status 6.
> 3. We do not understand the qop / algorithm value sent by the server.
> General Error, Status 1.
> 
> I think we should split these errors and exit Wget with the correct status
> codes. It would be wrong to inform the end-user that there was a
> username/password authentication error when in reality the issue was caused
> by, say, the Server sending an incorrect header.
> 
> If there is consensus on fixing this, I'll try and hack a patch soon.

Sounds like a good idea.
That would obsolete my patch that you tested today (thanks for testing).

Are you also working on NTLM support for your server ?
If so, could you test my GnuTLS NTLM patch from yesterday, so Guiseppe can 
apply it if it works.

Thanks, Tim

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]