Hello once again,<br><br>Please how can I insert into MySQL database, encrypted passwords for radius users. <br><br>In an earlier mail I posted to the list, Phil suggested <br> NT
hash (MD4 of little-endian UTF-16 form password)<br>
since it was <b>not possible to do</b> <b>MD5 with mschap.<br>
</b><br>I have tried to do:<br>
<br>insert into radcheck(userName,Attribute,op,value) values ('test','NT-Password',':=',NT-hash( 'password' ));<br>but it failed because I guess it doesn't exist.<br><br>I edited ntlm_auth module to specify the path for ntlm_auth like this <br>
<br>#######/ etc/raddb/modules/ntlm_auth ######<br>exec ntlm_auth {<br> wait = yes<br> program = "/usr/bin/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"<br>
}<br><br>I dont know how to apply ntlm_auth to cleartext passwords to insert into MySQl database.<br><br>How can I achieve encrypting password for radius users in MySQL using NT-Password.<br><br><br>Thank You.<br><br>