pptpd mschap auth fails

Horatiu Nimigean horatiu.nimigean at ddnet.ro
Tue Aug 6 18:39:28 CEST 2013

oook.... the damn password is "letmein" for testing purposes.
i can't seriously mistype it that many times.

and i did not. it turns out lam successfully reports changing both unix 
and samba passwords but upon closer inspection and verifying with 
smbencrypt cli tool the samba hases are NOT updated.

upon editing with apache directory studio it auths perfectly. both from 
win8 client as well as radtest.
thanks for strongly pointing out that indeed there s a problem with the 
damn hashes.


On 8/6/2013 6:36 PM, Alan DeKok wrote:
> Horatiu Nimigean wrote:
>> the auth fails however when i try conencting from my windows8 client.
>> i need to mention that i am sure i'm inputting correct passwords.
>    No, you're not.
>>      [mschap] Found NT-Password
>>      [mschap] Creating challenge hash with username: testuser1
>>      [mschap] Told to do MS-CHAPv2 for testuser1 with NT-Password
>>      [mschap] FAILED: MS-CHAP2-Response is incorrect
>    The passwords are different.
>    Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

More information about the Freeradius-Users mailing list