07-01-2004 05:00 AM - edited 03-10-2019 07:53 AM
Hello,
I need to use the access registrar radclient to test a new service. The problem i have is when i try to set the avpairs attributes to the packets. I can only set one avpair, if i try to set a second it overwrites the first avpair.
I already tried to create the attribute the same way you add it to the AR configuration ( All in one command) but it does'n work.
Somebody have any ideas
Thannks a lot!!!!
Solved! Go to Solution.
07-07-2004 10:28 PM
Here's how you do it. Unfortunately, the method isn't documented so I will file a bug to get that fixed. Thanks for the input.
--> simple bob bob
p001
--> attrib cisco-avpair blah
a005
--> attrib cisco-avpair boo
a006
--> p001 set mattrib a005
--> p001
Packet: code = Access-Request, id = 0, length = 0, attributes =
User-Name = bob
User-Password = bob
NAS-Identifier = localhost
NAS-Port = 1
Cisco-AVPair = blah
--> p001 set mattrib a006
--> p001
Packet: code = Access-Request, id = 0, length = 0, attributes =
User-Name = bob
User-Password = bob
NAS-Identifier = localhost
NAS-Port = 1
Cisco-AVPair = blah
Cisco-AVPair = boo
07-07-2004 11:09 AM
Have you tried with the command set Cisco-Avpair?
07-07-2004 10:28 PM
Here's how you do it. Unfortunately, the method isn't documented so I will file a bug to get that fixed. Thanks for the input.
--> simple bob bob
p001
--> attrib cisco-avpair blah
a005
--> attrib cisco-avpair boo
a006
--> p001 set mattrib a005
--> p001
Packet: code = Access-Request, id = 0, length = 0, attributes =
User-Name = bob
User-Password = bob
NAS-Identifier = localhost
NAS-Port = 1
Cisco-AVPair = blah
--> p001 set mattrib a006
--> p001
Packet: code = Access-Request, id = 0, length = 0, attributes =
User-Name = bob
User-Password = bob
NAS-Identifier = localhost
NAS-Port = 1
Cisco-AVPair = blah
Cisco-AVPair = boo
07-08-2004 04:48 AM
Thanks a lot!!!!
Great idea to document it
Thanks Again!!!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide