v3.0.x: raddebug/radmin ignore conditions

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Feb 13 12:45:44 CET 2014


On 13 Feb 2014, at 11:30, JB <list.freeradius at me.com> wrote:

> Alan DeKok wrote:
>> JB wrote:
>>> Unfortunately, the -u argument of raddebug is now broken. I'm getting this error message:
>>> Error: Failed parsing condition '(User-Name == test)': Must have string as value for attribute
>> 
>> That's an easy fix.  The problem is that the *server* now requires:
>> 
>> 	User-Name == "test"
>> 
>> The previous form is forbidden.
> 
> I see. Since the script seems to strip my quotes when I write something like -u "test", I changed the line to:
> 
> u)    condition="(User-Name == '$OPTARG')"
> 
> Works fine now.
> (Sorry, don't know how to make patches with Git yet.)

git diff > patch

:)

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140213/aca8e39f/attachment.pgp>


More information about the Freeradius-Users mailing list