Article View: news.software.nntp
Article #50798Re: Authentication
From: Jeffrey M. Vinocur
Date: Sat, 24 Feb 2001 03:25
Date: Sat, 24 Feb 2001 03:25
41 lines
2343 bytes
2343 bytes
In article <nzFl6.420$p5.1817@news1.rivrw1.nsw.optushome.com.au>, Brad <flyboy@optushome.com.au> wrote: >Is it possible to have INN ask for user/pass and then post as the username >described in the username field, rather than what the person has in their >news client? [ I assume you're using a current version of INN ] Would you settle for having the "Sender:" header reflect the correct information (the user can still modify "From: " -- for example, to set full name or preferred email address)? If so, there's a flag "nnrpdauthsender" in inn.conf that _almost_ does what you want: 1 for articles posted without authenticating (e.g., if IP address is checked), INN will remove any Sender: header given by the user 2 INN will generate a Sender: header using the username (and possibly "default-domain" in readers.conf) and add it to each post from an authenticated user 3 if the user authenticates and supplies a Sender: header, it is used You probably won't have any (1)s. (2) is the behavior you are looking for. (3) is somewhat a bug -- it probably made sense once, but no one remembers why any longer; it is being eliminated. I believe it's fixed in the latest snapshots. If you prefer, I can send you the patch to eliminate (3) from INN 2.3 (it's a very small patch). -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<9779ig$9ua$1@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-03!supernews.com!news-feed.riddles.org.uk!news.litech.org!not-for-mailReferences:
<nzFl6.420$p5.1817@news1.rivrw1.nsw.optushome.com.au>Show Full Headers
Complete Article Headers
Message-ID: <9779ig$9ua$1@marduk.litech.org> Subject: Re: Authentication Date: Sat, 24 Feb 2001 03:25:04 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <nzFl6.420$p5.1817@news1.rivrw1.nsw.optushome.com.au> 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-03!supernews.com!news-feed.riddles.org.uk!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Lithium Technologies Lines: 40 Sender: jeff@litech.org NNTP-Posting-Host: marduk.litech.org X-Trace: marduk.litech.org 982985104 10186 128.84.154.54 (24 Feb 2001 03:25:04 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Sat, 24 Feb 2001 03:25:04 +0000 (UTC) X-Newsreader: trn 4.0-test75 (Feb 13, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)