Exec on acct-stop received

2004-02-28 Thread ml . radius
Hi, Is it possible to execute external program when an acct-stop record is received? (without writing new rlm_module) If the answer is yes - is there an example (with passing parameters) Thanks in advance. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Dynamic IP assignment?

2004-02-17 Thread ml . radius
On Tue, Feb 17, 2004 at 01:59:58PM +0200, Anton Blajev wrote: > > I'm pretty new in the radius using, I've made my freeradius to talk with > mysql and it works just fine, but now I want my radius to assign ips , > because I don't want a static ips for my users, I've looked around and > saw that th

Re: how to set IP restrictions ?

2004-02-16 Thread ml . radius
On Mon, Feb 16, 2004 at 12:54:13PM +0100, [EMAIL PROTECTED] wrote: > > I would like to learn how to set IP restrictions for each radius account : > > By restrictions, I mean that account n° 1 can only reach IP subset n° 1, > account n° 2 can only reach IP subset n° 2, > > An IP subset can b

dialup-admin and postgresql

2004-02-16 Thread ml . radius
It would be nice to compile set of modifications needed for dialup_admin to work with postgresql. (Of course it would be even better that code is db independent :-) ) e.g. user_finger.php3 won't work because "SELECT DISTINCT UserName,AcctStartTime,FramedIPAddress,CallingStationId FROM $config

Re: Cisco-AVPair and mysql

2004-02-15 Thread ml . radius
On Sun, Feb 15, 2004 at 10:38:43AM -, stuart wrote: > > How can I access a specific field e.g.. "Cisco-Avpair = > coder-rate-type=g711alaw" from the sql.conf file > > The attributes appear in the radacct files, but I would like to add them to > the database > Can files from src/billing be

Re: help for accounts with different timelimit...

2004-02-15 Thread ml . radius
On Sun, Feb 15, 2004 at 08:24:41PM +0100, Ciolo_-^DusT^-_WebMaster wrote: > I make you an exaple... > I create a series of account that can navigate for 1 hour of effective > traffic... > The user login and the countdown start... then when logout the count down > stop... to start again the next

Re: Crypt passwd problem(clear OK)!!!

2004-02-15 Thread ml . radius
On Sun, Feb 15, 2004 at 07:48:37PM +0100, [EMAIL PROTECTED] wrote: > > > >Have you changed value for Crypt-Password attribute to crypted password > > >for that user (from /etc/shadow file) ? > why -I have to change attribute in shadow file if I go to autenticate in > sql db? > > You didn't u

Re: help for accounts with different timelimit...

2004-02-15 Thread ml . radius
On Sun, Feb 15, 2004 at 07:28:43PM +0100, Ciolo_-^DusT^-_WebMaster wrote: > I don't know ho to configure them... > the results should be at least three kind of users...: > 1- users with 1 hour of effective traffic > 2- users with 2 hours of effective traffic everyday > 3- users with 24h of traffic

Re: Crypt passwd problem(clear OK)!!!

2004-02-15 Thread ml . radius
On Sat, Feb 14, 2004 at 10:08:10PM +0100, Ciolo_-^DusT^-_WebMaster wrote: > One step on... I rescued to have an autentication ... > but only with clear passwd... > with crypt one noway! > some suggestions?? > byez > CioloWeb Have you changed attribute from Password (or User-Password) to Crypt-Pass

Re: Access-Reject, how to auth-type -> check password inpostgresql

2004-02-14 Thread ml . radius
On Sat, Feb 14, 2004 at 05:21:17PM +0700, Truong Manh Cuong wrote: > Please give me a sample in authorizw section ? or just add "sql" word > into it ? > Just add word sql betwen curly brackets of authorize section e.g. authorize { leave everything sql } - List info/subscribe/

Re: Access-Reject, how to auth-type -> check password inpostgresql

2004-02-14 Thread ml . radius
On Sat, Feb 14, 2004 at 01:50:18PM +0700, Truong Manh Cuong wrote: > Hi all, > I don't know why radiusd don't check username/password in postgresql. > Please show me how to config: > check username/password in postgresql > Using clear text password (I don't know this is chap or pap) Have you adde