rlm_perl and PEAP/MSCHAPv2
Ryan De Kock
ryandekock1988 at gmail.com
Mon Feb 8 15:06:16 CET 2016
Thanks.
I was just grasping at straws, hoping something would happen to give me a
clue.
I notice that the rlm_perl docs state that its read only, I'm not near an
Access Point to actually test at the moment
# %RAD_CHECK Read-only Check items
# %RAD_REQUEST Read-only Attributes from the request
# %RAD_REPLY Read-write Attributes for the reply
On 8 February 2016 at 14:39, Herwin Weststrate <herwin at quarantainenet.nl>
wrote:
> On 08-02-16 13:16, Ryan De Kock wrote:
> > #debugging
> > &radiusd::radlog(1,"PERL USERNAME " . $RAD_REQUEST{'User-Name'});
> > &radiusd::radlog(1,"PERL USERNAME " .
> > $RAD_REQUEST{'Cleartext-Password'});
>
> That second line is pretty much useless, not only has this nothing to do
> with a username, there won't be a Cleartext-Password in the request.
>
> > #trying to update the cleartext-password to the one the user
> enters.
> > $RAD_REQUEST{'Cleartext-Password'} = "test";
> > $RAD_REPLY{'Cleartext-Password'} = 'test';
>
> You have to write it to the control list instead of request/reply. Try
> the following:
>
> $RAD_CHECK{'Cleartext-Password'} = 'test';
>
> (The actual name of the perl hash required here varies among versions,
> this is the hash that should work in v3.0.11)
>
> --
> Herwin Weststrate
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list