🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Heiko Rupp Mon, 29 Oct 2001 17:33
FORWARDED: What does the "default" setting do in readers.conf?
#54864
Author: Heiko Rupp
Date: Mon, 29 Oct 2001 17:33
44 lines
2578 bytes
From: "Gary Zhang" <zhang.gary@ssd.loral.com>
Organization: Space Systems/Loral
To: inn-questions@pilhuhn.de
Subject: What does the "default" setting do in readers.conf?

Hi,
         I am trying to set my feeders and readers for my news server. 
But I'm
not sure if I'm setting the configuration correctly.
1) 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?  I get
different results every time I switch back and forth between a PC and a
SUN.

2) How do you use the "auth:" or the "res:" settings in readers.conf?
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?

3) What are the quotation mark used for, and is it necessary in the
line(hosts, default)?


Ex: (part of my readers.conf)
auth default {
        hosts: *.ssd.loral.com
        res: ident
        auth: "ckpasswd -s"
        default: news@ssd.loral.com
        default-domain: ssd.loral.com




Gary Z.

-- 
Heiko W. Rupp                       http://mcntp.sf.net/
http://www.pilhuhn.de/hwr/          http://www.netbsd.org/

Re: FORWARDED: What does the "default" setting do in readers.conf?
#54871
Author: Jeffrey M. Vinocur
Date: Tue, 30 Oct 2001 01:35
47 lines
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
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