On Jan 18, 2017, at 10:38 AM, Mustafa Mujahid/SYS <mustafa.mujahid@nayatel.com> wrote:
In which file exactly do I need to add this?
raddb/sites-enabled/default in the "authorize" section.
Qoute >
If it really is impossible to do this, the following unlang inserted above the call to the pap module may be used to copy User-Password to the correct attribute:
if (!control:Cleartext-Password && control:User-Password) { update control { Cleartext-Password := "%{control:User-Password}" } }
However, this should only be seen as a temporary, not permanent, fix. It is better to fix your databases to use the correct configuration.
<Unqoute
I changed the attribute temporarily in my DB and it worked, I would prefer using the same attribute as no specific detrimental effects about the above have been mentioned.
You should update your database to use Cleartext-Password. It's better. Alan DeKok.