Bug 446723

Summary: radiusclient - can't parse AV pair
Product: [Fedora] Fedora Reporter: Simon J Xuereb <sjxuereb>
Component: radiusclient-ngAssignee: Jeffrey C. Ollie <jeff>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-15 19:34:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Simon J Xuereb 2008-05-15 19:09:51 UTC
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 19:34:08 UTC
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/