Changi NNTP Server 1.2

[ Bottom of Page | Previous Page | Next Page | Table of Contents | Index ]

team_access

This file is used by the server in conjunction with nntp_access. It will give a client additional read and post permissions to newsgroups not granted in nntp_access. Note, that you can't use team_access to specify xfer permission.

By default, Changi tries to read the file from CHANGIWORKDIR, unless otherwise specified by CHANGITEAMACCESSFILE. If the server couldn't locate the file, access permissions given by nntp_access apply.

The file consists of one or more lines with two or three fields separated by spaces. Any line with character # in the first column is interpreted as a comment line and ignored.

In order to simplify entries in this file, you may define alias definitions in the following way:

ALIASNAME=definition
Note, that the ALIASNAME must be given in capital letters and that no spaces are allowed in such lines. The definition part is usually a comma separated list of hosts or newsgroups, which may contain previously defined aliases, which are referred by the name of the alias and a prepended dollar sign. Examples are given below.

All other lines must follow this general format:

grouplist readperm [postperm]

Example:

Assuming an intranet installation for a company called Elena Ltd. with three departments, development marketing and accounting, sharing some newsgroups. The news administrator has set up this nntp_access file:
#
# nntp_access sample for Elena Ltd.
#
*.elena.com     read    no      elena.announce.*
news.elena.com  both    post
Machine news.elena.com is permitted any access to any group, while all other machines within the same domain are only allowed to read the company's announcement groups. Any newsgroup access not granted by this file will be processed through team_access:
#
# team_access sample for Elena Ltd.
#

#
# Newsgroup aliases
#
ANNOUNCE=elena.announce.*
MRKT-INTERN=elena.intern.marketing.*
DVLP-INTERN=elena.intern.development.*
ACNT-INTERN=elena.intern.accounting.*

#
# Host aliases
#
MRKT-HOSTS=m*.elena.com,leo.elena.com
DVLP-HOSTS=d*.elena.com
ACNT-HOSTS=a*.elena.com

#
# Access permissions
#
$ANNOUNCE       $DVLP-HOSTS,$MRKT-HOSTS     $DVLP-HOSTS,$MRKT-HOSTS
$MRKT-INTERN    $DVLP-HOSTS,$MRKT-HOSTS     $MRKT-HOSTS
$DVLP-INTERN    $DVLP-HOSTS,$MRKT-HOSTS     $DVLP-HOSTS
$ACNT-INTERN    $ACNT-HOSTS                 $ACNT-HOSTS

All hosts of the development and marketing departments are permitted to read from and post to the announcement groups.

The marketing and development departments share their internal groups for reading, but only hosts in the marketing department are permitted to post to their internal newsgroups and only hosts of the development departments are permitted to post to their internal groups.

Internal groups of the accounting department are not shared with other departments.


[ Top of Page | Previous Page | Next Page | Table of Contents ]


URL: changi/manual/teamaccs.html
Created: 24 July 1997
Revised: 24 July 1997
Author: harald@os2point.ping.de