Thread View: news.software.nntp
5 messages
5 total messages
Started by Billy
Tue, 28 Mar 2000 00:00
lost in the mist of inn
Author: Billy
Date: Tue, 28 Mar 2000 00:00
Date: Tue, 28 Mar 2000 00:00
46 lines
1833 bytes
1833 bytes
Hello all.
I'm soooo lost here configuring inn and there's no easy to follow
documentation (or at least i haven't found it). My problems:
- I want to create a 100 MB cycbuff to store all ean.* newsgroups (local
newsgroups). I set to true the storageapi flag in innd.conf and have the
following lines in storage.conf:
method cnfs {
newsgroups: ean.*
class: 2
size: 0,3999
expires: 0s,4d
options: EAN
}
and in my cycbuff.conf:
cycbuff:EAN:/var/spool/news/cycbuffs/ean:102400
metacycbuff:EAN:EAN
but after restarting the server articles keep going to
/var/spool/news/articles/ instead of the cycbuff i thought i told inn to
use for such groups.
- The other one is that i need to authenticate users conecting to the
server based on the system's user/password combination. How do i do
this??
I have inn 2.2 and 2.3 (cvs snapshoot) and i see that the config options
are different and some files are being replaced by new ones with new
structures.
Any help will be greatly apreciated.
Billy
Sent via Deja.com http://www.deja.com/
Before you buy.
Re: lost in the mist of inn
Author: Russ Allbery
Date: Tue, 28 Mar 2000 00:00
Date: Tue, 28 Mar 2000 00:00
45 lines
2363 bytes
2363 bytes
Billy <billy_p@my-deja.com> writes:
> - I want to create a 100 MB cycbuff to store all ean.* newsgroups (local
> newsgroups). I set to true the storageapi flag in innd.conf and have the
> following lines in storage.conf:
> method cnfs {
> newsgroups: ean.*
> class: 2
> size: 0,3999
> expires: 0s,4d
> options: EAN
> }
Do you have any other method listed before this one with a more inclusive
pattern? Remember, the first matching pattern is used.
> but after restarting the server articles keep going to
> /var/spool/news/articles/ instead of the cycbuff i thought i told inn to
> use for such groups.
Are you using 2.2 or 2.3? If you're using 2.2 and it's still storing
articles in traditional spool, the storage API change didn't go through.
I believe you need to rebuild the history file after switching to storage
API, and in 2.2 you can't read traditional spool from the storage API.
In 2.3, the storage API can read from and write to traditional spool, but
moving to 2.3 from 2.2 requires a history and overview rebuild.
> - The other one is that i need to authenticate users conecting to the
> server based on the system's user/password combination. How do i do
> this??
In 2.2, you can put + into nnrp.access (see the man page) to enable
password checking against the system password file. You may need to set a
setuid or setgid bit on nnrpd depending on how shadow passwords are
handled.
In 2.3, you probably want to use the ckpasswd authenticator. See the
commented out examples of how to do this in the sample readers.conf.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Config consistency
Author: bill davidsen
Date: Tue, 28 Mar 2000 00:00
Date: Tue, 28 Mar 2000 00:00
19 lines
1471 bytes
1471 bytes
In article <yl3dpak8of.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | Do you have any other method listed before this one with a more inclusive | pattern? Remember, the first matching pattern is used. Just want to note at this point that INN was written by many people, with many ideas, and you should read the docs for each and every config file, because they are a total unstructured collection of first match, last match, and multiple match. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: lost in the mist of inn
Author: Billy
Date: Wed, 29 Mar 2000 00:00
Date: Wed, 29 Mar 2000 00:00
75 lines
3253 bytes
3253 bytes
In article <yl3dpak8of.fsf@windlord.stanford.edu>,
Russ Allbery <rra@stanford.edu> wrote:
> Billy <billy_p@my-deja.com> writes:
>
> > - I want to create a 100 MB cycbuff to store all ean.* newsgroups
(local
> > newsgroups). I set to true the storageapi flag in innd.conf and have
the
> > following lines in storage.conf:
>
> > method cnfs {
> > newsgroups: ean.*
> > class: 2
> > size: 0,3999
> > expires: 0s,4d
> > options: EAN
> > }
>
> Do you have any other method listed before this one with a more
inclusive
> pattern? Remember, the first matching pattern is used.
>
Nope, those are the only uncommented lines in storage.conf. I'm doubtful
, however, whether i should create the cycbuff or if it is atomatically
created (i created the file with dd). I did run makehistory with no
arguments before restarting the server but still articles don't go to
the cycbuff :-(
> > but after restarting the server articles keep going to
> > /var/spool/news/articles/ instead of the cycbuff i thought i told
inn to
> > use for such groups.
>
> Are you using 2.2 or 2.3? If you're using 2.2 and it's still storing
> articles in traditional spool, the storage API change didn't go
through.
> I believe you need to rebuild the history file after switching to
storage
> API, and in 2.2 you can't read traditional spool from the storage API.
>
> In 2.3, the storage API can read from and write to traditional spool,
but
> moving to 2.3 from 2.2 requires a history and overview rebuild.
>
> > - The other one is that i need to authenticate users conecting to
the
> > server based on the system's user/password combination. How do i do
> > this??
>
> In 2.2, you can put + into nnrp.access (see the man page) to enable
> password checking against the system password file. You may need to
set a
> setuid or setgid bit on nnrpd depending on how shadow passwords are
> handled.
hmmm, the man page doesn't mention a + sign. where should i put it, in
the password field?, how about the user field, should i put a *?
> In 2.3, you probably want to use the ckpasswd authenticator. See the
> commented out examples of how to do this in the sample readers.conf.
>
I downloaded a snapshot for inn 2.3 but i think i'll wait til the final
stable release is ready ... pretty soon i hope ;-)
> --
> Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Re: lost in the mist of inn
Author: Russ Allbery
Date: Thu, 30 Mar 2000 00:00
Date: Thu, 30 Mar 2000 00:00
53 lines
3183 bytes
3183 bytes
Billy <billy_p@my-deja.com> writes:
> Nope, those are the only uncommented lines in storage.conf. I'm doubtful
> , however, whether i should create the cycbuff or if it is atomatically
> created (i created the file with dd).
You need to create it.
> I did run makehistory with no arguments before restarting the server but
> still articles don't go to the cycbuff :-(
And storageapi is set to true in inn.conf, and you've stopped and
restarted innd since changing that? And new articles are still going into
the traditional spool area?
Note that in INN 2.2, there's no way to mix traditional spool and the
storage API. You need to either set up a storage.conf that can handle all
the news your server handles or store everything in traditional spool;
that means that if you have other hierarchies you carry besides that one,
you need to allow for that in storage.conf. I'd recommend dropping the
size and expires restrictions and using a patterns of "*" if that's really
your only storage.conf entry.
> hmmm, the man page doesn't mention a + sign. where should i put it, in
> the password field?, how about the user field, should i put a *?
nnrp.access(5) has:
The third and fourth fields specify the username and password that
the client must use to authenticate themselves before the server will
accept any articles. Note that authentication is required for
newsreading, unless both are empty. In this case, the connection is
never closed until it is timed out or the client explicitly issues
``QUIT''. 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 the third field is ``+'', then nnrpd(8) uses crypt(3) to
authenticate passed username and password. This might not work on
systems that use a shadow password file, since nnrpd normally doesn't
have the permissions to read that file. If nnrpd is started in
standalone mode, it tries to adjust its permissions so that it can
read the shadow file. See also the -g option in the manual page for
nnrpd(8).
> I downloaded a snapshot for inn 2.3 but i think i'll wait til the final
> stable release is ready ... pretty soon i hope ;-)
I'm hoping so too!
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads