[19578] 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 (Andrew Bartlett)
Mon Apr 17 17:25:37 2017

Message-ID: <1492464316.5481.6.camel@samba.org>
From: Andrew Bartlett <abartlet@samba.org>
To: Greg Hudson <ghudson@mit.edu>, Stefan Metzmacher <metze@samba.org>,
        Robbie Harwood <rharwood@redhat.com>
Date: Tue, 18 Apr 2017 09:25:16 +1200
In-Reply-To: <e81f8b54-8eff-3aaf-599a-5d86804a07db@mit.edu>
Mime-Version: 1.0
Cc: krbdev@mit.edu
Content-Type: text/plain; charset="utf-8"
Errors-To: krbdev-bounces@mit.edu
Content-Transfer-Encoding: 8bit

On Mon, 2017-04-17 at 15:53 -0400, Greg Hudson wrote:
> 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.

Windows has been UTF-16 for quite a long time now.

Andrew Bartlett
-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

_______________________________________________
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