<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Since migrating from MariaDB, CentOs 6 to PostgreSQL, Ubuntu 14.04 LTS RT::Authen:ExternalAuth garbles our beautiful German umlauts:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Consolas">[24732] [Wed May 11 13:34:00 2016] [debug]: Calling UserExists with $username (horst) and $service (My_LDAP) (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:465)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Consolas">[…]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Consolas">[24732] [Wed May 11 13:34:00 2016] [debug]: Found LDAP DN: CN=Testmäister\, Hörst,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=tracetronic,DC=local (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:221)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Consolas">[…]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Consolas">[24732] [Wed May 11 13:34:00 2016] [info]: RT::Authen::ExternalAuth::CanonicalizeUserInfo returning EmailAddress: , Name: horst, RealName: Testmäister, Hörst (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:868)<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:Consolas">[24732] [Wed May 11 13:34:00 2016] [debug]: UPDATED user horst: User horst: RealName changed from 'Testmäister, Hörst' to 'Testmäister, Hörst' (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:665)<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:Consolas"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US">I found that when running the value from LDAP through an additional $value_from_ldap = decode(‘utf-8’, $value_from_ldap), the value gets ungarbled…(see attached patch). Which is an okay workaround for us, but maybe you
know of a better workaround? Unfortunately my perl foo is not good enough to found the root cause of this issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Vinzenz<o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="border-top:solid #505050 1.0pt;border-left:none;border-bottom:solid #505050 1.0pt;border-right:none;padding:3.75pt 0cm 3.75pt 0cm">
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Tahoma",sans-serif;color:#505050;mso-fareast-language:DE">Vinzenz Sinapius
<br>
Information Technology | Informationstechnik<br>
<br>
</span><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#63666A;mso-fareast-language:DE">trace</span></b><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#ED8B00;mso-fareast-language:DE">tronic</span></b><b><span style="font-size:8.0pt;font-family:"Tahoma",sans-serif;color:#505050;mso-fareast-language:DE">
</span></b><span style="font-size:8.0pt;font-family:"Tahoma",sans-serif;color:#505050;mso-fareast-language:DE">GmbH<br>
Stuttgarter Str. 3<br>
01189 DRESDEN<br>
GERMANY <br>
<br>
Phone: +49 351 205768-167<br>
Fax: +49 351 205768-999<br>
E-mail: <a href="mailto:vinzenz.sinapius@tracetronic.de"><span style="color:#505050">vinzenz.sinapius@tracetronic.de</span></a>
<br>
<br>
Head Office | Hauptsitz: Stuttgarter Str. 3, 01189 DRESDEN, GERMANY <br>
Managing Directors | Geschäftsführer: Dr.-Ing. Rocco Deutschmann, Dr.-Ing. Peter Strähle
<br>
Registration Court | Registergericht: Amtsgericht Dresden, HRB 23 086 </span><span style="font-size:8.0pt;font-family:"Times New Roman",serif;color:#505050;mso-fareast-language:DE"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>