FOUND ERROR....<br>
if I insert NT-PASSWORD, instead of NT_PASSWORD, it work fine.<br>
<br>
thank you so much<br>
<br>
egoseek<br><br>Date: Wed, 13 Sep 2006 16:35:49 +0100<br>From: Rob Shepherd <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rob@techniumcast.com">rob@techniumcast.com</a>><br>Subject: Re: NT-PASSWORD--Re: Freeradius-Users Digest, Vol 17, Issue
<br>        47<br>To: FreeRadius users mailing list<br>        <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>>
<br>Message-ID: <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:45082555.6030105@techniumcast.com">45082555.6030105@techniumcast.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
<br><br>ego seek wrote:<br>> I'm working with mschapv2,<br>> I use a PHP web site to register a user,  can i insert into the db a<br>> NT-hased password?<br><br>Yes, radcheck should contain<br><br>UserName  |  Attribute    |  op  |  Value                             |
<br>----------|---------------|---<div style="direction: ltr;">---|------------------------------------|<br>colin     |  NT_Password  |  :=  |  abcdef1234567890abcdef1234567890  |<br><br>I use Pear Crypt...<br><br><?php
<br>   $cr = new Crypt_CHAP_MSv1();<br>   $cr->password = $password;<br>   $NThash = bin2hex($cr->ntPasswordHash());<br>?><br><br><br><br>Rob</div><br><br><br><br>