🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51703

Re: radius-authentication fails

#51703
From: Thomas -Balu- Walter
Date: Tue, 10 Apr 2001 13:25
35 lines
2228 bytes
In article <slrn9d60kk.f6l.netnews@itreff.de>, Thomas -Balu- Walter wrote:
[problems with radius-authentication]
>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

This was the problem - I've just put out the rest of my c-knowledge,
installed strace and played with "bin/auth/passwd/radius" when I finally
figured out that it has problems to open the radius.conf-file. 

Looking through the C-source of radius.c gave me an option "-f" which
looks like a way to specify the radius.conf - tested manually -> no
segfault, tested in readers.conf - worked.

So - in short: auth: "radius -f /usr/local/news/etc/radius.conf" and
YAY! ;-)

>Is there a way to check if the authentication itself works (by calling
>the ckpasswd/radius manually and giving username + password)?

deep crawling through the source gave me the answer too:
bin/auth/passwd/radius -f etc/radius.conf
ClientAuthname: balu
ClientPassword: password
<ctrl>-<d>
User:balu

Sometimes you just have to ask others to find a solution yourself ;)

     Ba-happy-lu
-- 
"Linux is like a fractal: No matter how deep you go, there's always
more!" [Casey Bralla, 24.01.2001 in lfs-discuss@linuxfromscratch.org]
Technical Details
Message-ID: <slrn9d62m7.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!news.he.net!feed2.onemain.com!feed1.onemain.com!feeder.qis.net!fu-berlin.de!uni-berlin.de!mail.itreff.DE!not-for-mail
References: <slrn9d60kk.f6l.netnews@itreff.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9d62m7.f6l.netnews@itreff.de>
Subject: Re: radius-authentication fails
Date: Tue, 10 Apr 2001 13:25:53 +0000
From: netnews@b-a-l-u.de (Thomas -Balu- Walter)
References: <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!news.he.net!feed2.onemain.com!feed1.onemain.com!feeder.qis.net!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: 34
NNTP-Posting-Host: mail.itreff.de (212.124.46.2)
X-Trace: fu-berlin.de 986909153 7326927 212.124.46.2 (16 [62676])
X-Orig-Path: netnews
User-Agent: slrn/0.9.6.2 (Linux)