• How to force authentication with nn

    From Mortimer Houghton@21:1/5 to All on Sat Sep 16 14:32:28 2023
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From mortimer@ASUS.VivoBook.X512D@21:1/5 to Mortimer Houghton on Tue Sep 19 18:24:11 2023
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mortimer Houghton@21:1/5 to mortimer@ASUS.VivoBook.X512D on Wed Sep 20 18:40:34 2023
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rene Kita@21:1/5 to Mortimer Houghton on Thu Sep 21 06:11:50 2023
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)