Authorize based on Calling-Station-ID | Auth-type issue

Alan DeKok aland at deployingradius.com
Fri Jan 20 16:44:47 CET 2017


On Jan 20, 2017, at 8:34 AM, Koos Myburgh <koos at rsaweb.co.za> wrote:
> 
> I want to authorize subscribers based on calling-station-id, but I am not sure how to correctly set the auth-type. For this I have commented the pap and chap sections. 

  If you want to authenticate based on Calling-Station-Id, then add this to the "authorize" section:

  if (Calling-Station-Id == "27842280395") {
	update control {
		Auth-Type := Accept/
	}
 }

  Alan DeKok.




More information about the Freeradius-Users mailing list