Red Hat Bugzilla – Bug 446723
radiusclient - can't parse AV pair
Last modified: 2008-05-19 04:26:54 EDT
Description of problem:
Hi I could not manage to get radiusclient to work. it seems it's a new
replacement of radclient.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
echo "User-Name = test" | radiusclient localhost:1812 acct testing123
localhost:1812: can't parse AV pair
-bash: echo: write error: Broken pipe
What is wrong with the above AV Pair ?
Unfortunately i could not find any info about the usage of the the new radiusclient.
$ echo "User-Name = fnord" | radclient 192.168.1.42 12 s3cr3t
Sending request to server 192.168.1.42, port 1812.
radrecv: Packet from host 192.168.1.42 code=2, id=140, length=54
Reply-Message = "FreeRADIUS up 21 days, 02:05"
radiusclient is not a replacement for radclient. It takes it's AV pairs on the
command line, not in the standard input. It also needs a configuration file to
specify the hostname/secret. Here's the source:
This is the upstream home page for the project: