Re: Setting Auth-Type to Accept using unlang

2008-10-14 Thread Alan DeKok
Abel Alejandro wrote: if (!Auth-Type) { Auth-Type is a control item, and is in the control item list. It's not in the RADIUS packet. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Setting Auth-Type to Accept using unlang

2008-10-14 Thread tnt
How do I test if Auth-Type is not set? I tried with: if (!Auth-Type) { That should work (I don't have 2.1.1 installed but I have tested that in 2.0.5 some time ago). You have added that in authorize (not authenticate) after pap entry? Post the debug. Ivan Kalik Kalik Informatika ISP - List

Re: Setting Auth-Type to Accept using unlang

2008-10-14 Thread Abel Alejandro
On Tue, Oct 14, 2008 at 4:39 AM, [EMAIL PROTECTED] wrote: How do I test if Auth-Type is not set? I tried with: if (!Auth-Type) { That should work (I don't have 2.1.1 installed but I have tested that in 2.0.5 some time ago). You have added that in authorize (not authenticate) after pap

Setting Auth-Type to Accept using unlang

2008-10-13 Thread Abel Alejandro
Hello, I want freeradius to assign to a specific ippool any invalid user (user not found or wrong password) as well as accept it. I am trying to do the following in post-auth but so far I can get freeradius to send the Reply-Message, DNS, etc... but it will still send Reject-Access. I am

Re: Setting Auth-Type to Accept using unlang

2008-10-13 Thread tnt
Yes, you can't change Auth-Type *after* authentication (post-auth section). Move that to authorize section after pap. Check that Auth-Type hasn't been set and do those updates. Ivan Kalik Kalik Informatika ISP Dana 13/10/2008, Abel Alejandro [EMAIL PROTECTED] piše: Hello, I want freeradius to

Re: Setting Auth-Type to Accept using unlang

2008-10-13 Thread Abel Alejandro
How do I test if Auth-Type is not set? I tried with: if (!Auth-Type) { and a few others and couldnt get it to do the trick. Abel. 2008/10/13 [EMAIL PROTECTED]: Yes, you can't change Auth-Type *after* authentication (post-auth section). Move that to authorize section after pap. Check that