Source for winucase.c
abartlet at samba.org
Fri Oct 18 13:44:59 MDT 2013
On Fri, 2013-10-18 at 06:43 -0400, Jeff Layton wrote:
> On Fri, 18 Oct 2013 02:04:29 +0100
> Ben Hutchings <ben at decadent.org.uk> wrote:
> > fs/cifs/winucase.c is commented as:
> > * The const tables in this file were converted from the following info
> > * provided by Microsoft:
> > *
> > * 18.104.22.168 Mapping UTF-16 Strings to Upper Case:
> > *
> > * http://msdn.microsoft.com/en-us/library/hh877830.aspx
> > * http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=10921
> > *
> > * In particular, the table in "Windows 8 Upper Case Mapping Table.txt" was
> > * post-processed using the winucase_convert.pl script.
> > Isn't "Windows 8 Upper Case Mapping Table.txt" then the preferred form
> > for modification of the tables? In which case, it should be included in
> > the kernel sources.
> > Also, shouldn't this file acknowledge Microsoft's copyright, if it's a
> > derivative work of their file?
> > Ben.
> (cc'ing samba-technical and Bradley Kuhn in the hopes that he can help
> Good questions. I'm not certain on either point. When I queried the MS
> folks about the licensing on that file, they said:
> "I discovered the content you used is in fact referenced by the
> MS-UCODEREF document, in section 22.214.171.124.3.1 Windows Sorting Weight
> Table. I discussed with the appropriate folks here, and for use in
> Samba it's certainly covered under Samba's existing PFIF license."
> Bradley, any thoughts as to Ben's questions?
The worked 'referenced' is the key point, because these are the terms on
the WSPP docs on their website:
Copyrights. This documentation is covered by Microsoft copyrights.
the Microsoft website that hosts this documentation, you may make copies
of it in order to develop implementations of the technologies described
in the Open Specifications and may distribute portions of it in your
implementations using these technologies or your documentation as
necessary to properly document the implementation. You may also
distribute in your implementation, with or without modification, any
schema, IDL’s, or code samples that are included in the documentation.
This permission also applies to any documents that are referenced in the
The last line is what they are referring to.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical