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 [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.

Reply via email to