[pap] Found unknown header {{MD4}}: Not doing anything
    Mohamed Lrhazi 
    lrhazi at gmail.com
       
    Tue Mar 13 12:03:53 CET 2012
    
    
  
Excellent. Thanks a lot.
I will start by learning the rewrite feature first though :)
Mohamed.
On Tue, Mar 13, 2012 at 6:42 AM, Phil Mayers <p.mayers at imperial.ac.uk> wrote:
> On 13/03/12 09:50, Mohamed Lrhazi wrote:
>>
>> Hello,
>>
>> My LDAP server has the passwords stored in MD4 encoded format, which I
>> am suspecting is the same as NT format...
>>
>> Is there a way to tell freeradius to treat {MD4} as it it was {NT} ?
>
>
> You could change the source code. Or re-write the attribute:
>
> authorize {
>  ...
>  ldap
>  if (control:Cleartext-Password ~ /^{MD4}(.+)$/) {
>   update control {
>     Cleartext-Password := "{NT}%{1}"
>   }
>  }
>  ...
> }
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
    
    
More information about the Freeradius-Users
mailing list