
Originally Posted by
Cyphear
Unfortunately it is still broken on BT5R2 (i386 Gnome install). I installed the patched version (plus tested my own build of 2.1.11 & 2.1.7) and it starts fine but when I do a test against it, not even pointing a router or hostapd at it it segfaults. The test I performed was
Code:
$ radtest -t mschap radtest testing password localhost 0 testing123
This caused radiusd to segfault
Code:
rad_recv: Access-Request packet from host 127.0.0.1 port 40242, id=2, length=115
User-Name = "testing"
NAS-IP-Address = 127.0.1.1
NAS-Port = 0
MS-CHAP-Challenge = 0x83dbadcbb153a7fe
MS-CHAP-Response = 0x000100000000000000000000000000000000000000000000000059b46a4e971cb9fd22212a631cbff0ddb8ccd1dae6beb1a5
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
[mschap] Found MS-CHAP attributes. Setting 'Auth-Type = mschap'
++[mschap] returns ok
++[digest] returns noop
[suffix] No '@' in User-Name = "testing", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
++[files] returns noop
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING! No "known good" password found for the user. Authentication may fail because of this.
++[pap] returns noop
Found Auth-Type = MSCHAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group MS-CHAP {...}
[mschap] No Cleartext-Password configured. Cannot create LM-Password.
[mschap] No Cleartext-Password configured. Cannot create NT-Password.
[mschap] Told to do MS-CHAPv1 with NT-Password
Segmentation fault
Darn... I'm going to try to debug when I get a chance but I'll admit this is not a strong skill of mine.