Re: value of an attribute in a user

2010-05-07 Thread inna @mobile
On Mon, May 3, 2010 at 1:15 PM, Felix Antonio Díaz Riverón felixanto...@tesla.cujae.edu.cu wrote: Hello comunity, I hve a question When a user belong to two different grups and each grup hasth same attribute but with different value. to get that user value in this attribute? regards felix

Re: Freeradius and Database backend use cases

2010-05-07 Thread Alan DeKok
Natr Brazell wrote: I'm looking for some useful information on integrating freeradius with a database backend (or vice-versa). Specifically: 1) What functions are able to use a database? a. User profile mapping such as nate.whoami mapping to a Juniper-Local-User-Name = whoever

Re: Tee accounting via detail

2010-05-07 Thread Alan DeKok
Pavel Levshin wrote: 1. Detail reader can process one request from the file at a time. So, if we have relatively slow (in terms of round-trip-time, like satellite) link, then we cannot process packets at any reasonable speed. If RTT is 0.5s, then we cannot relay more than 2 requests per

Re: VMPS logging

2010-05-07 Thread Philippe Schwarz
Le 07/05/2010 02:05, Jens Link a écrit : Alan Buxey a.l.m.bu...@lboro.ac.uk writes: I don't know. I just can't get it to log anything. I put linelog { filename = /var/log/vmps.log format = VMPS: %{VMPS-Mac} - %{VMPS-VLAN-Name} } into the the vpms server

Re: VMPS logging

2010-05-07 Thread Alan DeKok
Philippe Schwarz wrote: The debug mode doesn't write any data to logfile. The debug mode doesn't write any data to *radius.log*. The modules are still run. The linelog module is still run. The linelog module should still do its job, and write to *another* log file. Alan DeKok. - List

Re: VMPS logging

2010-05-07 Thread Alan Buxey
Hi, The debug mode doesn't write any data to logfile. argh! yes, i know that! but it would show whether your linelog module config was being used alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Radius freeze

2010-05-07 Thread Tokie
Thanks to Kenneth for the quickly answer. I restart all system (reboot). Freeradius start at the boot and works: # ps aux |grep freeradius freerad 2784 0.0 0.9 49644 2344 ?Ssl May06 0:00 /usr/sbin/freeradius Just hotspot's user connect : # ps aux |grep freeradius freerad

Re: Radius freeze

2010-05-07 Thread Marinko Tarlac
This usually happens when you have external script who does something with database and it hangs for some reasons. Try not to use them or check what's going on with it. Of course, this is just a guess because I don't have any kind of magic ball and you didn't post anything usable for

variety of errors in the case of unsuccessful authentication

2010-05-07 Thread gorec2005 gorec2005
Hi! Help please: I'm using MPD as a NAS server and would like to return to the client a variety of errors in the case of unsuccessful authentication example: 646 The account is not permitted to log on at this time of day. 647 The account is disabled. 648 The password has expired. 649 The account

Re: forward accoutning packets to another radius

2010-05-07 Thread Athiqur Rahman
Athiqur Rahman wrote: I am using FreeRadius 2.1.8 on Centos 5. Currently my NAS is sending accouting packets to my Radius which is storing it in the mysql database. What I want to know is how do i get my Radius to forward those accounting packets to another Radius server. Ideally i want

Re: Radius freeze

2010-05-07 Thread Tokie
:-D :-D Damn gremlins!! Thank you very much!! I look in radius.log and I find: Fri May 7 11:39:04 2010 : Error: Exec-Program: FAILED to execute /etc/freeradius/PYT/ul.py: No such file or directory very strange, because the file exist in that directory. Before the problem is the permission

Re: forward accoutning packets to another radius

2010-05-07 Thread Alan DeKok
Athiqur Rahman wrote: Pointer to some kind of documentation will be appreciated as well See raddb/sites-available/copy-acct-to-home-server This is documented. Reading the config files that come with the server (even their *filenames*) can help. Alan DeKok. - List

framedipaddress

2010-05-07 Thread Paweł Pogorzelski
Hi, I have question relating to accounting packets. I have database with default freeradius schema where radius collecting data from controller to radacct table. Which parameter is resposible for user ip address ? framedipaddress? I have meru networks controller. Fields in raddacct table

Re: forward accoutning packets to another radius

2010-05-07 Thread Athiqur Rahman
Alan DeKok wrote: Athiqur Rahman wrote: Pointer to some kind of documentation will be appreciated as well See raddb/sites-available/copy-acct-to-home-server This is documented. Reading the config files that come with the server (even their *filenames*) can help. Alan DeKok.

Re: forward accoutning packets to another radius

2010-05-07 Thread Alan DeKok
Athiqur Rahman wrote: I still can not forward accounting packets. Well... it shouldn't be hard to set up. I am currenlty doing no username, passworless login on my NAS. That doesn't affect accounting. Below is my users file DEFAULT Auth-Type := Accept Port-Limit = 2,

RE: framedipaddress

2010-05-07 Thread Tim Sylvester
I have question relating to accounting packets. I have database with default freeradius schema where radius collecting data from controller to radacct table. Which parameter is resposible for user ip address ? framedipaddress? In general, yes. Tim - List info/subscribe/unsubscribe? See

Re: free NAS ?

2010-05-07 Thread VU VAN HUNG
sunhualing wrote: hostapd as a NAS, authenticator wpa-supplicant as a supplicant On Fri, May 7, 2010 at 1:31 AM, Jeff Voskamp javos...@uwaterloo.ca mailto:javos...@uwaterloo.ca wrote: On 05/06/2010 01:27 PM, John McDonnell wrote: On May 6th, 2010 at 1:09 PM, Randal Carpenter

foreach attribute array

2010-05-07 Thread Aaron Paetznick
I'm having some trouble working with attribute arrays. My Cisco NASes don't seem to always want to send their Cisco-AVPair attribute in the same order, so I can't be sure I want to reference %{Cisco-AVPair[0]}, or %{Cisco-AVPair[1]}, or other positions. So far, I've worked around this by

Re: foreach attribute array

2010-05-07 Thread Arran Cudbard-Bell
Is there a way to do a each, while, for, or foreach on an attribute array? Not in unlang no, there are no looping structures of any kind. -Arran - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: foreach attribute array

2010-05-07 Thread Aaron Paetznick
Aw. Thanks anyways though. I guess I'll just add a few more 'or's. --Aaron On 05/07/2010 04:26 PM, Arran Cudbard-Bell wrote: Is there a way to do a each, while, for, or foreach on an attribute array? Not in unlang no, there are no looping structures of any kind. -Arran - List

Re: foreach attribute array

2010-05-07 Thread Arran Cudbard-Bell
On May 7, 2010, at 3:20 PM, Aaron Paetznick wrote: Aw. Thanks anyways though. I guess I'll just add a few more 'or's. Easiest way to do what you're doing is to implode all the variable instances. I don't think the regex engine stops matching on new lines, but I could be wrong.