o no wonder all my trys didnt work =) Thanks a lot! On Fri, Dec 25, 2009 at 7:10 PM, <tnt@kalik.net> wrote:
I need to ask again for help. So I added this code to Autorize section of Default config file.... it blocks banned users well! But I need to tell them why they got banned so I tried diferent ways to add Reply-Message in the logic Nothing helped me so far...
So maybe some one can tell me how to add reply-message to this logic?
Thank you a lot and Marry Xmas
if (Calling-Station-Id == "%{sql: SELECT mac FROM `banlist` WHERE mac='%{Calling-Station-Id}'}") { reject
update reply { Reply-Message = "Your account has been disabled." }
#reply := "Your account has been disabled."
}
Ivan Kalik
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html