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

belyj at belyj.eu belyj at belyj.eu
Wed Jul 17 13:41:37 CEST 2019


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


More information about the Freeradius-Users mailing list