CHAP-Password handling
Alan DeKok
aland at deployingradius.com
Tue Jul 3 01:16:08 CEST 2018
On Jul 2, 2018, at 7:11 PM, J E H A N Z A I B <jehanzaib.kiani at gmail.com> wrote:
> How are things ? I need valuable suggestion from you guys let me explain
> what I have here.
>
> I have a script which decides which kind of Access-Request have to correct.
> so my perl script modies the $RAD_REQUEST{'User-Name'}
> and $RAD_REQUEST{'User-Password'} .
You don't need to do that. You can just set the $RAD_CHECK{'Auth-Type'} = "Accept"
> So this username and password both are
> correct. They both are in my radcheck database as well so we get Access-Accept.
> This works great for PAP now when I use CHAP we see 2 new parameters in the
> Access-Request (CHAP-Password & CHAP-Challenge) is there any way I can send
> direct Access-Accept if my script found the User-Name in my database?
Yes. See above.
Alan DeKok.
More information about the Freeradius-Users
mailing list