Re: Rejecting User By their Calling-Station-Id (Mac Address)

2009-12-27 Thread zhongwei feng
hi , 

try to exchange sequece ? 
  


if (Calling-Station-Id == %{sql: SELECT mac FROM `lrc_banlist` WHERE
mac='%{Calling-Station-Id}'}) {
update reply{
Reply-Message := Hello Hello Hello
   }

   reject


 }


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Rejecting User By their Calling-Station-Id (Mac Address)

2009-12-27 Thread Alex M
Yes that helped =)
Thank you!

2009/12/27 zhongwei feng feng...@gmail.com

 hi ,

try to exchange sequece ?


 
 if (Calling-Station-Id == %{sql: SELECT mac FROM `lrc_banlist` WHERE
 mac='%{Calling-Station-Id}'}) {
 update reply{
 Reply-Message := Hello Hello Hello
}

reject

 
  }
 

 -
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Hints File Question

2009-12-27 Thread Bruce Nunn
Is this valid syntax for the hints file in version 2.1.7? I intend it to match 
anything up to and including \\ such as WINXP\\joeuser.

DEFAULTPrefix =~ ^(.*[]+), Strip-User-Name = Yes
Hint = CAMPUS

Thanks.



  
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html