Configuring the class attribute in FR server

Alan DeKok aland at deployingradius.com
Sat Mar 11 14:18:13 CET 2017


On Mar 11, 2017, at 1:24 AM, Javed <jaakhtar at cisco.com> wrote:
> 
> We have a FR server setup and in our product(NAS client) we have a feature
> which after RADIUS authentication if successful assigned the user based on
> its class attribute(configured in server) to various roles like
> admin/operator etc..
> 
> I have a question if anybody can help me where in FR server we can assigned
> this class attribute and what is the syntax if any sample will be helpful.

  It's just an attribute.  You add it like anything else.  See "man unlang", and examples in the virtual servers.

...
	update reply {
		Class := 0xabcdef
	}
...

  Alan DeKok.




More information about the Freeradius-Devel mailing list