[Users] aut_db module and realm

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Apr 6 18:34:51 CEST 2006


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