change Group-Name in unlang

Mehdi Ravanbakhsh babakco at gmail.com
Sat Mar 30 18:20:07 CET 2013


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 at 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 at 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130330/f315077b/attachment-0001.html>


More information about the Freeradius-Users mailing list