[Users] uri_radius and radius_does_user_exist() not working

Daniel-Constantin Mierla daniel at voice-system.ro
Tue Jan 9 12:01:31 CET 2007


Hello,

have you tried with freeradius in debug mode? It prints log messages 
which may help to identify the problem.

Cheers,
Daniel


On 01/03/07 01:31, Toni Heinonen wrote:
> Hi,
>
> 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:
>
> http://tonih.iki.fi/temp/uri_radius.cap
>
> 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?
>




More information about the Users mailing list