🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Amr A. Aysha Wed, 03 Jul 2002 17:16
INN Authentication failed!
#59436
Author: Amr A. Aysha
Date: Wed, 03 Jul 2002 17:16
35 lines
1600 bytes
Hi All,

Some things odd, when I use users/password
authentication with INN, this one doesn't care
about authentication with my netscape newsreader.

Here is my readers.conf

auth "zighen" {
        hosts: "*"
    	 auth: "ckpasswd -f /PATH/TO/.innpasswd"
        default: "<LOCAL>"
}

access "zighen" {
        users: "*"      
        newsgroups: "*,!control*,!junk"
        access: "RPA"
}


and my ".innpasswd" file contains just one line

me:EBzJCfG7mOMDg:

any clue?

Regards


-- 
+------------------------------------------------[ http://www.medracen.net ]
    Amr A. Aysha
    Registered (Slackware) Linux User: #278117
Re: INN Authentication failed!
#59437
Author: Russ Allbery
Date: Wed, 03 Jul 2002 17:27
32 lines
1952 bytes
Amr A Aysha <amr-aysha@medracen.net> writes:

> Some things odd, when I use users/password authentication with INN, this
> one doesn't care about authentication with my netscape newsreader.

> Here is my readers.conf

> auth "zighen" {
>         hosts: "*"
>     	 auth: "ckpasswd -f /PATH/TO/.innpasswd"
>         default: "<LOCAL>"
> }

> access "zighen" {
>         users: "*"      
>         newsgroups: "*,!control*,!junk"
>         access: "RPA"
> }

So if authentication fails or hasn't yet occurred, the user is assigned a
username of <LOCAL>, and since <LOCAL> matches *, they're allowed to read
all the groups anyway.

If you don't want to allow unauthenticated access, you need to remove the
default: key in the auth block.

-- 
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: INN Authentication failed!
#59447
Author: Amr A. Aysha
Date: Thu, 04 Jul 2002 11:51
41 lines
2338 bytes
Hi Russ,

Here is what I got after removing the "default:"
directive in readers.conf file

#--- LOG NEWS.NOTICE ---
Jul  4 13:45:23 othello nnrpd[10645]: SERVER perl filtering enabled
Jul  4 13:45:23 othello nnrpd[10645]: jugurtha.medracen.net connect
Jul  4 13:45:39 othello nnrpd[10645]: jugurtha.medracen.net bad_hook
program caught signal 11 Jul  4 13:45:39 othello nnrpd[10645]:
jugurtha.medracen.net bad_auth Jul  4 13:45:39 othello nnrpd[10645]:
jugurtha.medracen.net times user 0.020 system 0.010 elapsed 16.119 
#-------------------------- 

Again authentification failed!.

A question for you: do you set up an authentification
requirement for your members? and if yes, which methods
do you use?

Regards

Russ Allbery <rra@stanford.edu> wrote in
news:ylhejg203r.fsf@windlord.stanford.edu: 
> 
> So if authentication fails or hasn't yet occurred, the user is assigned
> a username of <LOCAL>, and since <LOCAL> matches *, they're allowed to
> read all the groups anyway.
> 
> If you don't want to allow unauthenticated access, you need to remove
> the default: key in the auth block.
> 



-- 
+------------------------------------------------[ http://www.medracen.net
] 
    Amr A. Aysha
    Registered (Slackware) Linux User: #278117
Re: INN Authentication failed!
#59448
Author: Russ Allbery
Date: Thu, 04 Jul 2002 16:52
21 lines
1903 bytes
Amr A Aysha <amr-aysha@medracen.net> writes:

> Here is what I got after removing the "default:"
> directive in readers.conf file

> #--- LOG NEWS.NOTICE ---
> Jul  4 13:45:23 othello nnrpd[10645]: SERVER perl filtering enabled
> Jul  4 13:45:23 othello nnrpd[10645]: jugurtha.medracen.net connect
> Jul  4 13:45:39 othello nnrpd[10645]: jugurtha.medracen.net bad_hook
> program caught signal 11 Jul  4 13:45:39 othello nnrpd[10645]:

This is some completely different problem.  The auth program that you're
running is segfaulting.  I don't know what might be causing that; at this
point I'd need to start using a debugger.

-- 
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: INN Authentication failed!
#59600
Author: Jeffrey M. Vinocur
Date: Thu, 18 Jul 2002 20:14
17 lines
1396 bytes
In article <ylhejg203r.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Amr A Aysha <amr-aysha@medracen.net> writes:
>
>>         default: "<LOCAL>"
>
>So if authentication fails or hasn't yet occurred, the user is assigned a
>username of <LOCAL>

Mmm, if authentication fails, the connection is immediately
closed, isn't it?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN Authentication failed!
#59601
Author: Russ Allbery
Date: Thu, 18 Jul 2002 20:30
20 lines
1672 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Russ Allbery  <rra@stanford.edu> wrote:
>> Amr A Aysha <amr-aysha@medracen.net> writes:

>>>         default: "<LOCAL>"

>> So if authentication fails or hasn't yet occurred, the user is assigned a
>> username of <LOCAL>

> Mmm, if authentication fails, the connection is immediately
> closed, isn't it?

I don't think so.  I could be wrong, though.

-- 
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: INN Authentication failed!
#59607
Author: Jeffrey M. Vinocur
Date: Fri, 19 Jul 2002 05:40
19 lines
1535 bytes
In article <yly9c8pymd.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Jeffrey M Vinocur <jeff@litech.org> writes:
>
>> Mmm, if authentication fails, the connection is immediately
>> closed, isn't it?
>
>I don't think so.  I could be wrong, though.

*peers around*

Glancing at nnrpd/commands.c:CMDauthinfo() and some quick testing
confirms my thought, although I'm not completely positive.


-- 
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