Sorry, we don't do requests. But we can help. *You* write the example and post the debug if things are not going well and we will tell you how to fix it. You can place the result of the query in a temporary attribute like Tmp-String-0 := "%{sql:SELECT whatever... It should be authorize section. Ivan Kalik Kalik Informatika ISP Dana 19/10/2008, "Rasool Jalali" <r_jalali@ymail.com> piše:
hi Please write a example code for my process : I have a table that have a couple of tel numbers : User->Connect->if his/her number is in called_number_table =>give to him a valid IP User->Connect->if his/her number is NOT in called_number_table => give him an invalid IP(192.168.x.y)
Which section is suitable for my purpose?authentication-authorization or post-auth PLZ Thanks.
----- Original Message ---- From: "tnt@kalik.net" <tnt@kalik.net> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Sent: Saturday, October 18, 2008 9:08:30 PM Subject: Re: Allocate IP address
It does work. Post the whole debug.
Ivan Kalik Kalik Informatika ISP
Dana 18/10/2008, "Rasool Jalali" <r_jalali@ymail.com> piše:
hi it dose not work.Output :
+++[control] returns noop
PLZ help me
----- Original Message ---- From: "tnt@kalik.net" <tnt@kalik.net> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Sent: Saturday, October 18, 2008 3:36:17 PM Subject: Re: Allocate IP address
update control { ...
Ivan Kalik Kalik Informatika ISP
Dana 18/10/2008, "Rasool Jalali" <r_jalali@ymail.com> piše:
hi all i have a code like this in auth-post section : if (condition) { allocate from pool_1 } else { allocate from pool_2 }
I write this code but it dose not work :
if (condition) { update reply { Pool-Name : = pool_1 } } else { update reply { Pool-Name : = pool_2 } }
PLZ help me tanx.
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com