🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Nikola Di Giusto Wed, 25 Jul 2001 07:32
Auth on INN 2.3.2
#53469
Author: Nikola Di Giusto
Date: Wed, 25 Jul 2001 07:32
59 lines
2248 bytes
Hi!

I have RH7.1 and inn 2.3.2
I install inn and set IP auth and everything works fine...


I tried to get user/pass authentification and...

I have in readers.conf:
    
auth "external" {
    hosts: "*"
    auth: "/news/bin/auth/passwd/ckpasswd -d /news/db/newsusers"
    auth: "/news/bin/auth/passwd/ckpasswd -f /news/db/testpass"
    auth: "/news/bin/auth/passwd/ckpasswd -s"
}

access fail {
    newsgroups: !*
}

access full {
    users: *
    newsgroups: *
    access: RPA
}
   

I created /news/db/newsusers with Perl script wich I find in man file
for ckpasswd

/news/db/testpass I created with htpasswd -d (crypt)


Also, I have on system user nikola...

And, when I try to connect on news server, I get message in news
reader "connection closed unexpectedly by server.: Logging into news
server

When I tried telnet on 119 port, 

authinfo user user_name
PASS required
authinfo pass user_password
Connection to host lost


In log news.notice I have:

Jul 25 09:21:16 name_host nnrpd[1207]: my_computer connect
Jul 25 09:21:28 name_host nnrpd[1207]: my_computer times user 0.010
system 0.030 elapsed 11.646                               


any help?

Thanks!
Re: Auth on INN 2.3.2
#53884
Author: Sri
Date: Mon, 20 Aug 2001 19:11
66 lines
2430 bytes
I have the same problem. Do u have any solution yet???

thanks
sri.


Nikola Di Giusto <nikola.digiusto@caatoosee.hr> wrote in message news:<bsrsltkm7s5e0ql2n97acm3r3khrvsrhk8@4ax.com>...
> Hi!
> 
> I have RH7.1 and inn 2.3.2
> I install inn and set IP auth and everything works fine...
> 
> 
> I tried to get user/pass authentification and...
> 
> I have in readers.conf:
>     
> auth "external" {
>     hosts: "*"
>     auth: "/news/bin/auth/passwd/ckpasswd -d /news/db/newsusers"
>     auth: "/news/bin/auth/passwd/ckpasswd -f /news/db/testpass"
>     auth: "/news/bin/auth/passwd/ckpasswd -s"
> }
> 
> access fail {
>     newsgroups: !*
> }
> 
> access full {
>     users: *
>     newsgroups: *
>     access: RPA
> }
>    
> 
> I created /news/db/newsusers with Perl script wich I find in man file
> for ckpasswd
> 
> /news/db/testpass I created with htpasswd -d (crypt)
> 
> 
> Also, I have on system user nikola...
> 
> And, when I try to connect on news server, I get message in news
> reader "connection closed unexpectedly by server.: Logging into news
> server
> 
> When I tried telnet on 119 port, 
> 
> authinfo user user_name
> PASS required
> authinfo pass user_password
> Connection to host lost
> 
> 
> In log news.notice I have:
> 
> Jul 25 09:21:16 name_host nnrpd[1207]: my_computer connect
> Jul 25 09:21:28 name_host nnrpd[1207]: my_computer times user 0.010
> system 0.030 elapsed 11.646                               
> 
> 
> any help?
> 
> Thanks!
Re: Auth on INN 2.3.2
#53887
Author: Graeme Mathieson
Date: Tue, 21 Aug 2001 07:01
38 lines
2332 bytes
Nikola Di Giusto <nikola.digiusto@caatoosee.hr> writes:

> I have RH7.1 and inn 2.3.2
[ snip ]
> Also, I have on system user nikola...

If RedHat 7.1 uses MD5 passwords (which I think it does by default) then
ckpasswd will not work.  Instead, have a look at pamckpasswd:

http://www.mathie.cx/~graeme/software/pamckpasswd.tar.gz

> When I tried telnet on 119 port, 
> 
> authinfo user user_name
> PASS required
> authinfo pass user_password
> Connection to host lost

That's normal.  When INN fails to authenticate the user, it immediately
drops the connection.

> In log news.notice I have:
> 
> Jul 25 09:21:16 name_host nnrpd[1207]: my_computer connect
> Jul 25 09:21:28 name_host nnrpd[1207]: my_computer times user 0.010
> system 0.030 elapsed 11.646                               

Odd.  You should also have a line along the lines of

Jul 25 09:21:28 name_host nnrpd[1207]: auth_err ckpasswd: user user_name \
 does not exist.

if auth fails.  Hrm, The part 'user user_name does not exist' is produced
by ckpasswd itself.  I wonder if your pass to ckpasswd is correct?

-- 
graeme+sig@mathie.cx                          http://www.mathie.cx/~graeme/
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