Article View: news.software.nntp
Article #90666Re: alternative nnrpd external auth to postgresql
From: Billy G. (go-while)
Date: Wed, 02 Aug 2023 12:03
Date: Wed, 02 Aug 2023 12:03
44 lines
2434 bytes
2434 bytes
On 01.08.23, rek2 hispagatos wrote:
> On 2023-07-31, Billy G. (go-while) <no-reply@no.spam> wrote:
>> ok i'm near to have a working test bench
>
>
> nice!
>
>> you are using "res" in your config?
>
>> would explain why you got all lines
this was just an idea i had before testing. was wrong.
would be nice to know under which circumstances inn2 sends user+pass
only or more lines, as reference documentation states, or does it always
pass all 7 lines to stdin actually?
but with my "auth" part taken 1:1 from example docs (without explicit
use of "res" which should be resolver i guess?) i got all 7 lines
delivered to my tool, not ClientAuthname+ClientPassword.
auth "foreignokay" {
auth: "go-inn2-auth -config /etc/news/config.json"
default: "<unauthenticated>"
}
access "authenticatedpeople" {
users: "*"
newsgroups: "*,!junk,!control,!control.*"
}
access "restrictive" {
users: "<unauthenticated>"
newsgroups: "!*"
}
access "readonly" {
users: "<unauthenticated>"
read: "local.*"
post: "!*"
}
https://www.eyrie.org/~eagle/software/inn/docs/external-auth.html
Technical Details
Message-ID:
<wXqyM.407381$8uM.337941@fx11.ams4>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-mailReferences:
<u9jlnh$getb$1@matrix.hispagatos.org> <u9uh09$a5ql$1@matrix.hispagatos.org> <YJAwM.249652$Y1R7.117864@fx04.ams4> <u9vdi7$akhf$2@matrix.hispagatos.org> <36IwM.106011$euB5.66059@fx05.ams4> <ua0mlt$bb7j$1@matrix.hispagatos.org> <KWUwM.143252$MB_8.99644@fx01.ams4> <ua32rk$cjct$1@matrix.hispagatos.org> <CEoxM.253486$yXa4.99057@fx14.ams4> <hwFxM.47952$sU56.7318@fx08.ams4> <ua9r0s$2cg8$2@matrix.hispagatos.org>Show Full Headers
Complete Article Headers
Message-ID: <wXqyM.407381$8uM.337941@fx11.ams4> Subject: Re: alternative nnrpd external auth to postgresql Date: Wed, 2 Aug 2023 14:03:57 +0200 From: "Billy G. (go-while)" <no-reply@no.spam> References: <u9jlnh$getb$1@matrix.hispagatos.org> <u9uh09$a5ql$1@matrix.hispagatos.org> <YJAwM.249652$Y1R7.117864@fx04.ams4> <u9vdi7$akhf$2@matrix.hispagatos.org> <36IwM.106011$euB5.66059@fx05.ams4> <ua0mlt$bb7j$1@matrix.hispagatos.org> <KWUwM.143252$MB_8.99644@fx01.ams4> <ua32rk$cjct$1@matrix.hispagatos.org> <CEoxM.253486$yXa4.99057@fx14.ams4> <hwFxM.47952$sU56.7318@fx08.ams4> <ua9r0s$2cg8$2@matrix.hispagatos.org> 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 Mime-Version: 1.0 User-Agent: NoZilla/3.11 (Hackint; Unicorn; rv:0.8.15) go-while/19720229 NewsRW/4.2.0 Content-Language: en-US Newsgroups: news.software.nntp Organization: github.com/go-while In-Reply-To: <ua9r0s$2cg8$2@matrix.hispagatos.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Lines: 45 X-Complaints-To: abuse@blocknews.net Nntp-Posting-Date: Wed, 02 Aug 2023 11:17:48 UTC