Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to force authentication with nn

0 views
Skip to first unread message

Mortimer Houghton

unread,
Sep 16, 2023, 10:32:29 AM9/16/23
to
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?

mort...@asus.vivobook.x512d

unread,
Sep 19, 2023, 2:24:13 PM9/19/23
to
On 2023-09-16, Mortimer Houghton <mort...@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?

Mortimer Houghton

unread,
Sep 20, 2023, 2:40:36 PM9/20/23
to
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'.

Rene Kita

unread,
Sep 21, 2023, 2:11:53 AM9/21/23
to
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.
0 new messages