[Users] uri_radius and radius_does_user_exist() not working

Toni Heinonen toni.heinonen at gmail.com
Wed Jan 3 00:31:24 CET 2007


I've been through the OpenSER + RADIUS configuration tutorial many,
many times, and it works like a charm, except for the uri_radius
module which I can't get to detect user existence with the
radius_does_user_exist() function.

I'm trying to decide whether to send a 404 or a 480, as such:

if (!lookup("location")) {
  if(radius_does_uri_exist()) {
    sl_send_reply("480", "User offline");
  } else {
    sl_send_reply("404", "User not found");

It worked identically with the uri_db module's does_user_exist()
function. Now the RADIUS server doesn't seem to understand the
Call-Check request. I have a dump here:


Can anyone guess why OpenSER always gives a 404 even for users that
exist, but that are simply offline? The users are currently
hand-configured into freeradius's text configuration file users.conf.

PS. What have you found to be the best way to authenticate users from
a domain?  FreeRADIUS using Kerberos 5, LDAP or relaying to a
Microsoft RADIUS (IAS) server?

http://tonih.iki.fi/ ~ http://blogit.helsinki.fi/toni.heinonen/
"The progress of a dynamic civilization depends on the special people
who make play out of work. In their all-absorbing passion, they create
the variations that, through trial and error, become the sources of
progress. They make the discoveries that drive the infinite series."
- Virginia Postrel

More information about the sr-users mailing list