Article View: news.software.nntp
Article #90671Re: alternative nnrpd external auth to postgresql
From: rek2 hispagatos
Date: Thu, 03 Aug 2023 02:21
Date: Thu, 03 Aug 2023 02:21
32 lines
2606 bytes
2606 bytes
On 2023-08-02, Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> wrote:
> Hi Billy,
>
>> 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?
>
> Actually, nnrpd always provides the 7 lines (when of course the related
> information is available).
> The documentation needs fixing. Thanks for having pointed that out!
>
I was going to reply this, when I was debugging because my tool was not
working I notice that will always send all the 7 lines no matter what,
so I changed my authentificator to grab all 7 into an slice/array and
use what I need, in case later on I need the other info.
PD: Julien, check the start of the thread, the documentation about
authentificator does need an update please, I was going nuts until I
hadd debug/logging features to my program because it was not following
what was there (in the doc) :)
Cheers
Happy Hacking.
--
- {gemini,https}://{,rek2.}hispagatos.org - mastodon: @rek2@hispagatos.space
- [https|gemini]://2600.Madrid - https://hispagatos.space/@rek2
- https://keyoxide.org/A31C7CE19D9C58084EA42BA26C0B0D11E9303EC5
Technical Details
Message-ID:
<uaf2ug$o34$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-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> <wXqyM.407381$8uM.337941@fx11.ams4> <uaegsu$jaa7$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <uaf2ug$o34$2@matrix.hispagatos.org> Subject: Re: alternative nnrpd external auth to postgresql Date: Thu, 03 Aug 2023 02:21:04 +0000 From: rek2 hispagatos <rek2@hispagatos.org.invalid> 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> <wXqyM.407381$8uM.337941@fx11.ams4> <uaegsu$jaa7$1@news.trigofacile.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: Hispagatos Reply-To: ReK2 <rek2@hispagatos.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 3 Aug 2023 02:21:04 -0000 (UTC) Injection-Info: matrix.hispagatos.org; posting-host="static-135-116-26-46.ipcom.comunitel.net:46.26.116.135"; logging-data="24676"; mail-complaints-to="abuse@hispagatos.org" User-Agent: slrn/pre1.0.4-9 (Linux)