🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90632

Re: alternative nnrpd external auth to postgresql

#90632
From: rek2 hispagatos
Date: Fri, 28 Jul 2023 15:25
35 lines
2428 bytes
On 2023-07-28, go-while <no-reply@no.spam> wrote:
> On 28.07.23, rek2 hispagatos wrote:
>
>> I was testing against the information I got from:
>> https://www.eyrie.org/~eagle/software/inn/docs-2.7/external-auth.html
>> But I found it to be mistaken or I did not understood it right, because
>> it says it only sends 2 pieces of information the Name and Password
>> information but it actually sends more so I had to do adjustments like:
>> 
>
>
> "In addition, nnrpd generally also passes, if available, the fields 
> mentioned as intended for resolvers; in rare instances this data may be 
> useful for authenticators."
>
> But everytime i read rust, i dont like their syntax xD


Yes indeed, I figure that out the hard way :D :D with debuggin :D I get
lost in translation a lot.

Yeah I used to hate rust syntax as well, specially when they add their weird
traits, but I got used to it and most people do not use many since they
are advised to not use complicated traits because it makes it hard for
other people to understand.
I still pick up GO for most of my work and some times I go back to C if
is for specific proyects, but im curious so been learning
rust for the last 3-4 months now that I did it does have its good
things.

Happy Hacking
reK2
-- 
{gemini,https}://{,rek2.}hispagatos.org - mastodon: @rek2@hispagatos.space
[https|gemini]://2600.Madrid            - https://hispagatos.space/@rek2
Technical Details
Message-ID: <ua0mlt$bb7j$1@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
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>

Show Full Headers
Complete Article Headers
Message-ID: <ua0mlt$bb7j$1@matrix.hispagatos.org>
Subject: Re: alternative nnrpd external auth to postgresql
Date: Fri, 28 Jul 2023 15:25:49 +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>
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>
Injection-Date: Fri, 28 Jul 2023 15:25:49 -0000 (UTC)
Injection-Info: matrix.hispagatos.org; posting-host="static-135-116-26-46.ipcom.comunitel.net:46.26.116.135"; logging-data="371955"; mail-complaints-to="usenet@matrix.hispagatos.org"
User-Agent: slrn/pre1.0.4-9 (Linux)