Uploaded image for project: 'Directory Kerberos'
  1. Directory Kerberos
  2. DIRKRB-595

Add mode to allow KerberosString's to contain UTF-8 for MSFT KDC interop

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-RC1
    • Fix Version/s: 2.0.0-M23
    • Component/s: changepw
    • Labels:
      None
    • Flags:
      Patch

      Description

      By definition KerberosString's are supposed to be in the range 0x20-0x7F. MSFT's kerberos implementation breaks this rule and allows Kerberos strings to contain UTF-8 characters for I18n.

      Java's Kerberos implementation has MSFT compatibility mode which is enabled by setting the system property "sun.security.krb5.msinterop.kstring" to "true". This allows KerberosString's to contain UTF-8.

      The attached patch is a proposed change to add the same support to the kerberos-code jar to allow the change password protocol to work for users with UTF-8 chars in their principal name.

        Activity

        Hide
        gjames@vmware.com Griff James added a comment -

        Proposed patch. Uses the same system property as Java, this could be renamed if necessary.

        Show
        gjames@vmware.com Griff James added a comment - Proposed patch. Uses the same system property as Java, this could be renamed if necessary.
        Hide
        elecharny Emmanuel Lecharny added a comment -

        Patch applied after a bit of re-formating, with http://svn.apache.org/viewvc?rev=1752418&view=rev

        Many thanks ! It might be included in the coming M23 version, which might be cut this week-end.

        Show
        elecharny Emmanuel Lecharny added a comment - Patch applied after a bit of re-formating, with http://svn.apache.org/viewvc?rev=1752418&view=rev Many thanks ! It might be included in the coming M23 version, which might be cut this week-end.
        Hide
        elecharny Emmanuel Lecharny added a comment -

        Patch applied in trunk

        Show
        elecharny Emmanuel Lecharny added a comment - Patch applied in trunk

          People

          • Assignee:
            Unassigned
            Reporter:
            gjames@vmware.com Griff James
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development