Thread View: news.software.nntp
2 messages
2 total messages
Started by Gina Bull
Thu, 02 Jan 1997 00:00
Authentication Header
Author: Gina Bull
Date: Thu, 02 Jan 1997 00:00
Date: Thu, 02 Jan 1997 00:00
20 lines
1358 bytes
1358 bytes
My powers-that-be have dropped a sudden need for an authenticated NNTP server on me. I was successful in setting one up (pretty easy with nntpd 1.5.12.1 on a SunOS system), but I'd really like to get the authenticator's login id into a header. With postings from Netscape, the From: line shows whatever the person typed in as their id. The NNTP server is running Cnews Cleanup Release under SunOS 4.1.3. I'd be happy with getting a Sender line generated that has the login id (instead of the "usenet" address), or an X-Authenticated: header, or whatever else is in common use. Thanks in advance for clues. I'm in rush. :-) Gina Bull News Administrator University of Virginia
Re: Authentication Header
Author: 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..
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