[19577] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: krb5 commit: Modernize UTF-8/UCS-2 conversion code

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Apr 17 15:54:05 2017

To: Stefan Metzmacher <metze@samba.org>, Robbie Harwood <rharwood@redhat.com>
From: Greg Hudson <ghudson@mit.edu>
Message-ID: <e81f8b54-8eff-3aaf-599a-5d86804a07db@mit.edu>
Date: Mon, 17 Apr 2017 15:53:52 -0400
MIME-Version: 1.0
In-Reply-To: <c294c45e-6d55-063c-be21-0316e07bf81c@samba.org>
Cc: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

On 04/17/2017 03:24 PM, Stefan Metzmacher wrote:
> is there a reson why you still limit this to USC-2 and not use full UTF16
> support?

This commit was just trying to eliminate warnings, not change the
functionality.

This code originally came from OpenLDAP's utf-8-conv.c, and was
incorporated with the goal of Windows compatibility (for PACs and RC4
string-to-key).  If Windows now supports UTF-16 then we could consider
extending it, but I wouldn't want to do so without confirmation of that.

> We had a lot of trouble with the limited unicode support of krb5 libraries
> in Samba recently, see https://bugzilla.samba.org/show_bug.cgi?id=12262

Thanks for the pointer.
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post