[Serusers] radius auth with 401

Jan Janak jan at iptel.org
Thu Aug 14 12:10:21 CEST 2003


Hello,

after receiving 401 your client is supposed to prompt you for your
username and password and send another REGISTER request containing
digest credentials. The SIP server will send request to the redius
server after it receives a REGISTER with proper digest credentials.
 
 Jan.

On 14-08 12:09, Oláh István wrote:
> 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
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list