[Serusers] digest authentication without db

Marian Dumitru marian.dumitru at voice-sistem.ro
Wed Jun 1 16:50:26 CEST 2005


Hi Bruno,

have you took a look at dbtext module - implements a database support 
via  text files and can be used via same DB API as mysql or postgres 
modules.

regards,
Marian

Bruno Lopes F. Cabral wrote:
> Hello there
> 
> a flat file (Berkeyley DB) auth module would do this
> marvelously. I remember reading something about flat
> files on the past few weeks of the list archive but
> I must confess I'm waiting 0.9.0 to stabilize to
> research on it (I'm still using 0.8.14 and it doesn't
> seem to have the Berkeyley DB option)
> 
> hope this helps
> !3runo
> 
> Francesco Fondelli wrote:
> 
>> Hello,
>>
>> I'm new to SER and SIP as well so please forgive my
>> mistakes.
>> I'm trying to setup SER in order to forward calls to
>> a pool of pstn gateways. I want use digest authentication
>> for UAs but I cannot store userid and passwords on a db.
>>
>> Basically I would like to do:
>>
>>     if (!www_authorize("mydomain.com", "subscriber")) {
>>                 www_challenge("mydomain.com", "0");
>>                 break;
>>         };
>>
>> getting userid and password from a text configuration file
>> which contains such infos. How can I do that?
>>
>> I have written a ser cfg file and I would like someone tell me
>> if is ok. Is a mix of several different cfg files I have found
>> on the net. I'm sure is far to be ok :-)
>>
>> Thank for your help.
>> Ciao

-- 
Voice System
http://www.voice-system.ro




More information about the sr-users mailing list