[Users] $avp(s:rpid) and another question...

Helge Waastad helge at smartnet.no
Fri Mar 9 11:24:23 CET 2007


Hi,
I'm running make dist and building using rpmbuild.

If I build in source tree, svnversion comes out allright.

br hw


On fre, 2007-03-09 at 11:12 +0200, Daniel-Constantin Mierla wrote:
> Hello,
> 
> how do you build openser? Simply "make" in the source tree? Chech if you 
> have svnversion on your system then.
> 
> Cheers,
> Daniel
> 
> 
> On 03/09/07 10:51, Helge Waastad wrote:
> > Hi,
> > I did a fresh svn co.
> >
> > Still svnversion: unknown (what should it be?)
> >
> > But now the rpid avp for auth works.
> >
> > br hw
> >
> >
> > On tor, 2007-03-08 at 23:18 +0200, Daniel-Constantin Mierla wrote:
> >   
> >> Hello,
> >>
> >> svnrevision: unknown
> >>
> >>   says that you didn't compile openser in the source tree downloaded 
> >> from SVN. Also, you changed the version, simply 1.2.0 wasn't set yet on 
> >> SVN :-), so it is hard for me to guess when you got the sources. The 
> >> best is to get again the sources from SVN and test one more.
> >>
> >> Cheers,
> >> Daniel
> >>
> >> On 03/08/07 23:11, Helge Waastad wrote:
> >>     
> >>> Hi, and thx.
> >>>
> >>> openser -V:
> >>>
> >>> version: openser 1.2.0 (i386/linux)
> >>> flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM,
> >>> SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> >>> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> >>> MAX_URI_SIZE 1024, BUF_SIZE 65535
> >>> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> >>> svnrevision: unknown
> >>> @(#) $Id: main.c 1746 2007-03-05 16:06:58Z miconda $
> >>> main.c compiled on 20:06:51 Mar  5 2007 with gcc 3.4.6
> >>>
> >>>
> >>> br hw
> >>>
> >>>
> >>>
> >>>
> >>> On tor, 2007-03-08 at 23:05 +0200, Daniel-Constantin Mierla wrote:
> >>>   
> >>>       
> >>>> Hello,
> >>>>
> >>>> On 03/08/07 22:39, Helge Waastad wrote:
> >>>>     
> >>>>         
> >>>>> Hi,
> >>>>> two small questions this time :-)
> >>>>>
> >>>>> 1.) From 1.2.x modules dok, default rpid_avp for auth is:
> >>>>> modparam("auth", "rpid_avp", "$avp(s:rpid)")
> >>>>>
> >>>>> However setting this gives a failure:
> >>>>>
> >>>>>  parse_avp_name: error - use type (s: or i:) in front of avp name 
> >>>>> Mar  8 21:33:46 proxy-02 /usr/sbin/openser[16128]:
> >>>>> ERROR:auth:init_rpid_avp: invalid rpid AVP specs "$avp(s:rpid)" 
> >>>>> Mar  8 21:33:46 proxy-02 /usr/sbin/openser[16128]: ERROR:auth:mod_init:
> >>>>> failed to process rpid AVPs 
> >>>>> Mar  8 21:33:46 proxy-02 /usr/sbin/openser[16128]: init_mod(): Error
> >>>>> while initializing module auth
> >>>>>
> >>>>> The "old" way still works: modparam("auth","rpid_avp","s:rpid")
> >>>>>   
> >>>>>       
> >>>>>           
> >>>> just tested again on my laptop, and works ok with:
> >>>>
> >>>> modparam("auth", "rpid_avp", "$avp(s:rpid)")
> >>>>
> >>>> Have you got the latest SVN version? Please send "openser -V" to see the 
> >>>> SVN revision, if you compiled from sources.
> >>>>
> >>>>     
> >>>>         
> >>>>> 2.)
> >>>>> Earlier I had 
> >>>>> modparam("tm","fr_inv_timer_avp","s:inv_timeout")
> >>>>>
> >>>>> and:
> >>>>> avp_db_load("$tu",s:inv_timeout) [inv_timeout attribute in database]
> >>>>>
> >>>>> What would be the equivalent with the new avp configuration?
> >>>>>   
> >>>>>       
> >>>>>           
> >>>> in 1.2.0 is:
> >>>>
> >>>> modparam("tm","fr_inv_timer_avp","$avp(s:inv_timeout)")
> >>>>
> >>>> avp_db_load("$tu","$avp(s:inv_timeout)");
> >>>>
> >>>> Cheers,
> >>>> Daniel
> >>>>  
> >>>>
> >>>>
> >>>>     
> >>>>         
> >>>>> br hw
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Users mailing list
> >>>>> Users at openser.org
> >>>>> http://openser.org/cgi-bin/mailman/listinfo/users
> >>>>>
> >>>>>   
> >>>>>       
> >>>>>           
> >>>   
> >>>       
> >
> >   




More information about the Users mailing list