🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Jeffrey M. Vinocur Sun, 18 Feb 2001 05:42
Multiple ckpasswd blocks
#50686
Author: Jeffrey M. Vinocur
Date: Sun, 18 Feb 2001 05:42
22 lines
1689 bytes
Fiddling with readers.conf...I need to do a small hierarchy (no
peering) with restricted readership.  Access to it and all of the
rest of everything is disjoint.

I'm currently attempting to add an auth block that ckpasswd's
against a separate password file (containing the users of that
hierarchy).  But (as far as I can tell) this conflicts with being
able to use ckpasswd to authenticate regular users.

That is, there is no 'if this block fails try the next best
match' functionality.  I'm not sure I want to figure out
nnrpd/perm.c, it seems a bit complicated (unsurprisingly)


Anything to do about this, or should I just run another nnrpd on
a different port with a different config file?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Multiple ckpasswd blocks
#50687
Author: Russ Allbery
Date: Sun, 18 Feb 2001 06:33
23 lines
1833 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:

> Fiddling with readers.conf...I need to do a small hierarchy (no peering)
> with restricted readership.  Access to it and all of the rest of
> everything is disjoint.

> I'm currently attempting to add an auth block that ckpasswd's against a
> separate password file (containing the users of that hierarchy).  But
> (as far as I can tell) this conflicts with being able to use ckpasswd to
> authenticate regular users.

> That is, there is no 'if this block fails try the next best match'
> functionality.

Can you put both auth: ckpasswd invocations in the same block?  All
authenticators in a block are tried in order.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Multiple ckpasswd blocks
#50691
Author: Jeffrey M. Vinocur
Date: Sun, 18 Feb 2001 17:18
25 lines
1719 bytes
In article <ylae7k4i1u.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Jeffrey M Vinocur <jeff@litech.org> writes:
>
>> That is, there is no 'if this block fails try the next best match'
>> functionality.
>
>Can you put both auth: ckpasswd invocations in the same block?  All
>authenticators in a block are tried in order.

Oh, interesting.

Hmm.  I don't think that helps here though -- the usernames
aren't distinctive, so I'm currently using key: to determine
which access block to use.  I don't see how I can get around
that...well, I guess I can make it policy that the usernames are
kept distinct.

Thanks!


-- 
Jeffrey M. Vinocur
jeff@litech.org
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