add reply attribute
Hi, In the access-request, i receive the Aruba-Device-Type attribute, I want to put it in the access-accept response attributes, How can I do ? Thanks
Hi, In order to make a specific rule on my Aruba controller, it need this attribute in the radius reply. (It’s a long story !). So yes i want to copy it from access request to acces accept but I don’t know how to do it ? Thanks Marc Boisis Coordinateur équipe gestion parc, administrateur des infrastructures informatiques Direction du Système d'Information 05 46 45 82 14 marc.boisis@univ-lr.fr <mailto:marc-henri.boisis-delavaud@univ-lr.fr> Université de La Rochelle 23 avenue Albert Einstein BP 33060 - 17031 La Rochelle www.univ-larochelle.fr <https://www.univ-larochelle.fr/> Suivez-nous : Facebook <https://www.facebook.com/Universite.de.La.Rochelle> | Twitter <https://twitter.com/UnivLaRochelle>
Le 4 déc. 2015 à 17:16, A.L.M.Buxey@lboro.ac.uk a écrit :
Hi,
In the access-request, i receive the Aruba-Device-Type attribute, I want to put it in the access-accept response attributes, How can I do ?
copy it.... but why? :-)
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On 5 Dec 2015, at 11:33, Marc Boisis <marc.boisis@univ-lr.fr> wrote:
Hi, In order to make a specific rule on my Aruba controller, it need this attribute in the radius reply. (It’s a long story !). So yes i want to copy it from access request to acces accept but I don’t know how to do it ?
man unlang -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Hi, I’m trying this : update reply { Aruba-Device-Type := &Aruba-Device-Type } but I’ve this access accept: Sending Access-Accept of id 202 to 10.10.10.20 port 55681 Aruba-Device-Type = "&Aruba-Device-Type" Tunnel-Private-Group-Id:0 = "4" Tunnel-Medium-Type:0 = IEEE-802 What is my error ? thanks
Le 5 déc. 2015 à 17:35, Arran Cudbard-Bell <a.cudbardb@freeradius.org> a écrit :
On 5 Dec 2015, at 11:33, Marc Boisis <marc.boisis@univ-lr.fr> wrote:
Hi, In order to make a specific rule on my Aruba controller, it need this attribute in the radius reply. (It’s a long story !). So yes i want to copy it from access request to acces accept but I don’t know how to do it ?
man unlang
-Arran
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Tue, Dec 08, 2015 at 02:52:57PM +0100, Marc Boisis wrote:
I’m trying this :
update reply { Aruba-Device-Type := &Aruba-Device-Type }
That is FR 3 syntax.
What is my error ?
If you're on FR 2, try update reply { Aruba-Device-Type := "%{request:Aruba-Device-Type}" } Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
It works Thanks
Le 8 déc. 2015 à 15:17, Matthew Newton <mcn4@leicester.ac.uk> a écrit :
On Tue, Dec 08, 2015 at 02:52:57PM +0100, Marc Boisis wrote:
I’m trying this :
update reply { Aruba-Device-Type := &Aruba-Device-Type }
That is FR 3 syntax.
What is my error ?
If you're on FR 2, try
update reply { Aruba-Device-Type := "%{request:Aruba-Device-Type}" }
Matthew
-- Matthew Newton, Ph.D. <mcn4@le.ac.uk>
Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk> - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (4)
-
A.L.M.Buxey@lboro.ac.uk -
Arran Cudbard-Bell -
Marc Boisis -
Matthew Newton