Deutsch   English   Français   Italiano  
<tak30p$reu$2@shakotay.alphanet.ch>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: Marc SCHAEFER <schaefer@alphanet.ch>
Newsgroups: fr.comp.usenet.lecteurs-de-news
Subject: Re: [TIN] Mot de passe pour un serveur
Date: Tue, 12 Jul 2022 15:12:25 -0000 (UTC)
Organization: Posted through news.alphanet.ch
Message-ID: <tak30p$reu$2@shakotay.alphanet.ch>
References: <tajuio$eip$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 12 Jul 2022 15:12:25 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="schaefer";
	logging-data="28126"; mail-complaints-to="usenet@alphanet.ch"; posting-host="634ce6c9682d817d72f6177875e2bb4f.nnrp.alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-20-amd64 (x86_64))
Cancel-Lock: sha256:+HkJzfqjENmzPeK1Z64xE8TOKs0gcIdBdxEsLAxaJgc= sha256:FH23/F3X1N3NvwhXbvEmjm3Ggh8viQMMEi190cRl8Zs=
Bytes: 2535
Lines: 39

Eric M <conanospamic@gmail.com> wrote:
> configuration d'un serveur avec tin (ou Tin, je sais jamais
> pour la majuscule).

Maintenant, si tu parles du client, le mieux est de d'abord tester à la
main avant d'essayer avec un client compliqué comme tin.

Exemple 1: le serveur n'a aucune authentification (accès par localhost)

schaefer@shakotay:~$ telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 news.alphanet.ch InterNetNews NNRP server INN 2.6.3 ready (posting ok)

Exemple 2: le serveur demande une authentification

schaefer@reliand:~$ telnet news.alphanet.ch 119 
Trying 46.140.72.222...
Connected to news.alphanet.ch.
Escape character is '^]'.
200 news.alphanet.ch InterNetNews NNRP server INN 2.6.3 ready (no posting)
AUTHINFO USER schaefer
381 Enter password
AUTHINFO PASS bla
481 Authentication failed

"bla" n'est effectivement pas le bon mot de passe.

Si c'est le bon, le serveur dira:

281 Authentication succeeded

PS: si ton INN2 est en machine virtuelle, alors le plus simple est
d'ajouter une redirection de port pour que ton-host:42119 aille sur
ta-vm-linux:119, par exemple, voir avec VirtualBox: 
   https://nsrc.org/workshops/2014/btnog/raw-attachment/wiki/Track2Agenda/ex-virtualbox-portforward-ssh.htm
      (oui htm)
(alternative: mettre la VM Linux en bridge, elle aura alors une
adresse IP dans le sous-réseau extérieur).