directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (Jira)" <j...@apache.org>
Subject [jira] [Commented] (DIRKRB-595) Add mode to allow KerberosString's to contain UTF-8 for MSFT KDC interop
Date Wed, 06 May 2020 17:02:00 GMT

    [ https://issues.apache.org/jira/browse/DIRKRB-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17101005#comment-17101005
] 

Michael Osipov commented on DIRKRB-595:
---------------------------------------

The java default is true: [https://bugs.openjdk.java.net/browse/JDK-8201351]

> Add mode to allow KerberosString's to contain UTF-8 for MSFT KDC interop
> ------------------------------------------------------------------------
>
>                 Key: DIRKRB-595
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-595
>             Project: Directory Kerberos
>          Issue Type: Improvement
>          Components: changepw
>    Affects Versions: 2.0.0-RC1
>            Reporter: Griff James
>            Priority: Major
>             Fix For: 2.0.0-M23
>
>         Attachments: utf8-changes.patch
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Mime
View raw message