How do you pass Cleartext-Password from CHAP to another module
paul smith
paulsmth37 at googlemail.com
Wed Feb 16 12:08:04 CET 2011
Thanks Phil,
Unfortunately that doesn't seem to work. I get the following:
Wed Feb 16 10:30:20 2011 : Info: [authz] expand: Cleartext-Password
-> Cleartext-Password
Wed Feb 16 10:30:20 2011 : Debug: WARNING: No such configuration item
Cleartext-Password
Cleartext-Password is found though because CHAP works.
thanks,
On Wed, Feb 16, 2011 at 9:07 AM, Phil Mayers <p.mayers at imperial.ac.uk> wrote:
> 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}"
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
More information about the Freeradius-Users
mailing list