• How to force authentication with nn

    From Mortimer Houghton@mortimer@ASUS.VivoBook.X512D to news.software.nn on Sat Sep 16 14:32:28 2023
    From Newsgroup: news.software.nn

    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?
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From mortimer@mortimer@ASUS.VivoBook.X512D to news.software.nn on Tue Sep 19 18:24:11 2023
    From Newsgroup: news.software.nn

    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?
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mortimer Houghton@mortimer@VivoBook.X512D to news.software.nn on Wed Sep 20 18:40:34 2023
    From Newsgroup: news.software.nn

    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?
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Rene Kita@mail@rkta.de to news.software.nn on Thu Sep 21 06:11:50 2023
    From Newsgroup: news.software.nn

    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.
    --- Synchronet 3.21a-Linux NewsLink 1.2