ldap_pairget fix

Nicolas Baradakis nbk at sitadelle.com
Wed Jan 11 12:30:56 CET 2006


Markus Krause wrote:

> so i used two different users:
> testuser3:
>  radiusFilterId: foo bar
>
> radtest says:
>
> atlas:~# radtest testuser3 secret localhost 0 testing123
> Sending Access-Request of id 53 to 127.0.0.1 port 1812
>         User-Name = "testuser3"
>         User-Password = "secret"
>         NAS-IP-Address = 255.255.255.255
>         NAS-Port = 0
> rad_recv: Access-Accept packet from host 127.0.0.1:1812, id=53, length=29
>         Filter-Id = "foo bar"
>
> so it looks good for the attribute "Filter-Id"/"radiusFilterID"!

Indeed. According to the bug report, old code would have returned
Filter-Id = "foo" therefore the patch doesn't truncate the value
anymore.

> let me know if i can do some more testing!

Please try the other examples posted to the bugzilla: with an operator,
with quotes, with back-quotes, etc.

http://bugs.freeradius.org/show_bug.cgi?id=261

-- 
Nicolas Baradakis




More information about the Freeradius-Devel mailing list