Package: inn2-inews Version: 2.4.3+alansz-1 Severity: important Tags: patch
Posting to the news.supernews.com nntp server, as configured since 31 March 2008, using inews -h, fails with "you do not have permission to post", because the nntp server responds to the initial post command with a "480 authentication required" response. inews.c, receiving what is not an "ok" response, terminates the connection rather than attempting to offer the article (at which point authentication, if required, is offered by inews). This patch fixes the problem for me: --- inn-2.4.3.orig/frontends/inews.c 2006-03-19 22:14:57.000000000 -0600 +++ inn-2.4.3/frontends/inews.c 2008-04-08 13:10:39.000000000 -0500 @@ -989,7 +989,7 @@ if ((j = atoi(buff)) != NNTP_BAD_COMMAND_VAL) i = j; - if (i != NNTP_POSTOK_VAL) + if ((i != NNTP_POSTOK_VAL) && (i != NNTP_AUTH_NEEDED_VAL)) die("you do not have permission to post"); deadfile = NULL; } -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages inn2-inews depends on: ii libc6 2.3.6.ds1-13etch5 GNU C Library: Shared libraries ii libdb4.4 4.4.20-8 Berkeley v4.4 Database Libraries [ inn2-inews recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]