Expiration, Counter and Reset Value

2001-12-18 Thread power jessie


Are there any ways I can do these in freeradius (0.4)?

1. 'Expiration' will be set based on firt login date.
i.e. an account will expired 90 days after
first usage.

Expiration = FirstLoginDate + 90 Days

2. User-defined reset value in the counter module.
i.e. reset = 14 # counter will reset to zero after 14 days
 reset = 60 # resets after two months

Also, can i have another the same counter module but with a different
reset value? i.e.

counter {
...
reset = daily
...
  }

counter2 {
...
reset = monthly
...
  }

Hope you'll be more patient to my newbie questions =)
Thanks again guys for your support!

yo!
jessie

Feliz Navidad!
---
Don't Panic! This mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.309 / Virus Database: 170 - Release Date: 12/17/2001


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Login-Time problem

2001-12-14 Thread power jessie



Version  : FreeRADIUS 0.4
Platform : FreeBSD 4.3 Release

I can't seem to make Login-Time to work for me, everytime
i add a Login-Time attribute to either user or group
in the mysql table, it always reject the request...
but if i remove the Login-Time attribute, it authenticate
successfuly.

What am i lacking here? any leads pls ...

Thanks In Advance!

feliz navidad!
jessie


here's the ouput from radtest :

eagle # radtest jessie test localhost 0 testing123
Sending Access-Request of id 44 to 127.0.0.1:1812
  User-Name = jessie
Password = \025\004\331\036\223dp*\0060|\005u\021/\252
  NAS-IP-Address = eagle.power.com.ph
NAS-Port-Id = 0
rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=44, length=20

and the output from radiusd -A -X

rlm_sql: Released sql socket id: 4
rlm_sql: Pairs do not match [jessie]
  modcall[authorize]: module sql returns notfound
modcall: group authorize returns ok
auth: No Auth-Type configuration for the request, rejecting the user
auth: Failed to validate the user.
Login incorrect: [jessie/test] (from nas local port 0)
Sending Access-Reject of id 44 to 127.0.0.1:1119
Finished request 3
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
--- Walking the entire request list ---
Cleaning up request 3 ID 44 with timestamp 3c1b6695
Nothing to do.  Sleeping until we see a request.


---
This mail is certified Virus Free. No need to worry.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/2001


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html