Additional double quotations in python tuples
Herwin Weststrate
herwin at quarantainenet.nl
Thu Oct 13 12:53:34 CEST 2016
On 13-10-16 08:09, Anuruddha Premalal wrote:
> 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', '172.31.35.101')
> ('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?
This has been fixed in more recent versions, upgrading to 3.0.12
resolves this problem.
--
Herwin Weststrate
More information about the Freeradius-Users
mailing list