Additional double quotations in python tuples

Anuruddha Premalal anuruddhapremalal at
Thu Oct 13 08:09:48 CEST 2016

Hi All,

I'm experimenting with the python extension on freeradius 3.0.8 and faced
the following issues.

When I print the parameter 'p' of the authenticate(p), while executing
* radtest test1 testing123 localhost 10 testing123*

the output is seen as below,

('User-Name', '"test1"')
('User-Password', '"testing123"')
('NAS-IP-Address', '')
('NAS-Port', '10')
('Message-Authenticator', '0x9a76d539575fdc05d187013433f49981')
('Event-Timestamp', '"Oct 13 2016 06:00:51 UTC"')

Notice that there are some unwanted double quotations around *User-Name ,
User-Password *and *Event-Timestamp.*

I could remove these unwanted strings but it's going to add some over head
to the authentication process. Can I get rid of this unwantd double
quatation without incuring any processing cost on python side?

PS : These double quotations are also present in accounting packets as well.

*Anuruddha Premalala (MIEEE)Mobile : +94717213122E-mail  :
anuruddhapremalal at <anuruddhapremalal at>web      : <>*

More information about the Freeradius-Users mailing list