🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #11478

Re: How to force authentication with nn

#11478
From: Mortimer Houghton
Date: Wed, 20 Sep 2023 18:40
19 lines
1781 bytes
mortimer@ASUS.VivoBook.X512D writes:

>On 2023-09-16, Mortimer Houghton <mortimer@ASUS.VivoBook.X512D> wrote:
>> I am registered at news.eternal-september.org, but the server requires a
>> username and password for interacting with anything beyond the local groups.
>> How can I force nn to authenticate with the server?
>>

>I was looking through souce files for nn and in nntp.c, it seems to indicate
>that nntp_doauth is only performed when the server prompts for it, either
>through an 480 response from the server, an error message indicating that 
>authorization is required, or if the server blocks posting without
>authorization.  Is there no way to force authorization on the client side?

Well, I just made my own solution and added doauth to connect_server in nntp.c
It's an ugly solution, since ideally I would want to make it something that
wasn't default, but connected to a commandline option, like '-F'.
-- 
what even is a signature?
Technical Details
Message-ID: <uefeb2$32he3$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <slrnugbf3s.f4o.mortimer@ASUS.VivoBook.X512D> <slrnugjpqb.1c5n.mortimer@ASUS.VivoBook.X512D>

Show Full Headers
Complete Article Headers
Message-ID: <uefeb2$32he3$1@dont-email.me>
Subject: Re: How to force authentication with nn
Date: Wed, 20 Sep 2023 18:40:34 +0000
From: Mortimer Houghton <mortimer@VivoBook.X512D>
References: <slrnugbf3s.f4o.mortimer@ASUS.VivoBook.X512D> <slrnugjpqb.1c5n.mortimer@ASUS.VivoBook.X512D>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: news.software.nn
Organization: A noiseless patient Spider
Lines: 19
Injection-Date: Wed, 20 Sep 2023 18:40:34 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d4301ca88560e122b1ad4896e96dfbbd";
User-Agent: nn/6.7.3
Cancel-Lock: sha1:Cn6fVQ8I2Q+dteYdIhXpd0Cw4kQ=