Thread View: news.software.nntp
4 messages
4 total messages
Started by Jim Dutton
Wed, 24 Jun 1998 00:00
Re: Authentication - How does it work?
Author: Jim Dutton
Date: Wed, 24 Jun 1998 00:00
Date: Wed, 24 Jun 1998 00:00
18 lines
1933 bytes
1933 bytes
"RAB" <rbarnes@gil.com.au> writes: >I have written a special purpose news client which works well with servers >not requiring authentication. Now I want to extend the program to work >where authentication is required. RFC977 does not seem to specify any INN authentication currently is "passive" in that NNRPD will not force a news client to authenticate. This means that the news client must "actively" authenticate if authentication is required (by the nnrp.access file). After connecting to an INN server, your client will have to issue the authuser/user and authpass/password commands with the proper values. Forte, Inc.'s "FreeAgent" news client and Netscape V4 (with Collabra) are two news 'clients' which provide for a login/authentication configuration. When either of these animules connect to the designated server, they "actively" perform the authentication process before accessing any newsgroups. I don't have any docs at hand, but there is a little in the INN FAQ about authentication, though not about the protocol transaction for such. I believe that there is a little more mixed inbetween the MANual pages and other documents. Go to ISC.ORG and look for their online documentation links.
Re: Authentication - How does it work?
Author: RAB
Date: Thu, 25 Jun 1998 00:00
Date: Thu, 25 Jun 1998 00:00
23 lines
1201 bytes
1201 bytes
Jeremy <jeremy@exit109.com> wrote in article <6mt8k9$4eg$1@news1.exit109.com>... [snip] > > group news.software.nntp > 480 Authentication required for command > authinfo user xxxxx > 381 PASS required > authinfo pass xxxxx > 281 Ok > group news.software.nntp > 211 733 47288 48026 news.software.nntp > > I do believe, however, that there exists server software which will > disconnect you after the 480. Thus, it's probably better to send > authinfo first if you know you need it. Thanks for the info, what you have advised is exactly what I ended up doing. RAB
Re: Authentication - How does it work?
Author: Jeremy
Date: Thu, 25 Jun 1998 00:00
Date: Thu, 25 Jun 1998 00:00
32 lines
1633 bytes
1633 bytes
Jim Dutton <> wrote: > INN authentication currently is "passive" in that NNRPD will not force > a news client to authenticate. This means that the news client must > "actively" authenticate if authentication is required (by the nnrp.access > file). If you try to do a command that requires authentication, and you haven't provided it, nnrpd will reply with a 480. You (as a client) can use that as a cue to send authentication info. Thus: group news.software.nntp 480 Authentication required for command authinfo user xxxxx 381 PASS required authinfo pass xxxxx 281 Ok group news.software.nntp 211 733 47288 48026 news.software.nntp I do believe, however, that there exists server software which will disconnect you after the 480. Thus, it's probably better to send authinfo first if you know you need it. -- Jeremy | jeremy@exit109.com "Who's scruffy-looking?" --Han Solo
Re: Authentication - How does it work?
Author: Jim Dutton
Date: Sun, 28 Jun 1998 00:00
Date: Sun, 28 Jun 1998 00:00
39 lines
2366 bytes
2366 bytes
What you suggest is fine for News servers which require authentication for ALL access, but not for servers which provide unlimited access (to a set of hostnames). A wildcard nnrp.access entry by domain (not domain name) with no authentication required and any other entry with userid and password specified will result in a "passive authentication". In a case of, *our.domain:::<newsgroup controls> :userid:password:<restricted newsgroup(s)> with no other matching definitions, their will be no authentication required to connect to the server, hence - there will be no authentication sequence involved as indicated below. Any authentication in the above scenario requires "active authentication" by the client (program). In the case of an nnrp.access definition which causes a hostname match where there is a userid defined, then authentication will be required before NNRPD will allow any further activity. Jeremy <jeremy@exit109.com> writes: >Jim Dutton <> wrote: > >> INN authentication currently is "passive" in that NNRPD will not force >> a news client to authenticate. This means that the news client must >> "actively" authenticate if authentication is required (by the nnrp.access >> file). > >If you try to do a command that requires authentication, and you haven't >provided it, nnrpd will reply with a 480. You (as a client) can use >that as a cue to send authentication info. > >Thus: > >group news.software.nntp >480 Authentication required for command >authinfo user xxxxx >381 PASS required >authinfo pass xxxxx >281 Ok
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