Article View: news.software.nntp
Article #54871Re: FORWARDED: What does the "default" setting do in readers.conf?
From: Jeffrey M. Vinocur
Date: Tue, 30 Oct 2001 01:35
Date: Tue, 30 Oct 2001 01:35
47 lines
2582 bytes
2582 bytes
In article <3BDD9305.6060006@pilhuhn.de>, Heiko Rupp <zhang.gary@ssd.loral.com> wrote: > >What does the "default" or "default-domain" settings do in >readers.conf file? I understand "default" gives a user name if >INN can't get a username from the machine you logged on, but is >there a difference when you log on a PC as to a Sun workstation? You need to stare at the readers.conf manpage for a while, I think. Authentication in INN 2.3 is two phases; first each connection is assigned a username using auth blocks, then a username is given permissions using access blocks. default: and default-domain: apply to the first phase. You need to figure out how you want to assign a username to each incoming connection. See below. >How do you use the "auth:" or the "res:" settings in readers.conf? They're part of the first phase. INN finds the matching auth blocks (some restricted base on IP, perhaps) and tries the programs specified as authenticators (auth:) or resolvers (res:) to obtain a username. >Does INN look at the /etc/passwd file or the shadow file on the >SUN workstation or does INN look at a seperate login/passwd file >INN created? Depends what the readers.conf specifies for the incoming connection. >3) What are the quotation mark used for, and is it necessary in the >line(hosts, default)? They quote strings, like in any programming language. They are sometimes optional, but never inappropriate; put them on every parameter (except maybe for numbers) if you like. -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<9rl04j$7b9$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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mailReferences:
<3BDD9305.6060006@pilhuhn.de>Show Full Headers
Complete Article Headers
Message-ID: <9rl04j$7b9$1@marduk.litech.org> Subject: Re: FORWARDED: What does the "default" setting do in readers.conf? Date: Tue, 30 Oct 2001 01:35:15 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <3BDD9305.6060006@pilhuhn.de> 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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Lithium Technologies Lines: 46 Sender: jeff@litech.org NNTP-Posting-Host: marduk.litech.org X-Trace: marduk.litech.org 1004405715 7529 128.84.154.54 (30 Oct 2001 01:35:15 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Tue, 30 Oct 2001 01:35:15 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)