[Freeipa-devel] [PATCH 0179] Fix traceback if zonemgr error message contains unicode characters

Martin Kosek mkosek at redhat.com
Mon Jan 12 16:11:19 UTC 2015


On 01/12/2015 01:56 PM, David Kupka wrote:
> On 01/12/2015 01:25 PM, Martin Basti wrote:
>> On 09/01/15 14:07, David Kupka wrote:
>>> On 12/12/2014 02:26 PM, Martin Basti wrote:
>>>> https://fedorahosted.org/freeipa/ticket/4805
>>>>
>>>> Patch attached.
>>>>
>>>>
>>> Does not work properly.
>>>
>>> $ locale
>>> LANG=cs_CZ.iso88592
>>> LC_CTYPE="cs_CZ.iso88592"
>>> LC_NUMERIC="cs_CZ.iso88592"
>>> LC_TIME="cs_CZ.iso88592"
>>> LC_COLLATE="cs_CZ.iso88592"
>>> LC_MONETARY="cs_CZ.iso88592"
>>> LC_MESSAGES="cs_CZ.iso88592"
>>> LC_PAPER="cs_CZ.iso88592"
>>> LC_NAME="cs_CZ.iso88592"
>>> LC_ADDRESS="cs_CZ.iso88592"
>>> LC_TELEPHONE="cs_CZ.iso88592"
>>> LC_MEASUREMENT="cs_CZ.iso88592"
>>> LC_IDENTIFICATION="cs_CZ.iso88592"
>>> LC_ALL=cs_CZ.iso88592
>>>
>>> $ sudo ipa-server-install --setup-dns --forwarder=10.65.201.89  -r
>>> TESTRELM.TEST -p xxxxxxxx -P xxxxxxxx -a xxxxxxxx
>>> --zonemg=Ťažko at redhat.com -U >
>>> /tmp/ipaserverinstall_invalidzonemgr.out 2>&1
>>>
>>> $ cat /tmp/ipaserverinstall_invalidzonemgr.out
>>> Usage: ipa-server-install [options]
>>>
>>> ipa-server-install: error: invalid zonemgr: domain name
>>> 'ŤaŞko.redhat.com' should be normalized to: żaŞko.redhat.com
>>>
>>> The provided value isn't right and must be normalized but the one
>>> displayed in error message doesn't match.
>>>
>>>>
>>>> _______________________________________________
>>>> Freeipa-devel mailing list
>>>> Freeipa-devel at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/freeipa-devel
>>>>
>>>
>> Sorry, but it works for me. I tested it with
>> LC_ALL=sk_SK.ISO-8859-2
>>
> You're right I probably miss-configured the encoding in Konsole. Now I've tried
> it again and it works, ACK.

Pushed to:
master: 727f8099af9ace4a7a8e4489b34aa2db440336b2
ipa-4-1: fb1d848b490606846c14d764fabac5186a60fe4e




More information about the Freeipa-devel mailing list