How to force the group processing?

2007-04-18 Thread tzieleniewski
Hi, How can I force the group processing after the positive authentication with the radcheck table. I want to achieve the following: after I authenticate the user I would like to add a reply attribute if the user belongs to the particular group. Thank you in advance. Tomasz - List

Radius 2.0.0-pre Making all in main compilation error

2007-04-18 Thread tzieleniewski
Hi, I have just downloaded the CVS trunk sources. When I compile them I get the following errors: Please point me what do I miss. Making all in main... make[4]: Entering the directory `/home/radius/src/radiusd/src/main' /home/radius/src/radiusd/libtool --mode=link gcc -export-dynamic -dlopen

sql set up - Fall-Through agains read_gr oups in sql.conf

2007-02-28 Thread tzieleniewski
Hi! How can I configure radius to always check the group table for a user without utilizing the Fall-Through parameter in the radreply table for a particular user?? I tried to use read_groups=yes in the sql.conf but it didn't help. Thanks in advanced -tomasz - List

Re: Custom queries

2007-02-27 Thread TZieleniewski
Dariusz Dwornikowski napisał(a): Hi, I am using freeradius 1.0.2 on debian and i want to integrate it with openser. What is my question is how to use my own sql queries in authentication and authorization. I do not want/I can't use the database schema provided with freeradius.

Latest CVS - compilation error - conffile. c:902: error: conflicting types for 'cf_se ction_parse'

2007-02-26 Thread tzieleniewski
Hi ! I tried to install the latest cvs version of freeradius, I did make clean ./configure make - and here I got the following error: conffile.c:902: error: conflicting types for 'cf_section_parse' /home/radius/src/radiusd/src/freeradius-devel/conffile.h:56: error: previous declaration of

attr_rewrite molude - creating new paramet er from the existing one

2007-02-16 Thread tzieleniewski
Hi! Is it possible to implement such functionality with the usage of attr_rewrite module that whenever a packet arives to freeradius module will check if particular parameter exists in a request and if it doesn't, it will try to create it from other set of packet parameters? Maybe it can be

Does the latest cvs support the read_gro ups parameter

2007-02-15 Thread tzieleniewski
Hi! I am using the latest cvs version of freeradius. Does this version support the read_group parameter? In the conf file there is written that setting it to yes causes to read the group table. From my observation freeradius works like this: 1 - checks records from radcheck 2 - if they match,

Group reply parameter

2007-02-14 Thread tzieleniewski
Hi!! I'd like to ask You If it is possible to set up radius in such way that whenever there will be an Access Request send from the NAS for a user which in a member of the particular group in database the reply will be attached with the reply parameter of thed value equal to the User-Name

nas table in rlm_sql module - usage

2007-02-09 Thread tzieleniewski
Hi!! I was trying to find out what is this table nas really used for. I read the whole documentation in the doc directory of radius and dialup_admin but I still have many doubts. Is it used just for mapping and getting information about online users or it is somehow equivalent to clients.conf

Re: nas table in rlm_sql module - usage

2007-02-09 Thread TZieleniewski
Gaddis, Jeremy L. napisa(a): On Fri, 9 Feb 2007, tzieleniewski wrote: I was trying to find out what is this table nas really used for. I read the whole documentation in the doc directory of radius and dialup_admin but I still have many doubts. Is it used just for mapping

Re: Re: nas table in rlm_sql module - usage

2007-02-09 Thread tzieleniewski
: On Fri, 9 Feb 2007, TZieleniewski wrote: so clients.conf can be empty and all settings can be contained in nas table? Is there some spot where we can get definitions for each column (like where each definition maps to in the clients.conf file)? Does it work out like (naming from

Re: Re: Re: nas table in rlm_sql modul e - usage

2007-02-09 Thread tzieleniewski
Yes I checked it. You may comment it out from the radiusd.conf file. Is there anything I have to config so it doesn't touch the config files? How do I move the server onto pure SQL for the NAS list? Can the clients.conf file be totally empty? tzieleniewski wrote: What I managed

Re: Re: Re: Re: nas table in rlm_sql modul e - usage

2007-02-09 Thread tzieleniewski
? How do I move the server onto pure SQL for the NAS list? Can the clients.conf file be totally empty? tzieleniewski wrote: What I managed to figure out is that nasname is a source for a name to ip resolving. So probably the nasname has to be different (its ip resolution

Re: Re: Radius brokes down during Account ing Request

2007-02-08 Thread tzieleniewski
[EMAIL PROTECTED]:~/freeradius/raddb$ radiusd -v radiusd: FreeRADIUS Version 2.0.0-pre0, for host x86_64-unknown-linux-gnu, built on Jan 29 2007 at 13:36:2 tzieleniewski wrote: ... modcall: entering group preacct for request 1 Naruszenie ochrony pamięci (translation - memory segmentation

sql module doesn't use read_groups paramet er

2007-02-08 Thread tzieleniewski
Hi!! I was setting up the sqlcounter module and I needed to set the group parameter in the radgroupcheck table in order to set the limit values for sqlcounter. I found out that sql module doesn't work correctly. I set the read_groups parameter in the sql.conf file to 'yes' and despite that the

Starting radius issue - configuration files globaly readable.

2007-02-08 Thread tzieleniewski
Hi! I have just compiled the latest CVS and whenever I try to start radius I get the following info: Configuration file /home/radius/freeradius/raddb/radiusd.conf is globally readable. This is because I use the symbolic links to files. Can this restriction be somehow removed?? Bests -tomasz

rlm_sql (sql): Unsupported Acct-Status-Type = 15

2007-02-08 Thread tzieleniewski
Hi! I am trying to process Accounting request to radius but I get the following error from sql module: rlm_sql (sql): Unsupported Acct-Status-Type = 15 I have added the $INCLUDE dictionary.ser line to the dictionary file and the dictionary.ser file contains the following records: VALUE

Re: Radius brokes down during Accounting Request

2007-02-08 Thread TZieleniewski
Alan DeKok napisa(a): tzieleniewski wrote: I am trying to use radius as the accounting server for Sip proxy. After i send the Accounting request to radius the radius server brokes down and informs about memory segmentation fault. Please point me what could be the reason

Re: Radius brokes down during Accounting Request

2007-02-08 Thread TZieleniewski
Alan DeKok napisa(a): tzieleniewski wrote: I am trying to use radius as the accounting server for Sip proxy. After i send the Accounting request to radius the radius server brokes down and informs about memory segmentation fault. Please point me what could be the reason

Re: Radius brokes down during Accounting Request

2007-02-08 Thread TZieleniewski
Alan DeKok napisa(a): tzieleniewski wrote: I am trying to use radius as the accounting server for Sip proxy. After i send the Accounting request to radius the radius server brokes down and informs about memory segmentation fault. Please point me what could be the reason

dialup_admin - editing user and group

2007-02-07 Thread tzieleniewski
Hi!! Ive installed the latest cvs version of dialup_admin and whenever I edit the parameters of a user or a group after commiting the change they appear in the radreply and radgroupreply tables. For instance I see the following sql insert query: Query: INSERT INTO radgroupreply

Radius brokes down during Accounting Reques t

2007-02-07 Thread tzieleniewski
Hi! I am trying to use radius as the accounting server for Sip proxy. After i send the Accounting request to radius the radius server brokes down and informs about memory segmentation fault. Please point me what could be the reason for this. Here is the radius debug output: rad_recv:

dialup_admin and log_badlogins error

2007-02-06 Thread tzieleniewski
Hi! My first question is if the dialup_admin is still supported and compatible with latest free radius:)? because right now I am trying to use it with my latest free radius cvs version. If it is still compatible please help me with the following issues: Is it possible to control the radcheck

Re: Re: dialup_admin and log_badlogins e rror

2007-02-06 Thread tzieleniewski
tzieleniewski wrote: Hi! My first question is if the dialup_admin is still supported and compatible with latest free radius:)? because right now I am trying to use it with my latest free radius cvs version. Yes If it is still compatible please help me with the following

counter module usage question

2007-02-06 Thread tzieleniewski
Hi!! I am trying to utilize the counter module. I tried to do everything as it is written in the comments from the radiusd.conf file. unfortunately I still have some problem to make it work and fully understand. I ask for your assistance and small explanation. As I understood the counter

sql - Replacing User-Password in config items with Cleartext-Password

2007-01-31 Thread tzieleniewski
Hi! I am using mysql module as the authorization module and I get the following warning: !!! !!!Replacing User-Password in config items with Cleartext-Password. !!!

Re: sql - Replacing User-Password in config items with Cleartext-Password

2007-01-31 Thread TZieleniewski
Alan DeKok napisał(a): tzieleniewski wrote: I am using mysql module as the authorization module and I get the following warning: !!! !!!Replacing User-Password in config items with Cleartext-Password

a problem about radius and digest

2007-01-29 Thread tzieleniewski
Hi! I am using radius to authenticate request from the radiusclient-ng2 with the digest method. I have a strange situation because client log the following problem: received invalid reply digest from RADIUS server This is strange because as I read on web this error is due to wrong secrets

Re: a problem about radius and digest

2007-01-29 Thread TZieleniewski
Peter Nixon napisał(a): On Mon 29 Jan 2007 17:22, Alan DeKok wrote: tzieleniewski wrote: I am using radius to authenticate request from the radiusclient-ng2 with the digest method. I have a strange situation because client log the following problem: "rec

detail module - detailfile problem

2007-01-28 Thread tzieleniewski
Hi! I am trying to set the destination file for detail log file in the detail file module in the following way detailfile = ${radacctdir}/%{check:Huntgroup-Name}/detail-%Y%m but radius instead allways writes to the following destination?? rlm_detail: %A/%{Client-IP-Address}/detail expands to

?? - No known good password found for the user

2007-01-25 Thread tzieleniewski
Hi! I am trying to use freeradius as an authentication server for sip express router. I am o newbee with free radius so a kindly ask for your help. I configured ser so it sends the requests messages to radius but I encountered a strange error: Both are running on the same machine so it is

libtool: install: error: cannot install

2007-01-22 Thread tzieleniewski
Hi! I trying to set up freeradius not in the stadnard directory I would like to have it installed in the directory specifiedby hand for instance /home/radius/freeradius so I run configure in such a way: ./configure --prefix=/home/radius/freeradius --with-logdir=/home/radius/freeradius/log