Re: feature request

2004-11-28 Thread Alan DeKok
Anson Rinesmith [EMAIL PROTECTED] wrote: I would love to see a feature for logging by either realm, client, or even by CLID. Does the newer FR (.9) having where radius.log can be sent to a DB instead? No. To log by realm/client/whatever, I suggest to change src/main/log.c, so that

Re: Acct Logging to Mysql

2004-11-28 Thread Alan DeKok
[EMAIL PROTECTED] wrote: we have freeradius 1.0.1 and Mysql 4.0.3. Auth Logging works fine, but the acct Logging is broken. In freeradius -X i found no NAS Ports: Ok... radius_xlat: 'panekm' rlm_radutmp: No NAS-Port seen. Cannot do anything. rlm_radumtp: WARNING: checkrad will

Re: What am I missing??

2004-11-28 Thread Chris Knipe
Lo all, I just wanted to let you know that the problem was because I had a older version of rlm_sqlcounter (I think). I recompiled the module, and everything was fine. Alan, may it perhaps be a good idea to add some debugging info to -X so that it can perhaps state which actual module (path /

Re: What am I missing??

2004-11-28 Thread Alan DeKok
Chris Knipe [EMAIL PROTECTED] wrote: Alan, may it perhaps be a good idea to add some debugging info to -X so that it can perhaps state which actual module (path / version / etc) it is loading? In my case, I think I had older versions of the modules laying arround that FR loaded... The

Configuring Freeradius to authenticate with MySQL

2004-11-28 Thread bhalchandra sawant
Hello, I am configuring Freeradius with Mysql. I think I have configured correctly, as I am not getting any error message in debugging mode. The result is as below : [EMAIL PROTECTED] root]# radiusd -X Starting - reading configuration files ... reread_config: reading radiusd.conf Config:

Re: Configuring Freeradius to authenticate with MySQL

2004-11-28 Thread Mohammed Petiwala
Hi: Based on the error message - check whether your clients.conf file has local host 127.0.0.1 setup as a valid client and also check the shared-secret used is the correct client 127.0.0.1 { secret = omeya shortname = spacecable nastype = other }

NAS-Identifier and != operator

2004-11-28 Thread Vladimir Ilyin
Greetings! To be short, i tried to use this construction in users file, but it fails to match for some reason. DEFAULT Huntgroup-Name == test, Sql-Group == groupname, NAS-Identifier != ftp, Auth-Type := Reject Fall-Through = No I.e., it should check if user is from

Freeradius and MySQL

2004-11-28 Thread Stefan
All, I've successfully set up my freeradius to lookup the users in MySql. I've two questions: 1. Is it possible to configure the RADIUS Clients in MySql too? 2. would it be possible to write specific RADIUS Attributes into the accounting db? In some cases, I will get VSAs, which I have to keep

Re: Freeradius and MySQL

2004-11-28 Thread Keith Yoder
Stefan escreveu: All, I've successfully set up my freeradius to lookup the users in MySql. I've two questions: 1. Is it possible to configure the RADIUS Clients in MySql too? There is a nas table in the db schema now but I don't know how it works. 2. would it be possible to write specific