Module not invoking for CHAP authentication

shivashankar c.shivashankar at gmail.com
Fri Nov 20 09:51:15 CET 2009


hi,

i am using freeradius 2.1.6 and soalris 10.

i created one module like rlm_radius. This module does authenticatin using
java file which is resideds in Jboss server

for PAP authentication it is working fine going to java file and checking
the logic.but when i use CHAP authentication is shwoing segment fault

see there the debug code


Ready to process requests.
rad_recv: Access-Request packet from host 10.232.163.145 port 1349, id=27,
length=44
        User-Name = "moto"
        User-Password = "shiva"
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "moto", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
++[unix] returns notfound
++[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
authorize -----------login = 1
[radius] Send Access-Accept.
++[radius] returns handled
Sending Access-Accept of id 27 to 10.232.163.145 port 1349
        Reply-Message = "This is a challenge"
        State = 0x30
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 0 ID 27 with timestamp +2
Ready to process requests.

rad_recv: Access-Request packet from host 10.232.163.145 port 1350, id=28,
length=45
        User-Name = "moto"
        CHAP-Password = 0x60373d77e7cd68c4d46e937727c380d565
+- entering group authorize {...}
++[preprocess] returns ok
[chap] Setting 'Auth-Type := CHAP'
++[chap] returns ok
++[mschap] returns noop
[suffix] No '@' in User-Name = "moto", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
++[unix] returns notfound
++[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
Segmentation Fault (core dumped)




root at nms-T1000-03:/

-- 
View this message in context: http://old.nabble.com/Module-not-invoking-for-CHAP-authentication-tp26432167p26432167.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.




More information about the Freeradius-Users mailing list