[Serusers] Checking for unregistered user

Luke Gasteiger luke at vianet.ca
Sat Mar 29 23:39:40 CET 2003


> i have such a function in my radius_auth module.  i call it after lookup
> fails in order to find out if the request uri belongs to an existing
> user.
> 
>         if (!lookup("location")) {
>             if (radius_does_uri_exist()) {
>                 sl_send_reply("480", "Temporarily Unavailable");
>                 break;
>             };
>             sl_send_reply("404", "Not Found");
>             break;
>         };
> 
> i don't know if that function will be part of the coming, new official
> radius_auth module.

Is the radius_auth module with that functionality available anywhere at
this time? 

Thanks
Luke




More information about the sr-users mailing list