<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Please review the two attached patches which address:<br>
    <ul>
      <li><a href="https://fedorahosted.org/pki/ticket/946">PKI TRAC
          Ticket #946 - Installation of IPA hangs up when LANG is set to
          tr_TR.UTF8</a></li>
    </ul>
    <p>The first patch attempts to insure that 'UTF-8' encoding is
      always used when importing data from an LDIF file by replacing the
      Java commands which utilize the default Locale and thus
      potentially would override the use of 'UTF-8' when working with
      LDIF files.<br>
    </p>
    <p>The following ticket has been issued to address further concerns
      related to this issue:<br>
    </p>
    <ul>
      <li><a href="https://fedorahosted.org/pki/ticket/1005">PKI TRAC
          Ticket #1005 - Analyze source code for Java commands which
          utilize default Locale and honor 'i18n'</a><br>
      </li>
    </ul>
    <p>The second patch specifically addresses the use of the
      'tr_TR.UTF-8' issue reported in this ticket by changing the
      following problematic LDIF attribute names:<br>
    </p>
    <ul>
      <li>index.ldif</li>
      <ul>
        <li>nsIndexType --> nsindexType</li>
        <li>nsSystemIndex --> nsSystemindex</li>
      </ul>
      <li>vlvtasks.ldif</li>
      <ul>
        <li>nsInstance --> nsinstance</li>
        <li>nsIndexVLVAttribute --> nsindexVLVAttribute<br>
        </li>
      </ul>
    </ul>
    <p>The root of the problem that appears to cause this issue is the
      use of the 'toLowerCase()' method as utilized in the LDAPJDK.  The
      following bug has been issued which fully describes this issue:<br>
    </p>
    <ul>
      <li><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1097868">Bugzilla
          Bug #1097868 - Proposal: Consider not honoring 'i18n' on LDAP
          attribute names . . .</a> </li>
    </ul>
    <p>These patches were tested on a 64-bit Fedora 20 machine by doing
      the following:</p>
    <ul>
      <li>Install the patched RPMS onto the Fedora 20 test machine<br>
      </li>
      <li>Set contents of '/etc/locale.conf':</li>
      <ul>
        <li>LANG="tr_TR.UTF-8"</li>
      </ul>
      <li>Reboot machine</li>
      <li>LANG="tr_TR.UTF-8" ssh <a class="moz-txt-link-abbreviated" href="mailto:root@fedora20.example.com">root@fedora20.example.com</a></li>
      <li>cat /etc/resolv.conf</li>
      <li>ipa-server-install --setup-dns</li>
      <ul>
        <li>Choose defaults and change the BIND settings using the
          values from '/etc/resolv.conf'</li>
      </ul>
      <li>klist</li>
      <li>kinit admin</li>
      <li>klist</li>
      <li>ipa user-find</li>
      <li>ipa help cert</li>
      <li>ipa cert-show</li>
    </ul>
    <p><br>
    </p>
  </body>
</html>