🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by Mortimer Houghton Sat, 16 Sep 2023 14:32
How to force authentication with nn
#11480
Author: Mortimer Houghton
Date: Sat, 16 Sep 2023 14:32
6 lines
965 bytes
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?

-- 
what even is a signature?
Re: How to force authentication with nn
#11477
Author: mortimer
Date: Tue, 19 Sep 2023 18:24
14 lines
1476 bytes
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?

-- 
what even is a signature?
Re: How to force authentication with nn
#11478
Author: 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?
Re: How to force authentication with nn
#11482
Author: Rene Kita
Date: Thu, 21 Sep 2023 06:11
22 lines
2046 bytes
Mortimer Houghton <mortimer@vivobook.x512d> wrote:
> 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'.

Or maybe tie it to a user and a password being present? If I provide a
user and password it should be safe to assume I want to do
authentication.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads