Re: [RADIATOR] Eaptype=PEAP choosen even if request is EAP-TLS

2011-06-28 Thread Heikki Vatiainen
On 06/24/2011 04:52 PM, Vandenbroucke Luc wrote: Hello Luc, > Can anyone tell me, if my hander asks “EapType=PEAP”, why it is chosen > for EAP-TLS ? > > I do have a handler for “EapType=TLS”, for the same domain. But this > handler is never not reached. With EAPType you should use number, such

Re: [RADIATOR] Executing an external script from Radiator

2011-06-28 Thread M P
Hello all, If you have noticed, I am trying to get the values of the User-Name and User-Password attributes in my BASH script that is being executed by the Command parameter inside my clause. In my test, I can only get the value of the User-Name attribute but not with the User-Password attri

Re: [RADIATOR] Executing an external script from Radiator

2011-06-28 Thread Martin Burton
You're not iterating over stdin. Try something like: martin@apollo:~$ cat test.sh #!/bin/bash #iterate over stdin and pull out the relevant fields. while read LINE do if [[ $LINE =~ User-Name ]]; then USERNAME=$( echo $LINE | awk -F'= ' '{print $2}') fi i

Re: [RADIATOR] BindAddress question

2011-06-28 Thread Dyonisius Visser
On 14/06/2011 15:21, Heikki Vatiainen wrote: > Linux also has this special file to control the system wide behaviour: > > /proc/sys/net/ipv6/bindv6only > If I do this to enable the option: > echo 1 |sudo tee /proc/sys/net/ipv6/bindv6only > > the same configuration works: > > BindAddress ipv6:::

Re: [RADIATOR] Executing an external script from Radiator

2011-06-28 Thread M P
Hello Martin, Thank you for the hint. I am now able to get the two values. Now, I have a follow-up question. What is your recommended way to send the reply back to the user, be it an Access-Accept or Access-Reject? I am thinking of adding the reply back whatever the output of my if statement w