Article View: news.software.nntp
Article #51702radius-authentication fails
From: Thomas -Balu- Walter
Date: Tue, 10 Apr 2001 12:50
Date: Tue, 10 Apr 2001 12:50
66 lines
2843 bytes
2843 bytes
Actually I have a problem to authenticate my users via radius. Biggest
problem is - is it a problem with radius, with inn or with my client?
I've set up the following readers.conf:
# Was activated by default, might remove it later
auth "localhost" {
hosts: "localhost, 127.0.0.1, stdin"
default: "<localhost>"
}
access "localhost" {
users: "<localhost>"
newsgroups: "*"
}
# authenticate with radius
auth radius {
auth: "radius"
default: <fail>
default-domain: radius.fh-muenster.de
}
access radius {
users: *@radius.fh-muenster.de
newsgroups: "*, !junk, !control, !control.*"
}
access faileduser {
users: <fail>@*
newsgroups: !*
}
In addition I have set up radius.conf to include my radhost, lochost
and secret - the radius-server was configured to accept this client with
this secret.
When I try to connect to the newsserver with slrn news.notice logs the
following:
Apr 10 05:36:56 newstest nnrpd[3000]: 193.174.90.124 connect
Apr 10 05:36:56 newstest nnrpd[3000]: 193.174.90.124 \
bad_hook program caught signal 11
Apr 10 05:36:56 newstest nnrpd[3000]: 193.174.90.124 bad_auth
Apr 10 05:36:56 newstest nnrpd[3000]: 193.174.90.124 \
times user 0.070 system 0.040 elapsed 0.274
This signal 11 confused me and I tried to call the programm
bin/auth/passwd/radius manually which gave me a segfault?
The radius-server did not log any attempt in its radius.log
Is there a way to check if the authentication itself works (by calling
the ckpasswd/radius manually and giving username + password)?
I have also tried to replace auth: radius with
auth: "ckpasswd -f /usr/local/news/newsusers"
and created that file including username:cryptpw I got from a shadow of
another system. (the newsserver itself uses md5 - no chance ;)
That works.
Base system of the newsserver is a debian-2.2r2
If you need more information, please contact me...
Balu
Technical Details
Message-ID:
<slrn9d60kk.f6l.netnews@itreff.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-xfer.nuri.net!enews.sgi.com!fu-berlin.de!uni-berlin.de!mail.itreff.DE!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrn9d60kk.f6l.netnews@itreff.de> Subject: radius-authentication fails Date: Tue, 10 Apr 2001 12:50:54 +0000 From: netnews@b-a-l-u.de (Thomas -Balu- Walter) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-xfer.nuri.net!enews.sgi.com!fu-berlin.de!uni-berlin.de!mail.itreff.DE!not-for-mail Newsgroups: news.software.nntp Organization: iTreff internetservice GbR (http://WWW.iTreff.DE) Lines: 65 NNTP-Posting-Host: mail.itreff.de (212.124.46.2) X-Trace: fu-berlin.de 986907054 7326927 212.124.46.2 (16 [62676]) X-Orig-Path: netnews User-Agent: slrn/0.9.6.2 (Linux)