Hex to Cleartext
Alan DeKok
aland at deployingradius.com
Wed Apr 16 14:50:33 CEST 2014
Joseph Showalter wrote:
> So, if we prefixed the hex password with 0x via the sql, or do a db update, how would this look in the FR config:
> And used version 3 of course...
>
> update {
> Tmp-Octets-0 := < what would good here? >
A string expansion.
Tmp-Octets-0 := "0x%{sql: SELECT ...}"
Have the SQL SELECT statement return the password.
> Do you have any starter tips on how to hook perl in?
raddb/modules/perl, and example.pl
> Would you recommend rlm_perl or could this be done with a re-write module?
It can't be done with the rewrite module.
Alan DeKok.
More information about the Freeradius-Users
mailing list