NT-PASSWORD--Re: Freeradius-Users Digest, Vol 17, Issue 47
I'm working with mschapv2, I use a PHP web site to register a user, can i insert into the db a NT-hased password? Have I to configure the radius to accept che NT-PASSWORD value or it does by itself? thank you so much. you're so helpful. egoseek Message: 1 Date: Wed, 13 Sep 2006 10:26:52 +0100 From: Rob Shepherd <rob@techniumcast.com> Subject: Re: Freeradius-Users Digest, Vol 17, Issue 47 To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Message-ID: <4507CEDC.9060006@techniumcast.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed ego seek wrote:
thank you for yor reply.
Which one? Don't top-post above an entire digest message!!
do you know if i can use NT-PASSWORD using windowsXP client?
The windowsXP client, if configured appropriately, will use mschapv2 inside PEAP. It will be supplying an NT password hash as part of this.
do I have only modify the table insert "NT-PASSWORD" instead "PASSWORD"?
Yes. However `Password` is usually a check item, for comparing clear text passwords. The `NT-Password` needs to be a config item. radiusd will figure out what to do with it. Rob
ego seek wrote:
I'm working with mschapv2, I use a PHP web site to register a user, can i insert into the db a NT-hased password?
Yes, radcheck should contain UserName | Attribute | op | Value | ----------|---------------|------|------------------------------------| colin | NT_Password | := | abcdef1234567890abcdef1234567890 | I use Pear Crypt... <?php $cr = new Crypt_CHAP_MSv1(); $cr->password = $password; $NThash = bin2hex($cr->ntPasswordHash()); ?> Rob -- Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ rob@techniumcast.com | 01248 675024 | 077988 72480
participants (2)
-
ego seek -
Rob Shepherd