[Users] aut_db module and realm

buxalex at libero.it buxalex at libero.it
Fri Apr 7 12:07:32 CEST 2006


Hello,

thanks for your help. I entered a new line in my openser.cfg:

modparam("usrloc", "use_domain", 1)

but when I start openser (through Monit service manager) it crashes.
If I set the parameter value=0 it works fine but, of course, the domain is not populated into location table.

Could you please give me any advice?

Thanks
Alessandro
---------- Initial Header -----------

>From      : "Bogdan-Andrei Iancu" bogdan at voice-system.ro
To          : "Christophe Irles" christophe.irles at alcatel.fr
Cc          : buxalex at libero.it,"users" users at openser.org
Date      : Thu, 06 Apr 2006 19:34:51 +0300
Subject : Re: [Users] aut_db module and realm







> Hi,
> 
> just as an add-on...to have the domain column populated in location 
> table, you need to set the "use_domain" param in location module. See:
>        http://openser.org/docs/modules/1.0.x/usrloc.html#AEN195
> 
> regards,
> bogdan
> 
> Christophe Irles wrote:
> 
> >Hello,
> >
> >command [ modparam("auth_db", "domain_column", "domain") ] is used to
> >indicate to auth_db module the name of the column to use to retrieve the
> >domain associated to an user in the "subcriber" table (table name use
> >generally by default in auth_db). 
> >
> >This table is filled by the administrator to grant access
> >
> >The "location" is filled by openSER when user registered on openSER based of
> >info given by UA. So it's possible to have location.domain !=
> >subscriber.domain if the settings of the UA is not performed correctly.
> >
> >Field location.received contains this data SIP:IP:PORT of the UA device
> >
> >Hope this helps,
> >Christophe 
> >
> >-----Message d'origine-----
> >De : users-bounces at openser.org [mailto:users-bounces at openser.org] De la part
> >de buxalex at libero.it
> >Envoyé : jeudi 6 avril 2006 16:38
> >À : users
> >Objet : [Users] aut_db module and realm
> >
> >Hello to everybody,
> >
> >I configured the openser.cfg as follow:
> >
> >#-----------------------------------
> >#     AUT_DB  parameters
> >#----------------------------------
> >
> >modparam("auth_db", "db_url", "mysql://openser:openser@localhost/openser")
> >modparam("auth_db", "calculate_ha1", yes) modparam("auth_db",
> >"domain_column", "domain") modparam("auth_db", "user_column", "phone")
> >modparam("auth_db", "password_column", "password")
> >
> >In this way openser checks for authentication the phone number instead of
> >the username (it works fine!!). My problem is realted to domain. Entering
> >the modparam(.....,"domain") I was expecting to see the domain column
> >populated in the table location, but it doesn't happen. Do I have to
> >configure something else? Moreover, anybody could explain me the meaning of
> >the column location.received?
> >
> >thanks in advance
> >Alessandro
> >
> >
> >_______________________________________________
> >Users mailing list
> >Users at openser.org
> >http://openser.org/cgi-bin/mailman/listinfo/users
> >
> >
> >_______________________________________________
> >Users mailing list
> >Users at openser.org
> >http://openser.org/cgi-bin/mailman/listinfo/users
> >
> >  
> >
> 
> 





More information about the Users mailing list