[Freeipa-users] Error in IPA webinterface then DNS name contains \032 (<space>)
Petr Spacek
pspacek at redhat.com
Tue Mar 22 11:34:56 UTC 2016
On 22.3.2016 11:21, Troels Hansen wrote:
>>
>> web ui uses API command:
>> {"method":"dnsrecord_show","params":[["my.zone.test.","LIFX\\032Bulb"],{"all":true,"rights":true,"structured":true,"version":"2.163"}]}
>>
>> Could you check what is yours?
>> 1. open developer tool in browser (usually F12)
>> 2. Network tab
>> 3. Refresh the page, look at new request to ipa/session/json
>> 4. examine "Request Payload"
>> some old example in FF:
>> https://pvoborni.fedorapeople.org/images/devtools.png
>
>
> Mine seems to show the exact same thing:
>
> <snip>
> {"method":"dnsrecord_show","params":[["casalogic.lan.","LIFX\\032Bulb"],{"all":true}]}
> <snip>
>
> My version reports {"version":"2.156"}]}
>
> Tried FF and Chrome, but same result in both.
>
> However:
>
> # ipa dnsrecord-show casalogic.lan. LIFX\032Bulb
> ipa: ERROR: LIFX032Bulb: DNS resource record not found
> # ipa dnsrecord-show casalogic.lan. "LIFX Bulb"
> ipa: ERROR: LIFX\032Bulb: DNS resource record not found
Have you tried
# ipa dnsrecord-show casalogic.lan. 'LIFX\032Bulb'
?
I suspect that Bash is playing escaping game with you.
Petr^2 Spacek
>
> But:
> # ipa dnsrecord-find casalogic.lan
> ......
> Record name: LIFX\032Bulb
> A record: 192.168.20.252
> TXT record: "009143ca16c9890339c7ec33825e0da5ce"
> .....
>
> # ipa --version
> VERSION: 4.2.0, API_VERSION: 2.156
>
>
>
>> I would say that there weren't any changes in 4.2 -> 4.3 it this area.
>> So not sure why the behavior in your case is opposite.
>>
>> Anyway it suggests minor encoding issue.
>> --
>> Petr Vobornik
>
--
Petr^2 Spacek
More information about the Freeipa-users
mailing list