Article View: news.software.nntp
Article #49901nnrpd config (was Re: rpost question)
From: Jeffrey M. Vinocur
Date: Wed, 17 Jan 2001 05:57
Date: Wed, 17 Jan 2001 05:57
47 lines
3059 bytes
3059 bytes
In article <yl4ryzesav.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: > >This is a standard INN option (nnrpdauthsender) That reminded me to go polish up reader config, and I'm somewhat surprised to see that (with nnrpdauthsender on) any user who authorizes can set Sender: arbitrarily. What is the rationale here? One other thing -- I finally got around to really using readers.conf instead of just trying to emulate nnrp.access with it[1]. This is most definitely better, but I can't figure out how to do something which seems, to me, quite reasonable. I have a database, suitable for ckpasswd, of users. I'd like to allow local users to connect without authenticating, because I trust identd on localhost. However, if a user on localhost would like to authenticate using authinfo (to become a different user), he should be able to. Putting "* --> ckpasswd" first and "localhost --> ident" second leads to (I think -- I didn't verify this) identd being used for localhost even if the user sends authinfo. If I switch them, the * traps everything and gives unauthenticated local users the default identity for the ckpasswd group, instead of using identd. I can get the desired access permissions by special casing for localhost in the access groups, but I lose the ability to have nnrpdauthsender be able to add anything except "localuser" (no information from identd). Is that the best I can do? (Short of perlauth, of course.) I certainly don't require that users on localhost who send incorrect authinfo user/pass still be able to connect based on identd, so the key is being able to distinguish users who haven't sent authinfo (check identd for localhost, fail for all others) from those who have (check ckpasswd database). [1] Symptom: "key" used all over the place :-) -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<943c8b$q2j$3@marduk.litech.org>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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!logbridge.uoregon.edu!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mailReferences:
<3a62eab0$0$18424@reader4> <G77r75.E9q@dgsys.co.uk> <93vuoi$npk$1@taliesin.netcom.net.uk> <yl4ryzesav.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <943c8b$q2j$3@marduk.litech.org> Subject: nnrpd config (was Re: rpost question) Date: Wed, 17 Jan 2001 05:57:31 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <3a62eab0$0$18424@reader4> <G77r75.E9q@dgsys.co.uk> <93vuoi$npk$1@taliesin.netcom.net.uk> <yl4ryzesav.fsf@windlord.stanford.edu> 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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!logbridge.uoregon.edu!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Lithium Technologies Lines: 46 Sender: jeff@marduk.litech.org NNTP-Posting-Host: marduk.litech.org X-Trace: marduk.litech.org 979711051 26707 128.84.154.54 (17 Jan 2001 05:57:31 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Wed, 17 Jan 2001 05:57:31 +0000 (UTC) X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: jeff@litech.org (Jeffrey M. Vinocur)