Re: works in debug mode, but not in regular mode

2001-09-13 Thread Chris Parker

At 11:06 PM 9/12/2001 -0600, Tim Monaghan wrote:
Thats right, my freeradius works perfect in debug mode but not at all in 
regular mode.

radiusd -x works, radiusd doesnt.

Im authenticating (im an isp) via unix password.

Any thoughts?

First, don't send pretty messages.  Green looks like baby puke to me.

Second, yes, if it works in debug and it doesn't in non-debug, you need
to check the user/group that you have the server running under.  This
is configured near the top of the radiusd.conf file.

-Chris
--
\\\|||///  \  Chris Parker-Manager, Development Engineering
\ ~   ~ /   \   WX *is* Wireless!\   [EMAIL PROTECTED]
| @   @ |\   http://www.starnetwx.net \  (847) 963-0116
oOo---(_)---oOo--\--
   \ Without C we would have 'obol', 'basi', and 'pasal'


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



Re: assign users to a group

2001-09-13 Thread aland

[EMAIL PROTECTED] wrote:
 How can I group some users to a group, without using my unix accouts
 /etc/groups and etc/passwd files. I just want to use the plain
 /etc/raddb/users file.

  Right now, you can't, sorry.

  If you're willing to write an 'rlm_group' which used a text file or
DB, that would be a good thing.

  Alan DeKok.

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



FreeRadius and MySQL - notes...

2001-09-13 Thread freeradius-users

Not wanting to jump the gun, foil any faqs, or steal any thunders, but... 

Lots of people seem to be asking about FreeRadius and (My)SQL integration
etc.  

Until there's some more coherent docs, or until someone does a proper FAQ
on it, and just in case on the off-chance someone out there finds them
useful, I've posted some (very loose, very incomplete) note's which I
cobbled together about how I managed to prise the two into life. They're
at http://www.frontios.com/freeradius.html.  

Regards,

Scott Bartlett
BTA Limited
http://www.bta.com


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



tweaking freeradius for v.90 dialup

2001-09-13 Thread Tim Monaghan

Hi again everyone.

Does anyone know how I can get the best connections for my isp dial up users
using radius?

Is there anything in radius that affects that, or should I look toward my
ascend box for those solutions?

Thanks again, this list has been a great group of people, someday when I
know radius better maybe ill be able to return the favor :)

Tim



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



Does freeradius support login / logout program execution?

2001-09-13 Thread Paulo

Hi. New to this list so hello all.

My name is Paulo and i live work in lisbon, portugal.

i have a question - well more like a multi part question/problem monster!

I am running cistron radius. I want to limit access per month to a certain
amount of hours. this must be based on callling number id - not username.

solution was to make a c program that entered a record into a mysql database
if it didn't exist, or check total time if it exists when someone logs in.
fine.

then i wanted to execute another program at logout to update the time. not
fine! cistron does not seem to support this.

my question : does Free radius support this? someone on the cistron radius
mailling list told me yes but i can see this documented anywhere. if its
does, can these programs be anything (i.e. perl, tcl, php, whatever)

any help much appreciated
-paulo  (i-m g-o-i-n-g m-a-d)



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



Re: works in debug mode, but not in regular mode

2001-09-13 Thread aland

Tim Monaghan [EMAIL PROTECTED] wrote:
 I would have to run it as root then, cause im in freebsd and it uses
 master.passwd which is owned by root.
 ]
 Can you think of another way around this?

  No.

  Alan DeKok.

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



Re: NEW Issue: Dropping conflicting authentication packet

2001-09-13 Thread aland

VISP Systems Administration [EMAIL PROTECTED] wrote:
 One direct correlation that I have discovered is with the synchronous = 
 yes setting in the proxy.conf section.  When set to yes, these 
 conflicting packets plague the server.  When set to no and using 3 for 
 retry_delay and retry_count the errors cease entirely.  Perhaps this direct 
 info will help troubleshoot.  For the time being, I will be leaving 
 synchronous off.

  Good enough for me.  I will turn it off in the default install,
until we can track down and fix the bug.

  Alan DeKok.

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



Re: FreeRadius and MySQL - notes...

2001-09-13 Thread Joey Smith

I think this is the single most useful line of your entire document:

There is a file which describes this and  is  actually a SQL script
file. It can be found at freeradius/src/modules/rlm_sql/drivers/
rlm_sql_mysql/db_mysql.sql.  This  is  the  bit that isn't really 
documented anywhere (like in the FAQ) and is the thing most people 
seem to be asking.

Is there anyone out there listening who can make website updates? This
be a really good addendum to the FAQ. 

On Thu, Sep 13, 2001 at 05:56:08PM +0100, freeradius-users wrote:
 Not wanting to jump the gun, foil any faqs, or steal any thunders, but... 
 
 Lots of people seem to be asking about FreeRadius and (My)SQL integration
 etc.  
 
 Until there's some more coherent docs, or until someone does a proper FAQ
 on it, and just in case on the off-chance someone out there finds them
 useful, I've posted some (very loose, very incomplete) note's which I
 cobbled together about how I managed to prise the two into life. They're
 at http://www.frontios.com/freeradius.html.  
 
 Regards,
 
 Scott Bartlett
 BTA Limited
 http://www.bta.com
 
 
 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

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



Re: four accounting records to one login?

2001-09-13 Thread mike harrison

  I installed freeradius on Linux and Oracle. it works well. But I found =
  it record four times in Oracle to one login. Just like this:
 
   As always, the server only logs accounting messages that it
 receives.  If the NAS sends it 4 times, the server logs it 4 times.

Most network devices using radius for authentication will send multiple 
accounting records over time called 'updates', if you keep your records
by sessionid, you will be able to keep this straight. You may also be able
to turn these periodic updates off in the device, but you will lose
accounting records. --Mike--


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