Bug 446723 - radiusclient - can't parse AV pair
Summary: radiusclient - can't parse AV pair
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: radiusclient-ng
Version: 8
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeffrey C. Ollie
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-15 19:09 UTC by Simon J Xuereb
Modified: 2008-05-19 08:26 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-05-15 19:34:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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/


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