Does FreeRadius support different replies for same user via check-attributes?
Hi! I would like a specific request item to set which attribute to reply. For example... IF; A request comes with User-Name: "XXX", Password: "YYY" and Attribute A = "Go1" The Access-Accept should include Attribute Go="Service1" BUT IF; A request comes with User-Name: "XXX", Password: "YYY" and Attribute A = "Go2" The Access-Accept should include Attribute Go="Service2" Is this possible? Thanks in advance! Tobian
--On Friday, January 08, 2010 03:35:00 PM +0100 Tobbe & Millan <ejp252l@tninet.se> wrote:
Hi!
I would like a specific request item to set which attribute to reply.
For example... IF; A request comes with User-Name: "XXX", Password: "YYY" and Attribute A = "Go1" The Access-Accept should include Attribute Go="Service1" BUT IF; A request comes with User-Name: "XXX", Password: "YYY" and Attribute A = "Go2" The Access-Accept should include Attribute Go="Service2"
Is this possible?
It is. <http://freeradius.org/radiusd/man/unlang.html> -James -- James J J Hooper Network Specialist Information Services University of Bristol http://www.wireless.bristol.ac.uk http://www.jamesjj.net --
participants (2)
-
James J J Hooper -
Tobbe & Millan