🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #230313

Username Password Variable

#230313
From: Claude S. Sutton, Jr
Date: Sun, 15 Feb 2009 00:37
41 lines
1925 bytes
I am trying to get slrn to give a username and password to one server, but not
force feed servers who will not accept authorization and will infact abort if
they are forced.

I never did learn much about #if and #else and so I can't get it to work.

However, even though this does not work, it gives you an idea of what I would
like to do.

If anyone knows how, I would appreciate help.

#if$NNTPSERVER nntp.aioe.org 
	set force_authentication 0
#else
	nnrpaccess "NEWS.GRC.COM" "old_curmudgeon"   "old_curmudgeon"
	 set force_authentication 1
#endif

nntp.aioe.org is my default.

I tried turning it around :

#if$server news.grc.com
	set force_authentication 1

#else
	set force_authentication 0

#endif

But that would not work either.

Could someone please show me how to do this?

CSSJR

-- 
If we do not wish to lose our freedom, we must learn to tolerate our
neighbor's right to freedom even though he might express that freedom
in a manner we consider to be eccentric.
Technical Details
Message-ID: <gn7o3q$5t0$1@aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!multikabel.net!newsfeed20.multikabel.net!zen.net.uk!dedekind.zen.co.uk!aioe.org!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <gn7o3q$5t0$1@aioe.org>
Subject: Username Password Variable
Date: Sun, 15 Feb 2009 00:37:15 +0000
From: "Claude S. Sutton, Jr" <cssutto@suttonmachine.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!multikabel.net!newsfeed20.multikabel.net!zen.net.uk!dedekind.zen.co.uk!aioe.org!not-for-mail
Newsgroups: news.software.readers
Organization: Aioe.org NNTP Server
Lines: 41
NNTP-Posting-Host: zAo7wv9wyMYkO58QisXUNw.user.aioe.org
X-Complaints-To: abuse@aioe.org
NNTP-Posting-Date: Sun, 15 Feb 2009 00:37:15 +0000 (UTC)
User-Agent: slrn/0.9.8.1pl1 (Debian)
X-Notice: Filtered by postfilter v. 0.7.7
Cancel-Lock: sha1:AaTIySf1pce27kn+7EBdi/0RbCM=