[pap] Found unknown header {{MD4}}: Not doing anything
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} ? I am using: radiusd: FreeRADIUS Version 2.1.12, for host x86_64-redhat-linux-gnu, built on Jan 5 2012 at 18:31:23 Thanks a lot, Mohamed.
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}" } } ... }
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@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
participants (2)
-
Mohamed Lrhazi -
Phil Mayers