🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90147

Re: custom auth not executing

#90147
From: Nigel Reed
Date: Fri, 10 Mar 2023 18:47
59 lines
2238 bytes
On Fri, 10 Mar 2023 12:10:33 -0600
Nigel Reed <sysop@endofthelinebbs.com> wrote:

> 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,
> 
> 
Nevermind, I turned trace on and I see it trying to use my custom
script in the logs.

Thanks,



-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Technical Details
Message-ID: <20230310124710.50c096a8@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
References: <20230310121033.61e13ffa@wibble.sysadmininc.com>

Show Full Headers
Complete Article Headers
Message-ID: <20230310124710.50c096a8@wibble.sysadmininc.com>
Subject: Re: custom auth not executing
Date: Fri, 10 Mar 2023 12:47:10 -0600
From: Nigel Reed <sysop@endofthelinebbs.com>
References: <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
Newsgroups: news.software.nntp
Organization: End Of The Line BBS
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
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: 59