3.0.x: user-password length decoding sometimes wrong?

Arran Cudbard-Bell a.cudbardb at freeradius.org
Mon Nov 30 17:00:30 CET 2015


> On 30 Nov 2015, at 10:53, Alan DeKok <aland at deployingradius.com> wrote:
> 
> On Nov 30, 2015, at 10:39 AM, Stefano Mason <stefano.mason at eng-mo.it> wrote:
>> 
>> From Brocade switch:
>> 
>> Mon Nov 30 16:33:56 2015 : Debug: (1) Received Access-Request Id 4 from X.X.X.X:10185 to X.X.X.X:1812 length 93
>> Mon Nov 30 16:33:56 2015 : Debug: (1)   User-Name = "db00000"
>> Mon Nov 30 16:33:56 2015 : Debug: (1) User-Password = "db00000\000\000\000\000\000\000\000\000\031"
> 
>  The brocade switch is broken.
> 
>> Resolved in this way:
>> 
>>       update request {
>>               Tmp-String-0 := "%{string:User-Password}"
>>               User-Password := "%{string:Tmp-String-0}"
>>       }
> 
>  That works.
> 
>  I'll add this to the default policies.

Better to do something more explicit with a regex, in case we get around to fixing string expansion :)

-Arran

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: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20151130/b20e77ee/attachment.sig>


More information about the Freeradius-Users mailing list