Hi,
FreeRadius crashes with following output when using authtype MS-CHAP:
modcall: group authorize returns ok
rad_check_password: Found Auth-Type MS-CHAP
auth: type "MS-CHAP"
modcall: entering group authenticate
/etc/init.d/radiusd: line 23: 9199 Segmentation fault ${raddir}/radiusd $debug
The authorization seens to be ok but, however, the authentication faults regardless where the LM- or NT-Password is stored.
(I used pwdump3 to dump the passwords from our W2k domain controller into a file)
I've tried by using "passwd =" in mschap section of radiusd.conf (i.e.) and corresponding entries in authorize{} and authenticate{}:
mschap {
passwd = /etc/raddb/w2kpasswds
authtype = MS-CHAP
use_mppe = no
}
authorize {
mschap
}
authenticate {
mschap
}
Also I've tried it by using etc_smbpasswd instead of "passwd =" (i.e.):
passwd etc_smbpasswd {
filename = /etc/raddb/w2kpasswds
format = "*User-Name::LM-Password:NT-Password:SMB-Account-CTRL-TEXT::"
authtype = MS-CHAP
hashsize = 100
ignorenislike = no
allowmultiplekeys = no
}
authorize {
etc_smbpasswd
mschap
}
authenticate {
mschap
}
Finally by simply writing the LM-Password into the users file (i.e.):
"test" Service-Type == Framed-User, LM-Password := 0x{hash}
(and no "passwd =" or etc_smbpasswd in config file)
However, same result anyway!
Does anybody have an idea how to fix this?
Regards,
Martin