Thread View: news.software.nntp
1 messages
1 total messages
Started by Jonathan I. Kamens
Thu, 12 Dec 1996 00:00
INN 1.5 inews: won't work for users with passwords
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads