🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #42125

--

#42125
From: Etienne Gauthier
Date: Mon, 13 Dec 1999 00:00
42 lines
2680 bytes
Wim Thevelin wrote:
> 
> [ Note: This question was sent to inn-questions@pilhuhn.de and is posted ]
> [       here, so that someone will see and answer it. Please email your  ]
> [       answer to the original author in addition to posting it.         ]
> 
> Maybe this question has been in this newsgroup.
> We have INN2.2.1 and want to set up authentication for our clients.
> But, in nnrp.access you can only include passwords in plaintext, and we
> don't want that.  So we tried to change the code of nnrpd (which handles
> the client). We've found something in the sourcefile nnrpd/commands.c,
> on line 262. There we changed the code to work with the unix
> crypt-function. But it doesn't work.
> Does here anybody know something about this? What do we have to do?
> I have been told that it will be easy with INN 2.3, but this version
> isn't released yet. Will it be released shortly? We are a little
> desperate now, the server has to function with this authentication.
> 
> Peter

Hi,

From 'man nnrp.access', on an INN 2.1 installation :

       The third and fourth fields specify the username and pass-
       word  that  the client must use to authenticate themselves
       before the server will accept any articles.  Note that  no
       authentication  (other then a matching entry in this file)
       is required for newsreading.  If they are empty,  then  no
       password  is  required.   Whitespace  in these fields will
       result in the client being unable to properly authenticate
       themselves   and  may  be  used  to  disable  access.   If
       <HAVE_SHADOW in config.data> is ``DO'' and the third field
       is  ``+'',  then  nnrpd(8)  uses  crypt(3) to authenticate
       passed username and password.


  It means to me that you can have a crypted password in nnrp.access.

Etienne

Technical Details
Message-ID: <3854B6BB.7A69E665@capgemini.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <385100CC.1F725C1B@hogent.be>

Show Full Headers
Complete Article Headers
Message-ID: <3854B6BB.7A69E665@capgemini.fr>
Subject: --
Date: Mon, 13 Dec 1999 00:00:00 +0000
From: Etienne Gauthier <egauthie@capgemini.fr.nospam>
References: <385100CC.1F725C1B@hogent.be>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 560014962
Content-Transfer-Encoding: 7bit
To: Wim Thevelin <982623pf@hogent.be>
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@oleane.net
X-Trace: minus.oleane.net 945079058 14659 194.3.234.177 (13 Dec 1999 09:57:38 GMT)
Organization: Cap Gemini
Mime-Version: 1.0
NNTP-Posting-Date: 13 Dec 1999 09:57:38 GMT
Newsgroups: news.software.nntp