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 <[email protected]> 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 > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

