User-Password to Cleartext-Password Conversion.

Mustafa Mujahid/SYS mustafa.mujahid at nayatel.com
Wed Jan 18 16:38:09 CET 2017


Hello,

In which file exactly do I need to add this?

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. Secondly I keep getting.

-- 

*Mustafa Mujahid | Systems*
/Operations Engineer/


More information about the Freeradius-Users mailing list