🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90146

custom auth not executing

#90146
From: Nigel Reed
Date: Fri, 10 Mar 2023 18:10
48 lines
1909 bytes
Hi team,

What have my idiot fingers typed wrong this time?

At the bottom of my readers.conf file I have the following:

auth all {
        auth: "/news/bin/auth/passwd/ckpasswd -f
/news/etc/usenet.passwords" }

access full {
        users: *
        newsgroups: *
}

auth "bbs" {
        hosts: "192.138.210.158, 2604:880:52:866:f1d0:1:124:5016"
        auth: "/usr/local/bin/usenet-auth"
}

access "bbs" {
        users: *
        read: *
        post: "*, !control.*,!junk.*"
}


However, when I connect from 192.138.210.158 and try to authenticate,
the only thing logged it the ckpasswd entry.

From what I'm reading, innd checks readers.conf from the bottom up for
a match, which it should find. 

I'm open to suggestions on how to fix this...


news.notice:Mar 10 12:02:28 www nnrpd[2527871]: bbs.endofthelinebbs.com
(192.138.210.158) connect - port 119
news.notice:Mar 10 12:02:39 www nnrpd[2527871]: bbs.endofthelinebbs.com
auth: program error: ckpasswd: user testuser unknown

Thanks,


-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Technical Details
Message-ID: <20230310121033.61e13ffa@wibble.sysadmininc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <20230310121033.61e13ffa@wibble.sysadmininc.com>
Subject: custom auth not executing
Date: Fri, 10 Mar 2023 12:10:33 -0600
From: Nigel Reed <sysop@endofthelinebbs.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: End Of The Line BBS
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Injection-Info: www.sysadmininc.com; posting-host="47.186.2.63"; logging-data="2528167"; mail-complaints-to="usenet@www.sysadmininc.com"
X-Newsreader: Claws Mail 4.1.1git47 (GTK 3.24.33; x86_64-pc-linux-gnu)
Lines: 48