Thread View: news.software.nn
3 messages
3 total messages
Started by Chris Mattern
Sun, 08 Nov 1998 00:00
Using nn with a server that requires a username/password
Author: Chris Mattern
Date: Sun, 08 Nov 1998 00:00
Date: Sun, 08 Nov 1998 00:00
10 lines
1078 bytes
1078 bytes
Is this possible? If so, how do you do it?
Please post a response to the newsgroup; I researched
the question on DejaNews, but although over half-a-dozen
people asked it, no response was posted to the group,
so I must ask it again.
Chris Mattern
Re: Using nn with a server that requires a username/password
Author: Michael T Pins
Date: Mon, 09 Nov 1998 00:00
Date: Mon, 09 Nov 1998 00:00
16 lines
1326 bytes
1326 bytes
Chris Mattern <matternc@mattern.alexandria.va.us> writes: >Is this possible? If so, how do you do it? At the moment, no, it's not. I've never needed it, and, in fact, I've never seen a spec for it. If there is some kind of "standard" for how it works, and someone sends it to me, I'll hack together a fix for it. -- ************************************************************************ * Michael T Pins | mtpins@visi.com * * keeper of the nn sources | mtpins@isca.uiowa.edu * * ftp.isca.uiowa.edu | #include <std.disclaimer> *
Re: Using nn with a server that requires a username/password
Author: Jason Heiss
Date: Thu, 12 Nov 1998 00:00
Date: Thu, 12 Nov 1998 00:00
51 lines
2990 bytes
2990 bytes
nn-tk has very basic support for reading news from a server that requires authentication with the authinfo method. (See the send_user_info function in nntp.c.) nn-tk doesn't support posting to a server with authentication though. I did modify the nn-tk code a little bit so that it prompts you for a password. Otherwise you have to hardcode the password in ~/.nn/authinfo. I looked into adding support for posting to a server with authentication but it gets messy because nn calls its aux script which in turn calls inews from the inn package. inews also has basic support for authentication but in a braindead way that references a system wide configuration file for the username and password to use. See the passwd.nntp(5) manpage and lib/sendpass.c in the inn package. I'm not sure how "standard" the authinfo method of authentication is. The passwd.nntp manpage says "The ``authinfo'' command is a common extension to RFC 977." Basically I decided that the best way to add such support was to abandon the aux script and inews and include the code to post articles in nn. Otherwise you have to modify inews and somehow attempt to securely pass a password through the aux shell script to inews. Or force the user to hardcode his password in a configuration file. Neither of which seemed like particularly attractive options. Jason mtpins@visi.com (Michael T Pins) writes: >Chris Mattern <matternc@mattern.alexandria.va.us> writes: >>Is this possible? If so, how do you do it? >At the moment, no, it's not. >I've never needed it, and, in fact, I've never seen a spec for it. >If there is some kind of "standard" for how it works, and someone sends it >to me, I'll hack together a fix for it. >-- >************************************************************************ >* Michael T Pins | mtpins@visi.com * >* keeper of the nn sources | mtpins@isca.uiowa.edu * >* ftp.isca.uiowa.edu | #include <std.disclaimer> * -- # Jason Heiss # Pencom Systems Administration # # Voice: 310-364-5895 # Onsite at Hughes Space and # # Pager: 800-759-8888 pin 879-9457 # Communications in El Segundo, CA # # jheiss@psa.pencom.com jheiss@ugcs.caltech.edu jheiss@hsc.hac.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