Thread View: news.software.nntp
8 messages
8 total messages
Started by Peter
Fri, 24 Jun 2005 11:17
How to show authenticated user in the post?
Author: Peter
Date: Fri, 24 Jun 2005 11:17
Date: Fri, 24 Jun 2005 11:17
10 lines
1531 bytes
1531 bytes
I want every post made thru my INN 2.4.1 server to have Sender: (or X-Sender/whatever) header showing the actual username user authenticated with, i.e., what was passed to auth hook in ClientAuthName parameter. AFAIK inn will only place in Sender header the user _returned_ by the auth hook, not the actual username passed to auth hook. Is there any way of achieving what I want to do? Peter
Re: How to show authenticated user in the post?
Author: Russ Allbery
Date: Fri, 24 Jun 2005 13:17
Date: Fri, 24 Jun 2005 13:17
16 lines
1758 bytes
1758 bytes
Peter <peter@greatnowhere.com> writes:
> I want every post made thru my INN 2.4.1 server to have Sender: (or
> X-Sender/whatever) header showing the actual username user authenticated
> with, i.e., what was passed to auth hook in ClientAuthName
> parameter. AFAIK inn will only place in Sender header the user
> _returned_ by the auth hook, not the actual username passed to auth
> hook. Is there any way of achieving what I want to do?
Er, why would those things be different?
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: How to show authenticated user in the post?
Author: cmkools
Date: Sat, 25 Jun 2005 17:17
Date: Sat, 25 Jun 2005 17:17
19 lines
1745 bytes
1745 bytes
On Fri, 24 Jun 2005 14:17:04 +0300, "Peter" <peter@greatnowhere.com> wrote: >I want every post made thru my INN 2.4.1 server to have Sender: (or >X-Sender/whatever) header showing the actual username user authenticated >with, i.e., what was passed to auth hook in ClientAuthName parameter. AFAIK >inn will only place in Sender header the user _returned_ by the auth hook, >not the actual username passed to auth hook. Is there any way of achieving >what I want to do? > >Peter > Use innreport? -- server: news:news.kools-online.com web: http://www.kools-online.com Stats: http://news.kools-online.com/innreport Key: 0x63DA3BAF
Re: How to show authenticated user in the post?
Author: Aioe
Date: Mon, 27 Jun 2005 15:45
Date: Mon, 27 Jun 2005 15:45
12 lines
1353 bytes
1353 bytes
Peter wrote: > Is there any way of > achieving what I want to do? you have to use the NNRPD internal perl filter (filter_nnrpd.pl) to modify the Sender the internal variable $user seems to include the username used by nnrpd
Re: How to show authenticated user in the post?
Author: Bill Davidsen
Date: Tue, 28 Jun 2005 18:11
Date: Tue, 28 Jun 2005 18:11
23 lines
2450 bytes
2450 bytes
Russ Allbery wrote: > Peter <peter@greatnowhere.com> writes: > > >>I want every post made thru my INN 2.4.1 server to have Sender: (or >>X-Sender/whatever) header showing the actual username user authenticated >>with, i.e., what was passed to auth hook in ClientAuthName >>parameter. AFAIK inn will only place in Sender header the user >>_returned_ by the auth hook, not the actual username passed to auth >>hook. Is there any way of achieving what I want to do? > > > Er, why would those things be different? > I would expect the auth hook to be returning a token, rather than expose ANY valid information without a good reason. And I can't understand why any admin would want to expose a valid auth string to the world, so I'm not sure what the O.P. is trying to do. -- bill davidsen SBC/Prodigy Yorktown Heights NY data center http://newsgroups.news.prodigy.com
Re: How to show authenticated user in the post?
Author: Russ Allbery
Date: Tue, 28 Jun 2005 18:20
Date: Tue, 28 Jun 2005 18:20
18 lines
1858 bytes
1858 bytes
Bill Davidsen <davidsen@deathstar.prodigy.com> writes:
> Russ Allbery wrote:
>> Er, why would those things be different?
> I would expect the auth hook to be returning a token, rather than expose
> ANY valid information without a good reason.
Er, the auth hook is internal to INN and doesn't expose anything unless
you tell it to. And returning opaque tokens from the auth hook is just
pointless obfuscation and an exercise in making your life harder than it
needs to be.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: How to show authenticated user in the post?
Author: Bill Davidsen
Date: Wed, 13 Jul 2005 14:51
Date: Wed, 13 Jul 2005 14:51
29 lines
2641 bytes
2641 bytes
Russ Allbery wrote: > Bill Davidsen <davidsen@deathstar.prodigy.com> writes: > >>Russ Allbery wrote: > > >>>Er, why would those things be different? > > >>I would expect the auth hook to be returning a token, rather than expose >>ANY valid information without a good reason. > > > Er, the auth hook is internal to INN and doesn't expose anything unless > you tell it to. And returning opaque tokens from the auth hook is just > pointless obfuscation and an exercise in making your life harder than it > needs to be. > The original intent was to display clear originator information in the post, my point was that it is often very undesirable to do so. I reread the original post, and it seems that the O.P. intends to "tell it to." Your point that obfuscation could be done elsewhere is valid, although I don't see why it makes life any easier to do so. -- bill davidsen SBC/Prodigy Yorktown Heights NY data center http://newsgroups.news.prodigy.com
Re: How to show authenticated user in the post?
Author: Russ Allbery
Date: Wed, 13 Jul 2005 15:40
Date: Wed, 13 Jul 2005 15:40
24 lines
2353 bytes
2353 bytes
Bill Davidsen <davidsen@deathstar.prodigy.com> writes:
> Russ Allbery wrote:
>> Er, the auth hook is internal to INN and doesn't expose anything unless
>> you tell it to. And returning opaque tokens from the auth hook is just
>> pointless obfuscation and an exercise in making your life harder than
>> it needs to be.
> The original intent was to display clear originator information in the
> post, my point was that it is often very undesirable to do so. I reread
> the original post, and it seems that the O.P. intends to "tell it to."
> Your point that obfuscation could be done elsewhere is valid, although I
> don't see why it makes life any easier to do so.
Because otherwise you have to write your readers.conf file in terms of the
obfuscated identities, which strikes me as annoying and likely to make
other people trying to administer the same server hate you.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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