Re: Different accounting based on avpair
Hi, Thanks, it worked :) Just for the record, redhat's RPMS doesn't bring doc/Acct-Type :) Nuno Fernandes On Friday 24 November 2006 16:50, Alan DeKok wrote: Nuno Pais Fernandes wrote: Hi, Does someone have any info on this? Is it possible with freeradius? Does anyone have this setup working? Yes. See doc/Acct-Type and doc/configurable_failover. You can configure two SQL modules, and select which one to use via Acct-Type. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Nuno Miguel Pais Fernandes [EMAIL PROTECTED] Cisco Certified Network Associate Oracle Certified Professional Eurotux Informática, S.A. [http://eurotux.com] Rua Rosalvo de Almeida, 5. 4710-429 BRAGA PORTUGAL Tel: (+351) 253 257395 - Fax: (+351) 253 257396 pgphfSLp22m9n.pgp Description: PGP signature - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Different accounting based on avpair
Hi, Does someone have any info on this? Is it possible with freeradius? Does anyone have this setup working? Thanks Nuno Fernandes On Wednesday 15 November 2006 18:17, Nuno Pais Fernandes wrote: Hi, I've been searching the ML for something related to this without any success. I don't know if freeradius does what i need and correct me if i'm wrong. I want to freeradius insert/update different sql tables using a avpair from my custom dictionary. What i would like is somthing like this: if avpair Wireless = yes use accounting module sql1 else use accounting module sql2 accounting { acct_unique sql1 if (Wireless = yes) sql2 if (Wireless != yes) } Could it be done with users file? Thanks, -- Nuno Miguel Pais Fernandes [EMAIL PROTECTED] Cisco Certified Network Associate Oracle Certified Professional Eurotux Informática, S.A. [http://eurotux.com] Rua Rosalvo de Almeida, 5. 4710-429 BRAGA PORTUGAL Tel: (+351) 253 257395 - Fax: (+351) 253 257396 pgpHLO0RTDbzU.pgp Description: PGP signature - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Different accounting based on avpair
Hi, I've been searching the ML for something related to this without any success. I don't know if freeradius does what i need and correct me if i'm wrong. I want to freeradius insert/update different sql tables using a avpair from my custom dictionary. What i would like is somthing like this: if avpair Wireless = yes use accounting module sql1 else use accounting module sql2 accounting { acct_unique sql1 if (Wireless = yes) sql2 if (Wireless != yes) } Could it be done with users file? Thanks, -- Nuno Miguel Pais Fernandes [EMAIL PROTECTED] Cisco Certified Network Associate Oracle Certified Professional Eurotux Informática, S.A. [http://eurotux.com] Rua Rosalvo de Almeida, 5. 4710-429 BRAGA PORTUGAL Tel: (+351) 253 257395 - Fax: (+351) 253 257396 pgpP9LiYBGT77.pgp Description: PGP signature - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: make install error in Solaris 8, freeradius-1.0.3
Hi, small FIX but it works: mv /usr/bin/strip /usr/bin/strip.old echo '#!/bin/bash' /usr/bin/strip echo 'exit' /usr/bin/strip chmod 755 /usr/bin/strip cd freeradius-1.0.3 make install mv -f /usr/bin/strip.old /usr/bin/strip Worked for me. Nuno Fernandes On Monday 06 June 2005 16:52, Alan DeKok wrote: Nuno Pais Fernandes [EMAIL PROTECTED] wrote: Same thing here with Whitebox 3. Try reading previous messages in the list. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- -- Nuno Miguel Pais Fernandes [EMAIL PROTECTED] pgpgxcX9pggJd.pgp Description: PGP signature - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: make install error in Solaris 8, freeradius-1.0.3
Hello Same thing here with Whitebox 3. gmake[5]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.0.3/src/modules' gmake[4]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.0.3/src/modules' Making install in main... gmake[4]: Entering directory `/usr/src/redhat/BUILD/freeradius-1.0.3/src/main' /usr/src/redhat/BUILD/freeradius-1.0.3/libtool --mode=install /usr/src/redhat/BUILD/freeradius-1.0.3/install-sh -c -m 755 -s radiusd /var/tmp/freeradius-1.0.3-2-buildroot/usr/sbin libtool: install: warning: `/usr/src/redhat/BUILD/freeradius-1.0.3/src/lib/libradius.la' has not been installed in `/usr/lib' /usr/src/redhat/BUILD/freeradius-1.0.3/install-sh -c -m 755 -s .libs/radiusd /var/tmp/freeradius-1.0.3-2-buildroot/usr/sbin/radiusd /usr/src/redhat/BUILD/freeradius-1.0.3/install-sh -c -m 755 -s radwho /var/tmp/freeradius-1.0.3-2-buildroot/usr/bin strip: /var/tmp/freeradius-1.0.3-2-buildroot/usr/bin/#inst.18757#: File format not recognized gmake[4]: *** [install] Error 1 gmake[4]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.0.3/src/main' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.0.3/src' Nuno Fernandes On Monday 06 June 2005 07:45, lei chen wrote: After make, when running make install,the flowing error. freeradius-1.0.3,Solaris 8, binutils-2.11.2 How to do with it? -- make[6]: Leaving directory `/export/home/cl/inst/freeradius-1.0.3/src/modules/rl m_checkval' make[5]: Leaving directory `/export/home/cl/inst/freeradius-1.0.3/src/modules' make[4]: Leaving directory `/export/home/cl/inst/freeradius-1.0.3/src/modules' Making install in main... make[4]: Entering directory `/export/home/cl/inst/freeradius-1.0.3/src/main' /export/home/cl/inst/freeradius-1.0.3/libtool --mode=install /export/home/cl/ins t/freeradius-1.0.3/install-sh -c -m 755 -s radiusd /export/home/cl/fr/sbin /export/home/cl/inst/freeradius-1.0.3/install-sh -c -m 755 -s .libs/radiusd /exp ort/home/cl/fr/sbin/radiusd BFD: /export/home/cl/fr/sbin/stSAaqfc: warning: allocated section `.interp' not in segment /export/home/cl/inst/freeradius-1.0.3/install-sh -c -m 755 -s radwho/export/ home/cl/fr/bin strip: /export/home/cl/fr/bin/#inst.1071#: File format not recognized make[4]: *** [install] Error 1 make[4]: Leaving directory `/export/home/cl/inst/freeradius-1.0.3/src/main' make[3]: *** [common] Error 2 make[3]: Leaving directory `/export/home/cl/inst/freeradius-1.0.3/src' make[2]: *** [install] Error 2 make[2]: Leaving directory `/export/home/cl/inst/freeradius-1.0.3/src' make[1]: *** [common] Error 2 make[1]: Leaving directory `/export/home/cl/inst/freeradius-1.0.3' make: *** [install] Error 2 ___ G http://cn.mail.yahoo.com/?id=77071 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- -- Nuno Miguel Pais Fernandes [EMAIL PROTECTED] pgpkMze66WAq2.pgp Description: PGP signature - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html