How do you pass Cleartext-Password from CHAP to another module

Phil Mayers p.mayers at imperial.ac.uk
Wed Feb 16 10:07:10 CET 2011


On 02/16/2011 02:07 AM, paul smith wrote:
> Hi,
>
> I want to authenticate a CHAP request against my sql database, but
> then pass the Cleartext-Password to the next module.
> I've got the CHAP working fine, but can't work out how to pass the password on.
> Is this possible?
>
> I have an exec module like this:
>      exec authz {
>          wait = yes
>          program = "authz -u %{User-Name} -p %{Cleartext-Password}"

This should be:

"authz -u %{User-Name} -p %{config:Cleartext-Password}"



More information about the Freeradius-Users mailing list