autenticating with realm null only in one NAS

rgreiner mrgreiner at gmail.com
Tue Feb 26 14:47:39 CET 2008


Ok.

I will check it. Tks. ^_^

Roberto

Alan DeKok wrote:
> rgreiner wrote:
>   
>> I need to configurate freeradius to allow NULL realms only from one or
>> two NAS, and all the other must have a realm in the login. What would be
>> the best way to do this?
>>     
>
>   "unlang".  Just write the logic you want...
>
> authorize {
> 	...
> 	if ((NAS-IP-Address == 1.2.3.4) || (NAS-IP-Address == 2.3.4.5)) ...
>
> 	...
> }
>
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>   


-- 
  -----------------------------------------------------
                Marcos Roberto Greiner

   Os otimistas acham que estamos no melhor dos mundos
    Os pessimistas tem medo de que isto seja verdade
                                       Murphy
  -----------------------------------------------------




More information about the Freeradius-Users mailing list