Allow access to wrong password

Aurélio de Souza Ribeiro Neto netolistas at mpc.com.br
Fri Apr 15 23:28:21 CEST 2016


Hello,

     This solution works for me.

     How can I set Group-Name or Mikrotik-Rate-Limit in this case?

Thanks again

Aurelio

Em 13/04/2016 10:09, Alan DeKok escreveu:
> On Apr 13, 2016, at 8:51 AM, Aurélio de Souza Ribeiro Neto <netolistas at mpc.com.br> wrote:
>>     Is it possible to allow access to a different POOL for users who authenticate with invalid login or password?
>    Only for people who aren't using EAP.
>
>>     Users who connect with correct credentials would use the POOL according to their groups, and users with login and password invalids would be directed to another POOL? I hope I was clear.
>    Sure.  In the "authenticate" section, do:
>
> authenticate {
> 	...
> 	Auth-Type pap {
> 		pap {
> 			reject = 1
> 		}
>
> 		if (reject) {
> 			update control {
> 				Pool-Name := "rejected_pool"
> 			}
>
> 			ok
> 		}
>
> 	}
>
> 	...
> }
>
>    You'll have to customize it for your system, but the general idea is there.
>
>    Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html





More information about the Freeradius-Users mailing list