newscache: NewsCache Authentication
Subject:
NewsCache authentication
From:
"RFI Admin" ####@####.####
Date:
22 Aug 2004 14:30:16 +0100
Message-Id: <003c01c4884c$277c3500$1102a8c0@rfi>
I have 99.22p1-1 (rpm) installed on redhat Fedora 1. Everything works fine when I allow full access.
When I try to use unix authentication I am refused access. Here is the configuration block:
Client 0.0.0.0/0.0.0.0 {
allow read post
List !*
Read !*
PostTo !*
Authentication unix:read:postto
}
Here is the relevant section from the messages log file:
Aug 21 19:18:01 mail NewsCache[4896]: 67-136-15-1.bras01.eko.nv.frontiernet.net [67.136.15.1] connect
Aug 21 19:18:01 mail NewsCache[4896]: 67-136-15-1.bras01.eko.nv.frontiernet.net [67.136.15.1] MODE READER
Aug 21 19:18:01 mail NewsCache[4896]: 67-136-15-1.bras01.eko.nv.frontiernet.net [67.136.15.1] authinfo
Aug 21 19:18:02 mail NewsCache[4896]: 67-136-15-1.bras01.eko.nv.frontiernet.net [67.136.15.1] authinfo
Aug 21 19:18:02 mail NewsCache[4896]: 67-136-15-1.bras01.eko.nv.frontiernet.net [67.136.15.1] failed AUTHINFO PASS always
Aug 21 19:18:02 mail NewsCache[4896]: 67-136-15-1.bras01.eko.nv.frontiernet.net [67.136.15.1] exit articles 0 groups 0
I have changed to process to be run by root. I was thinking that perhaps user 'news' couldn't get access to /etc/passwd. Running as root didn't help.
I'm suspecting that the cause may be the ServerType variable. I'm running in standalone mode instead of inetd mode. Authentication may require inetd mode, but I can't run inetd mode because the version of redhat I'm using uses xinetd instead.
Thanks in advance for your advice!
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.742 / Virus Database: 495 - Release Date: 8/19/2004