Stavros Patiniotis wrote: > For clarity I am trying to achieve the SQL equivalent of the lines below, > however as we are doing chap I need to have the usernames and passwords > stored in the database (radcheck). > > DEFAULT Auth-Type := Local, NAS-IP-Address == "10.0.0.1" > Exec-Program-Wait = "/program for nas1"
You don't need to set Auth-Type. And if the per-NAS configuration is fairly static, you can use rlm_passwd to map NAS to Exec-Program-Wait. Users should still go into SQL, as their information will change a fair bit. > PS; What happened to the new website? What do you mean by that? Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html