[Serusers] Radius

Daniel-Constantin Mierla daniel at iptel.org
Thu Mar 25 22:25:19 CET 2004


In this case you either uninstall radiusclient and get the 3.x version 
if you want to stick to ser v0.8.12 or move to unstable branch of ser 
(you have to take it from cvs server -- see iptel.org/ser/cvs).

Try google to locate an old version of radiusclient library.

.Daniel

On 03/25/04 21:46, Morris, Scott wrote:

>The one referenced in the HowTo no longer exists.  So I downloaded the one
>discussed in the listserv back in December - 4.x.  So I downloaded and
>installed it.
>
>Scott Morris
>Enterprise Network Engineer
>DOE - ORAU / ORISE
>865-576-4672
>
>
>-----Original Message-----
>From: Daniel-Constantin Mierla [mailto:daniel at iptel.org] 
>Sent: Thursday, March 25, 2004 12:47 PM
>To: Morris, Scott
>Subject: Re: [Serusers] Radius
>
>
>Have you checked the radiusclient library version? Which is yours?
>
>Daniel
>
>On 03/25/04 18:32, Morris, Scott wrote:
>
>  
>
>>Daniel,
>>
>>Could you take a look at my RADIUS issue I posted?  I can't go any 
>>further until I can get SER to see RADIUS.
>>
>>Scott Morris
>>Enterprise Network Engineer
>>DOE - ORAU / ORISE
>>865-576-4672
>>
>>
>>-----Original Message-----
>>From: Daniel-Constantin Mierla [mailto:daniel at iptel.org]
>>Sent: Thursday, March 25, 2004 10:51 AM
>>To: Alessio Focardi
>>Cc: serusers at lists.iptel.org
>>Subject: Re: [Serusers] Radius
>>
>>
>>Hello,
>>
>>On 03/25/04 16:42, Alessio Focardi wrote:
>>
>> 
>>
>>    
>>
>>>Hello Daniel-Constantin,
>>>
>>>DCM> do you want to do both mysql and radius accounting? It should 
>>>DCM> work
>>>DCM> together, just compile the module with the two modes enabled and 
>>>DCM> set the same value for radius_flag and db_flag parameters.
>>>
>>>I would like to have sip user db in mysql and call log in radius.
>>>
>>>
>>>   
>>>
>>>      
>>>
>>that works. You don't need to compile acc with database support, just
>>with RADIUS.
>>
>> 
>>
>>    
>>
>>>Anyway compiling acc module with
>>>
>>># uncomment the next two lines if you wish to enable RADIUS accounting
>>>DEFS+=-DRAD_ACC
>>>LIBS=-L$(LOCALBASE)/lib -lradiusclient
>>>
>>>results in
>>>
>>>
>>>   
>>>
>>>      
>>>
>>All these errors are due to the fact you have incompatible version of
>>radiusclient library. You have radiusclient 4.1 installed and it should 
>>be 3.x or the other way around -- I am not sure which, but you can find 
>>it on the mailing list archive (google does a very good searching job 
>>when you append site:mail.iptel.org to any of the errors below).
>>
>>.Daniel
>>
>> 
>>
>>    
>>
>>>make[1]: Entering directory `/usr/src/sip_router/modules/acc'
>>>make[1]: Leaving directory `/usr/src/sip_router/modules/acc'
>>>make[1]: Entering directory `/usr/src/sip_router/modules/acc' gcc 
>>>-fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall
>>>   
>>>
>>>      
>>>
>>-minline-all-stringops -malign-double -falign-loops -mcpu=athlon 
>>-DNAME='"ser"' -DVERSION='"0.8.12-tcp_nonb"' -DARCH='"i386"' 
>>-DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux 
>>-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP 
>>-DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC  
>>-DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  
>>-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
>>-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DRAD_ACC -c acc.c -o 
>>acc.o
>> 
>>
>>    
>>
>>>acc.c: In function `acc_rad_request':
>>>acc.c:576:
>>>acc.c:576: warning: passing arg 2 of `rc_avpair_add' makes pointer 
>>>from
>>>   
>>>
>>>      
>>>
>>integer without a cast
>> 
>>
>>    
>>
>>>acc.c:576: warning: passing arg 3 of `rc_avpair_add' makes integer 
>>>from
>>>   
>>>
>>>      
>>>
>>pointer without a cast
>> 
>>
>>    
>>
>>>acc.c:576: error: too few arguments to function `rc_avpair_add'
>>>
>>>and more errors ....
>>>
>>>any guess ? tnx !
>>>
>>>
>>>
>>>   
>>>
>>>      
>>>
>>_______________________________________________
>>Serusers mailing list
>>serusers at lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
>>
>> 
>>
>>    
>>
>
>  
>




More information about the sr-users mailing list