Can i use :


sql
if (notfound) {
update control {

Auth-Type := "Accept"
User-Profile = "Bad-User-Profile"
}
}




is User-Profile is changeable in unlang or i just can change Pool name by : 

Pool-Name := "Bad-User-Pool"

Best regards.




On Sat, Mar 30, 2013 at 9:14 PM, Mehdi Ravanbakhsh <babakco@gmail.com> wrote:
can i use Sql-Group in unlang?

i use sql module and in sql database i can relate user to group, can i change user group in unlang ?


On Sat, Mar 30, 2013 at 8:58 PM, Alan DeKok <aland@deployingradius.com> wrote:
Mehdi Ravanbakhsh wrote:
> I can change Pool-Name in unlang after if condition but if i use
> Group-Name for change the group of user it not work ....!!!

  Group and Group-Name do checks in the unix /etc/groups file.  You
CANNOT re-write them.

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