Re: Escaping things

2009-08-17 Thread Stun Box
Ok, I got a hint. I was mistaken, it was doing the mess for '\n' and for '\t' also in accounting but I find from where it comes. In my default/post-auth I had : update reply{ Tunnel-Type = 13 Tunnel-Medium-Type = 6 # I use the real ID for setting the vlan nu

Re: Escaping things

2009-08-15 Thread Stun Box
So, why do I get that behaviour ? May it come from my configuration files ?? Thanks for reading, G. 2009/8/15 Alan DeKok : > Stun Box wrote: >> but the server does the escaping stuff for \t in the access and >> accounting packets received, >> and for the \n only for

Re: Escaping things

2009-08-15 Thread Stun Box
but the server does the escaping stuff for \t in the access and accounting packets received, and for the \n only for access and *not* for accounting. Is that a bug or I misconfigured something ? Thanks for reading, G. 2009/8/14 Alan DeKok : > Stun Box wrote: >> The mystery is why the

Escaping things

2009-08-14 Thread Stun Box
Hello everybody, I'm doing some tests with wpa_supplicant(freebsd) + aironet 1252 + freeradius2.1.6 (freebsd portage). And I have a mystery I can not explain. I test 2 user with a domain. This is my configuration files for wpa_supplicant. They have just their first user letter mismatching. USER_

Re: InnerAttributes not escaped when transmitted to outter

2009-06-02 Thread Stun Box
I set in copy_tunnel_reply to yes and I use the inner-tunnel user-name in my default / post-auth. And I still have the real user-name hidden. In default / post-auth : update reply{ User-Name := "%{request:User-Name}" Tunnel-Medium-Type = 6 Tunnel-

Re: InnerAttributes not escaped when transmitted to outter

2009-06-02 Thread Stun Box
ok, thank you for the news. Regards, 2009/6/2 Arran Cudbard-Bell : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Stun Box wrote: >> 2009/6/2 Alan DeKok : >>> Stun Box wrote: >>>> I'm using PEAP/Mschapv2 with Windows machines. I need the

Re: InnerAttributes not escaped when transmitted to outter

2009-06-02 Thread Stun Box
2009/6/2 Alan DeKok : > Stun Box wrote: >> I'm using PEAP/Mschapv2 with Windows machines. I need the user-name of >> the inner-tunnel when the authentication ends to assign the vlan id. > ... >> But it seems it has not been escaped... >> My User-Name  &quo

InnerAttributes not escaped when transmitted to outter

2009-06-01 Thread Stun Box
Hey all, I'm using PEAP/Mschapv2 with Windows machines. I need the user-name of the inner-tunnel when the authentication ends to assign the vlan id. So I put in eap.conf / peap { ... use_tunneled_reply = yes ... }, and now I can have the User-name of the inner-tunnel with %{reply:User-Name}. But

Re: external script doesn't add the attributes it prints out

2009-05-25 Thread Stun Box
Hello, I've tried in the outer-tunel, post-auth { GETVLAN } but it still does not add my attributes to the reply... So I have tried (still in the outer-tunel) this : post-auth { update reply { Tunnel-Medium-Type = 6 Tunnel-Type = 13 Tunnel-Private-Group-Id = `%{exec:

Re: external script doesn't add the attributes it prints out

2009-05-22 Thread Stun Box
Thanks for answering Ivan. Actually the radius debug prints my output script in one single line, but I have 3 distincts echo in my scripts. " ... echo Tunnel-Medium-Type = 6, echo Tunnel-Type =13, echo Tunnel-Private-Group-Id = 1 exit 0" So the matter might be away... I am certainly missing someth

external script doesn't add the attributes it prints out

2009-05-22 Thread Stun Box
Hi all, I have installed freeradius 2.14 on Freebsd using the ports. I need to use an external script, so in radiusd.conf I created in the module section : exec GETVLAN { wait = yes program = "/usr/local/etc/raddb/getVlan %{User-Name}" input-p