Article View: news.software.nn
Article #11482Re: How to force authentication with nn
From: Rene Kita
Date: Thu, 21 Sep 2023 06:11
Date: Thu, 21 Sep 2023 06:11
22 lines
2046 bytes
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.
Technical Details
Message-ID:
<uegmr4$3cjb9$2@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-mailReferences:
<slrnugbf3s.f4o.mortimer@ASUS.VivoBook.X512D> <slrnugjpqb.1c5n.mortimer@ASUS.VivoBook.X512D> <uefeb2$32he3$1@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <uegmr4$3cjb9$2@dont-email.me>
Subject: Re: How to force authentication with nn
Date: Thu, 21 Sep 2023 06:11:50 +0000
From: Rene Kita <mail@rkta.de>
References: <slrnugbf3s.f4o.mortimer@ASUS.VivoBook.X512D> <slrnugjpqb.1c5n.mortimer@ASUS.VivoBook.X512D> <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
Newsgroups: news.software.nn
Organization: A noiseless patient Spider
Lines: 22
Injection-Date: Thu, 21 Sep 2023 06:11:50 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="91391e322bdb899dcd8fa0a8d46bb674";
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (Linux/5.10.0-25-amd64 (x86_64))
Cancel-Lock: sha1:n7HcB3Zm93j3X7JvNUO73A4bo8o=