Ivan,
Hello
Thanks for your attention, but I have tested what you had suggested. The result is the same, with both attributes the CHAP module throws the same error. Any ideas?

Kind Regards
Ali Majdzadeh Kohbanani

2009/2/24 <tnt@kalik.net>
>I am using freeradius-1.1.7. In order to authenticate users using an
>external program, I have created an instance of the rlm_exec module which
>contains the properties of the external program. In the radiusd.conf, I have
>called the instance in the authentication section. Now, as I want to
>authenticate CHAP clients, I need to pass their clear text passwords to the
>rlm_chap module. The passwords are stored in the database (MySQL) and are
>fetched in the external program. In the external program, I have simply
>output User-Password = ### as the user's clear text password, but the
>rlm_chap module says: "Could not find clear text password for user ...".
>What is wrong? Any ideas?

Attribute for clear text password is - Cleartext-Password. And operator
should be :=.

Ivan Kalik
Kalik Informatika ISP

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html