SourceForge.net | 16 Aug 2011 07:15
Picon

[ libetpan-Bugs-3391473 ] Response 381 is invalid except for AUTHINFO USER

Bugs item #3391473, was opened at 2011-08-14 15:00
Message generated for change (Comment added) made by hoa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=3391473&group_id=41064

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: NNTP
Group: Latest stable - libEtPan!
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Sébastien Bigaret (sbigaret)
Assigned to: Nobody/Anonymous (nobody)
Summary: Response 381 is invalid except for AUTHINFO USER

Initial Comment:
Hi,

Following RFC4643, in particular see: http://tools.ietf.org/html/rfc4643#section-2.3.1

381 Password required is only valid for «AUTHINFO USER».

My understanding is that the only place where it is valid to return
NEWSNNTP_WARNING_REQUEST_AUTHORIZATION_PASSWORD is in newsnntp_authinfo_username()
[src/low_level/nntp/newsnntp.c], and that any 381 encountered elsewhere should be treated as NEWSNNTP_ERROR_UNEXPECTED_RESPONSE.

I've attached the corresponding patch.

(Continue reading)


Gmane