Thread View: news.software.nntp
9 messages
9 total messages
Started by Jan Chrillesen
Wed, 09 Jun 1999 00:00
Roaming users
Author: Jan Chrillesen
Date: Wed, 09 Jun 1999 00:00
Date: Wed, 09 Jun 1999 00:00
14 lines
1100 bytes
1100 bytes
Hi. Does anyone have experience with roaming users and news? Of course my problem is how to authenticate users. I think the solution might be the latest INN-current using radius for verification, but I would be glad to hear any suggestions on how to make news work for roaming users. We're currently running INN 2.2-stable. /Jan
Re: Roaming users
Author: Jan Chrillesen
Date: Wed, 09 Jun 1999 00:00
Date: Wed, 09 Jun 1999 00:00
22 lines
1650 bytes
1650 bytes
Brad Knowles <brad@shub-internet.org> wrote: > The trick would be tying in your INN configuration to your RADIUS > server so that you could authenticate their passwords without them having > to have accounts or your having to use something bletcherous like NIS on > your news server. Radius is definately the way to go. I *could* pull a copy of the customer database once a day, but I would like to keep only one copy of the datas. > I believe that this is possible with INN 2.2-current (what will likely > turn into 2.3) and the nnrpd.conf configuration file. s/nnrpd.conf/readers.conf/ I looked a bit at the latest current snapshot today and it seems it should be possible. I'll look into it when I get back to work on monday and can talk to our radius guru. /jan
Re: Roaming users
Author: Brad Knowles
Date: Wed, 09 Jun 1999 00:00
Date: Wed, 09 Jun 1999 00:00
27 lines
1742 bytes
1742 bytes
In article <7jl9qh$nc7$1@news.inet.tele.dk>, Jan Chrillesen
<chrille@isa.dknet.dk> wrote:
> Does anyone have experience with roaming users and news? Of course my
> problem is how to authenticate users.
If they authenticate themselves to the server with a userid &
password, you could then allow them to have access.
The trick would be tying in your INN configuration to your RADIUS
server so that you could authenticate their passwords without them having
to have accounts or your having to use something bletcherous like NIS on
your news server.
I believe that this is possible with INN 2.2-current (what will likely
turn into 2.3) and the nnrpd.conf configuration file.
However, if this is what other folks are using, I'd like to hear about
the details -- my knowledge on this issue is purely theoretical.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Re: Roaming users
Author: Dan Foster
Date: Sun, 13 Jun 1999 00:00
Date: Sun, 13 Jun 1999 00:00
87 lines
4257 bytes
4257 bytes
In article <brad-0906991205260001@brad.techos.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: >In article <7jl9qh$nc7$1@news.inet.tele.dk>, Jan Chrillesen ><chrille@isa.dknet.dk> wrote: > >> Does anyone have experience with roaming users and news? Of course my >> problem is how to authenticate users. > > If they authenticate themselves to the server with a userid & >password, you could then allow them to have access. > > The trick would be tying in your INN configuration to your RADIUS >server so that you could authenticate their passwords without them having >to have accounts or your having to use something bletcherous like NIS on >your news server. > > I believe that this is possible with INN 2.2-current (what will likely >turn into 2.3) and the nnrpd.conf configuration file. Yeah, it's pretty trivial with the more recent 2.2-current snapshots. Here's how to do it: 1. Get latest 2.2-current snapshot from ISC via CVS (preferred) or via FTP. Install it. Perhaps on a test machine? You wouldn't even have to set up a news feed to it for just testing authentication, so space/CPU is not an issue. 2. Hop onto your RADIUS server, and create an entry in the 'clients' file with a separate shared secret (password) and restart daemon. 3. I use /news as the prefix - change to fit your location, of course. Create a file in /news/etc/radauth.conf with three items: secret: m00s3h3@d radhost: my.radius.server radport: 1812 (change my.radius.server to the DNS hostname of your RADIUS server, and radport will probably be either 1812 -- official, or the older and depreciated 1645. Also, change secret to whatever you use) 4. Now you will want to make sure the entry in readers.conf under appropriate section(s) looks something like this: auth: "radius -f /news/etc/radauth.conf" That says to run the supplied 'radius' binary in /news/bin/auth/passwd/ that takes authinfo user/pass info, and turns it into a RADIUS request, and parses the RADIUS response, and returns it in form of a numeric code to nnrpd. Add the 'auth' line to any stanzas in readers.conf for those that you wish to do RADIUS authentication for. 5. Test by doing: $ telnet localhost 119 authinfo user <username> authinfo pass <password> quit You *may* need to use 'mode reader' as the first command *if* you don't see the nnrp banner pop up. Also, once nnrpd banner pops up... you have 10 seconds to enter a command, *any* command before it closes the session. Subsequent commands will have 60 seconds by default before idles out, I think. If successful, it should return a '281 Ok'. If failure, it should return a '502 Authentication error'. If you get just numbers (just '281', '502') and no text next to it... then you have a problem somewhere with your setup. And, you would telnet to the appropriate hostname depending on what entries in readers.conf you set up RADIUS for. I set up the RADIUS stuff under the 'localhost' entry, so I can test with 127.0.0.1 or localhost. 6. Read the docs. There are some more RADIUS-related options, such as 'key', that we use because of our local setup (ie tack on a realm). One good place would be 'man readers.conf'. Or read the sources. :-) Good luck. Any problems? Post back to news.software.nntp or join the inn-workers mailing list. -Dan
Re: Roaming users
Author: Jan Chrillesen
Date: Tue, 15 Jun 1999 00:00
Date: Tue, 15 Jun 1999 00:00
15 lines
1291 bytes
1291 bytes
Dan Foster <dsf@frontiernet.net> wrote: > Here's how to do it: Thanks alot. Someone should add your posting to the 2.3 branch. > Good luck. Any problems? Post back to news.software.nntp or join the > inn-workers mailing list. My biggest problem at the moment is that everyone at work seems to be sick, so I don't have the time to do anything except real important work. /jan
Re: Roaming users
Author: bill davidsen
Date: Tue, 15 Jun 1999 00:00
Date: Tue, 15 Jun 1999 00:00
23 lines
1883 bytes
1883 bytes
In article <7juuvd$19vu$1@node17.cwnet.frontiernet.net>, Dan Foster <dsf@frontiernet.net> wrote: | You *may* need to use 'mode reader' as the first command *if* you don't | see the nnrp banner pop up. Also, once nnrpd banner pops up... you have | 10 seconds to enter a command, *any* command before it closes the session. | Subsequent commands will have 60 seconds by default before idles out, I | think. This was such an excelent post, I will add that DATE command is a good thing to beat the ten sec timeout. I sure hope the command timeout hasn't been defaulted down to 60 sec, the startup overhead will eat the machine. But I think it's more like 60 min, although I haven't used it in a while. I have mine set to ten min at the moment, I have a good bit of startup overhead in the local stuff in filter_nnrpd.pl. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc The Internet is not the fountain of youth, but some days it feels like the fountain of immaturity.
Re: Roaming users
Author: Thomas Rother
Date: Thu, 17 Jun 1999 00:00
Date: Thu, 17 Jun 1999 00:00
45 lines
2873 bytes
2873 bytes
Dan Foster wrote in news.software.nntp
> The trick would be tying in your INN configuration to your RADIUS
> >server so that you could authenticate their passwords without them having
> >to have accounts or your having to use something bletcherous like NIS on
> >your news server.
Dan, as you went deeper into that radius/INN auth stuff, you may give an advice on
this:
Is it also possible to transfer access rights through radius? We have a user
database which contains access flags to certain parts (!) of an overall news feed
(internal conferences etc). This is now only done for Terminal access, not nntp. We
want the INN to use the same database and check through a radius server
a. whether username and PW match and this user is allowed to make nntp/nnrpd
requests (that is "standard", as I understand)
b. which distribution of news groups this particular user is allowed to read and
post
Example: user A gets only read/post access to "internal.a.newgroups", user B only
"internal.b.newsgroups". User C gets read/post access to "internal.c.newsgroups"
plus read only access to "internal.allguys". All these sub-branches are present on
the same INN. User D fails to authenticate when accessing INN, therefore he is
rejected completely (no permission to talk ;-) ).
I understand that, through the new readers.conf, it should be possible to grant very
"fine-tuned" access rights. What I don't understand is: is it possible to transport
such access rights from an external database through radius and feed them into INN?
Greetings from Germany,
Thomas
GAIA e.V. Stuttgart - http://www.gaia.de
--
-----------------------------------------------------------
Thomas M. ROTHER -- 73728 Esslingen -- EU/Germany
e-Mail t.rother@gaia.de -- http://www.gaia.de
html & mime mail welcome -- PGP key on request
-----------------------------------------------------------
Re: Roaming users
Author: Dan Foster
Date: Fri, 18 Jun 1999 00:00
Date: Fri, 18 Jun 1999 00:00
28 lines
1889 bytes
1889 bytes
In article <3768A23A.E38021D9@gaia.de>, Thomas Rother <t.rother@gaia.de> wrote: > >Dan Foster wrote in news.software.nntp > >> The trick would be tying in your INN configuration to your RADIUS > >> >server so that you could authenticate their passwords without them having >> >to have accounts or your having to use something bletcherous like NIS on >> >your news server. > >Dan, as you went deeper into that radius/INN auth stuff, you may give an >advice on this: > >Is it also possible to transfer access rights through radius? We have a user Hmm, that functionality doesn't exist in INN right now. I don't think it'd be terribly hard to add some kind of interface, and extra code in radius.c to decode returned A-V pairs. In fact, that was something I was planning to look at, perhaps next month. Although, I do have to say that I'm not sure what's the cleanest way to have 'radius' authenticator program communicate this to nnrpd since it only returns a numeric code/message to stdout (back to the client). -Dan
Re: Roaming users
Author: Aidan Cully
Date: Sat, 19 Jun 1999 00:00
Date: Sat, 19 Jun 1999 00:00
45 lines
2791 bytes
2791 bytes
In news.software.nntp, dsf@frontiernet.net (Dan Foster) wrote: > In article <3768A23A.E38021D9@gaia.de>, > Thomas Rother <t.rother@gaia.de> wrote: > > > >Dan Foster wrote in news.software.nntp > > > >> The trick would be tying in your INN configuration to your RADIUS > > > >> >server so that you could authenticate their passwords without them having > >> >to have accounts or your having to use something bletcherous like NIS on > >> >your news server. > > > >Dan, as you went deeper into that radius/INN auth stuff, you may give an > >advice on this: > > > >Is it also possible to transfer access rights through radius? We have a user > > Hmm, that functionality doesn't exist in INN right now. I don't think it'd > be terribly hard to add some kind of interface, and extra code in radius.c > to decode returned A-V pairs. In fact, that was something I was planning > to look at, perhaps next month. > > Although, I do have to say that I'm not sure what's the cleanest way to > have 'radius' authenticator program communicate this to nnrpd since it only > returns a numeric code/message to stdout (back to the client). Not true. Response from the authenticator to nnrpd is a bunch of lines of the form key:value. Please read authprogs/README.readers.conf in the distribution. Currently, the only supported "key" is "user", but I'm planning to add support for "Read" and "Post" keys.. This is waiting a bit while I work on other (non-INN-related) projects, and contemplate a new config-parser engine that should make config files _much_ easier to create and to maintain than the current readers.conf/incoming.conf/storage.conf engine (which basically does nothing but "get me the next token in the file"). Of course, if you want to work on this, please don't let me stop you. --aidan -- Aidan Cully "Umm.. Could you call back? My house is on fire." Panix Staff --Tom Waits aidan@panix.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