• custom auth not executing

    From Nigel Reed@21:1/5 to All on Fri Mar 10 12:10:33 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nigel Reed@21:1/5 to Nigel Reed on Fri Mar 10 12:47:10 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)