Article View: news.software.nntp
Article #13725Re: Authentication Header
From: Wayne Davison
Date: Fri, 03 Jan 1997 00:00
Date: Fri, 03 Jan 1997 00:00
16 lines
1249 bytes
1249 bytes
According to Gina Bull <gina@virginia.edu>: > I'd really like to get the authenticator's login id into a header. The user name that was supplied via the AUTHINFO USER command is in the array User[]. There's code in server/spawn.c that handles the Sender header if GENAUTH is defined (and it only generates a Sender header if AUTHINFO GENERIC was used). If you look for all three occurances in the file it should be easy to modify the code to add a Sender line based on User and hostname and to make sure that any supplied Sender header gets stripped even if GENAUTH wasn't defined (the function of the last bit of GENAUTH code in spawn.c). ...wayne..
Technical Details
Message-ID:
<5ajv8h$e8e@fugue.clari.net>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!not-for-mailReferences:
<32CC2841.2B30@virginia.edu>Show Full Headers
Complete Article Headers
Message-ID: <5ajv8h$e8e@fugue.clari.net> Subject: Re: Authentication Header Date: Fri, 03 Jan 1997 00:00:00 +0000 From: wayne@clari.net (Wayne Davison) References: <32CC2841.2B30@virginia.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!not-for-mail X-Deja-AN: 207590475 Organization: ClariNet Communications Corp. Newsgroups: news.software.nntp X-newsposter: Pnews 4.0-test50 (13 Dec 96)