Article View: news.software.nntp
Article #13240INN 1.5 inews: won't work for users with passwords
From: Jonathan I. Kamens
Date: Thu, 12 Dec 1996 00:00
Date: Thu, 12 Dec 1996 00:00
29 lines
1460 bytes
1460 bytes
(Posted and mailed as shown in the header.)
INN 1.5's inews won't work for users who have passwords in passwd.nntp,
since nnrpd in INN 1.5 requires authentication for the "list" command,
and inews doesn't send the password before executing that command.
Here's a patch:
--- inews.c 1996/12/12 16:36:59 1.1.1.1
+++ inews.c 1996/12/12 20:27:22
@@ -1331,7 +1331,11 @@
}
/* Check the newsgroups. */
- if ((F = CAlistopen(FromServer, ToServer, (char *)NULL)) != NULL) {
+ if ((F = CAlistopen(FromServer, ToServer, (char *)NULL)) == NULL) {
+ if (NNTPsendpassword((char *)NULL, FromServer, ToServer) >= 0)
+ F = CAlistopen(FromServer, ToServer, (char *)NULL);
+ }
+ if (F != NULL) {
if (!ValidNewsgroups(HDR(_newsgroups), F, article)) {
CAclose();
QuitServer(1);
--
Jonathan Kamens | OpenVision Technologies, Inc. | jik@cam.ov.com
Technical Details
Message-ID:
<58pqan$q1c$2@pad-thai.cam.ov.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <58pqan$q1c$2@pad-thai.cam.ov.com> Subject: INN 1.5 inews: won't work for users with passwords Date: Thu, 12 Dec 1996 00:00:00 +0000 From: jik@cam.ov.com (Jonathan I. Kamens) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 203764390 To: inn-bugs@isc.org Organization: OpenVision Technologies, Inc. Cc: jik Newsgroups: news.software.nntp