Bug 446723 - radiusclient - can't parse AV pair
radiusclient - can't parse AV pair
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: radiusclient-ng (Show other bugs)
8
i386 Linux
low Severity low
: ---
: ---
Assigned To: Jeffrey C. Ollie
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-15 15:09 EDT by Simon J Xuereb
Modified: 2008-05-19 04:26 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-15 15:34:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Simon J Xuereb 2008-05-15 15:09:51 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):

radiusclient-ng-0.5.6-3.fc8

How reproducible:


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

 
Actual results:

What is wrong with the above AV Pair ? 
Unfortunately i could not find any info about the usage of the the new radiusclient.

10x.
Expected results:

$ 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"

Additional info:
Comment 1 Jeffrey C. Ollie 2008-05-15 15:34:08 EDT
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:

http://cvs.berlios.de/cgi-bin/viewcvs.cgi/radiusclient-ng/radiusclient-ng/src/radiusclient.c?rev=1.6&content-type=text/vnd.viewcvs-markup

This is the upstream home page for the project:

http://developer.berlios.de/projects/radiusclient-ng/

Note You need to log in before you can comment on or make changes to this bug.