FreeRadius replaces characters in '%{User-Password}' after upgrade 3.0.16->3.0.19

Jorge Pereira jpereira at freeradius.org
Wed Jul 17 15:58:34 CEST 2019


Please share the entire debug output

> On 17 Jul 2019, at 08:41, belyj at belyj.eu wrote:
> 
> Hello.
> 
> After upgrade from 3.0.16 to 3.0.19 freeradius is replacing characters in mysql queries.
> 
> 
> (76475085) Tue Jul 16 16:16:06 2019: Debug: Received Access-Request Id 54 from  length 126
> (76475085) Tue Jul 16 16:16:06 2019: Debug:   NAS-Identifier = "XXXX"
> (76475085) Tue Jul 16 16:16:06 2019: Debug:   User-Password = "p6suf+FyNBebQgLMTdAXD4q0U/yZVIaxSN/w8LzVMlw="
> 
> query
> 
> ... xxx.value = '%{User-Password}' AND ...
> 
> 
> (76475085) Tue Jul 16 16:16:06 2019: Debug: sql3: Executing select query: SELECT ... xxx.value = 'p6suf=2BFyNBebQgLMTdAXD4q0U/yZVIaxSN/w8LzVMlw=3D' AND ...
> 
> \+ is replaced and =3D added at the end.
> 
> `p6suf+FyNBebQgLMTdAXD4q0U/yZVIaxSN/w8LzVMlw=`
> 
> `p6suf=2BFyNBebQgLMTdAXD4q0U/yZVIaxSN/w8LzVMlw=3D`
> 
> radiusd: FreeRADIUS Version 3.0.19 (git #1156b5361), for host x86_64-pc-linux-gnu
> FreeRADIUS Version 3.0.19
> 
> 
> On 3.0.16 same config, same query, password is not changed.
> 
> 
> 
> 
> Any help would be appreciated.
> 
> Andrzej
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list