[Serusers] radius auth with 401

Oláh István olinka at maffia.hu
Thu Aug 14 12:09:39 CEST 2003


Hi!

I'm trying to configure ser with freeradius authentication, but when i 
send a REGISTER to ser, it answers with 401 unauthorized. No RADIUS 
messages are sent to freeradius. I have
ser 0.8.11pre29, 
freeradius 0.9.0, 
radiusclient 0.3.2.
I've tested freeradius with radtest, and that works, i can see the 
radius messages.

********** ser.cfg
modparam("auth_radius", "radius_config", 
"/etc/radiusclient/radiusclient.conf")

modparam("auth_radius", "service_type", 15)

...

if (method=="REGISTER") {
      if (!radius_www_authorize("")) {
           www_challenge("", "0");
           break;
      }
      save("location");
      break;
};

***********

Thanks
olinka




More information about the sr-users mailing list