(RADIATOR) CHAP and PAP

Hugh Irvine hugh at open.com.au
Mon Jun 30 20:24:00 CDT 2003


Hello Morph -

I have not been able to find your records in our database, so could you 
please send me the name of the registered company that has purchased 
this copy of Radiator together with the username and password that you 
use to access the web site.

Please reply to me directly.

Many thanks

Hugh


On Tuesday, Jul 1, 2003, at 03:06 Australia/Melbourne, morph wrote:

> Hi all
> I've been looking for info in the mailing list without success so here 
> is the question :)
> I need to be able to receive in my radius CHAP and PAP requests.
> For example if an user uses CHAP or PAP , my Radiator must be smart 
> enough to check what kind of authentication method is receiving and 
> then make the correct query to check if it´s wrong or it´s right.
> In my database i have a column with the clear password for CHAP and 
> another column with the crypted password for PAP for every user.
>
> The perfect solution could be a way to make it work something like 
> this:
>
> <AuthBy SQL>
>
>               Identifier global_auth
>               DBSource dbi:mysql:xxx:xxx
>               DBUsername xxxx
>               DBAuth xxxx
>               FailureBackoffTime 2
>               Timeout 60
>               AuthSelect select PAPPASS,CHAPPASS from SUBSCRIBERS 
> where USERNAME='%n' and SERVICE='%{Handler:Identifier}'
>               AuthColumnDef 0,  Encrypted-Password, check
>               AuthColumnDef 1, User-Password , check
>
> </AuthBy>
> also with the correct AuthByPolicy in the <AuthBy GROUP>
>
> I mean, when Radiator gets an authentication request, it must query 
> for the CHAP and PAP password stored in the database and then check if 
> it´s PAP, if true then accept(if the password received is ok :-P ), if 
> false check if it is CHAP...
>
> Any suggestion would be appreciated !
> Thanks in advance :)
>
>
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list