Hi Alan, I'm having problems with raddebug/radmin in FR3.0.2, which seem more terminal than before. When running radmin I get the error message below, this occurs regardless of whether radiusd is running. It appears to be failing on the if conditions within ./raddb/policy.d/eap # ./build/bin/local/radmin -u testuser@swan.ac.uk Thu Mar 27 10:55:00 2014 : Error: /usr/local/etc/raddb/policy.d/eap[10]: Parse error in condition radmin: Errors reading or parsing /usr/local/etc/raddb/radiusd.conf Usage: radmin [ args ] -d raddb_dir Configuration files are in "raddbdir/*". -e command Execute 'command' and then exit. -E Echo commands as they are being executed. -f socket_file Open socket_file directly, without reading radius.conf -h Print usage help information. -i input_file Read commands from 'input_file'. -n name Read raddb/name.conf instead of raddb/radiusd.conf -o output_file Write commands to 'output_file'. -q Quiet mode. Any ideas? Thanks, Jezz.
-----Original Message----- From: freeradius-users- bounces+j.d.f.palmer=swansea.ac.uk@lists.freeradius.org [mailto:freeradius- users-bounces+j.d.f.palmer=swansea.ac.uk@lists.freeradius.org] On Behalf Of Alan DeKok Sent: 27 February 2014 13:34 To: FreeRadius users mailing list Subject: Re: FR3.0.1Problems with raddebug and radmin.
Palmer J.D.F. wrote:
But I'm still struggling with raddebug. It looks like the condition is having an issue escaping the "'s which have been introduced in FR3*
This has been fixed in the v3.0.x branch.
However, if I hack the raddebug script and change the line... u) condition="(User-Name == $OPTARG )" to u) condition="(User-Name == \\\"$OPTARG\\\")"
raddebug -u bob@bobville works as expected
A different fix has already been pushed. We're doing some last-minute testing, and hope to release v3.0.2 soon.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html