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 #reply := "Your account has been disabled." } On Wed, Dec 16, 2009 at 4:07 PM, Alex M <freerad...@lrcommunications.net>wrote: > ok fair enough =) will go dig config file... > How can I send the reason for rejection? Just add reply command somewhere > along the lines? Can I link reply message to the reply message associated > with reply in groups? > Tnx again! > > > > On Wed, Dec 16, 2009 at 3:25 AM, Alan DeKok <al...@deployingradius.com>wrote: > >> Alex M wrote: >> > Well i guess i'm back to my problem :( >> > I tried group thing and i'm getting som strange un-constant results :( >> > >> > Can some one tell me how the logic works for groupcheck? >> >> Why? You were given a simple solution. I suggest trying that. >> Trying to figure out how to get groups to do what you want is a waste of >> time when you *already* have a solution. >> >> Alan DeKok. >> - >> List info/subscribe/unsubscribe? See >> http://www.freeradius.org/list/users.html >> > >
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html