iconv translit broken for cyrillic and greek

Alexej Ruseckij fenuksuh at ya.ru
Mon Jan 7 09:21:25 CET 2013


Hello,

While testing Kolab 3 I've ran across this problem — 
http://sourceware.org/bugzilla/show_bug.cgi?id=12031. It's also true when 
transliterating from cyrillic, as in my case.

As Kolab uses iconv in recipient-policy to construct mail and alias for user, 
those fields are generated empty for users with cyrillic names and kolab-
server crashes.

For some reason those aliases are generated in 2 places — recipient-policy 
plugin in pykolab and in kolab-webadmin. I've added a workaround into kolab-
webadmin to transliterate cyrillic names and commented out the part in pykolab 
plugin (not sure if it's the right way to do it), so it's working now for me 
with cyrillic names. But every update in Debian Wheezy puts original code back 
in place, which generates empty alias for the last user added into kolab and 
kolab-server crashes again. In that case I have to apply the workaround again 
and manually remove empty alias field from ldap user entry.

I understand the problem is not in kolab itself. But it still renders kolab 
unusable for users with greek or cyrillic names.

Unfortunately, I don't have access to the test server right now, so can not 
include error reports and workaround I've used. Will do it as soon as I can.

Regards,
Alexej




More information about the users mailing list