Article View: news.software.nntp
Article #72365Re: Authentication advice
From: Jeffrey M. Vinocur
Date: Sun, 02 Oct 2005 19:03
Date: Sun, 02 Oct 2005 19:03
72 lines
4516 bytes
4516 bytes
In article <gqj%e.346362$5N3.329060@bgtnsc05-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>Jeffrey M. Vinocur wrote:
>
>>Are you moving your old articles over as well, and trying to make
>>this seamless to the clients? If not, I'd consider putting these
>>inside a hierarchy (newspapers.* or local.newspapers.*) just so
>>your config files don't have to list them out a bunch of times.
>
>Yes. There are some historically-significant articles. [...]
>
>I would love to make this seamless! I had read something about a sync
>command, and thought I'd get to studying it when the time comes to load
>the new server. If the messages can retain the same message number, then
>the users might not need to delete the server account from their news
>client, then start it over.
Right. If you set xrefslave in inn.conf before sucking the
articles over, the numbers will stay the same. There is an entry
about this in Russ's FAQ, but it assumes that both servers
involved are INN (and so it gives a procedure for having the old
server feed articles to the new server). However, you can use a
modification of that procedure and achieve the desired result in
your case. For the most part you do as directed here:
http://www.eyrie.org/~eagle/faqs/inn.html#S6.4
especially you can't forget to set the artcutoff, to make sure
all the groups exist (empty!) on the new server, or to set
xrefslave. But instead of using innxmit to transfer the
articles, you use some sucking utility (see below).
>I will be needing something like suck anyway, for the two ISPs where I
>pull a couple of groups using a "mode:reader" type of command as opposed
>to streaming. And for the other way (upstream from here) a "post" command.
>
>Ideas?
One thing I've got to say is, if you're going to be posting
articles out to Usenet-connected servers, you need to be really
careful with all of these oddly named and uncategorized groups,
or they stand a nonzero change of showing up all over the world.
Regarding the sucking, FAQ 6.7 addresses this issue fairly well.
The "pullnews" utility that comes with INN could be used to do
your migration from the old server, but is not robust enough to
see ongoing use like you'll need for your other groups. Also it
doesn't have a facility for posting articles back up. So you'll
want to look into suck or newsx as described in the FAQ.
>Last night I did manage to get the password database encrypted. First
>time I've used Perl (well, to do something specific), so I had a
>learning curve there. I should have asked you, but I eventually tried
>running Perl from a shell, and using the "my" as the filename for the
>plain text database. It didn't output any file though, so I used a KDE
>terminal and copied the output, pasting it into a new textfile.
I thought about posting detailed instructions, but then I figured
you'd ask if you needed them. For future reference, you could
have listed a filename on the commandline and the script would
have used that as input (or you could have provided it on stdin).
It purposefully didn't put the output into a file, because you
could simply have added "> newpasswdfile" onto the end of the
commandline and your shell would have written it to a file for
you.
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<dhpatg$va2$2@puck.litech.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mailReferences:
<2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <VdJ_e.335084$5N3.160472@bgtnsc05-news.ops.worldnet.att.net> <dhk6r1$iuf$3@puck.litech.org> <gqj%e.346362$5N3.329060@bgtnsc05-news.ops.worldnet.att.net>Show Full Headers
Complete Article Headers
Message-ID: <dhpatg$va2$2@puck.litech.org> Subject: Re: Authentication advice Date: Sun, 02 Oct 2005 19:03:12 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <VdJ_e.335084$5N3.160472@bgtnsc05-news.ops.worldnet.att.net> <dhk6r1$iuf$3@puck.litech.org> <gqj%e.346362$5N3.329060@bgtnsc05-news.ops.worldnet.att.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 72 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1128279792 32066 66.218.0.75 (2 Oct 2005 19:03:12 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Sun, 2 Oct 2005 19:03:12 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)