[PATCHES] Fix userParameters once and for all

Andrew Bartlett abartlet at samba.org
Sun Jun 29 16:11:52 MDT 2014


On Sun, 2014-06-29 at 21:32 +0200, Kamen Mazdrashki wrote:
> On Sun, Jun 29, 2014 at 9:29 PM, Andrew Bartlett <abartlet at samba.org> wrote:
> 
> > On Thu, 2014-06-19 at 14:49 +0200, Stefan (metze) Metzmacher wrote:
> > > Am 19.06.2014 07:13, schrieb abartlet at samba.org:
> > > > This patch series tries to fix the userParameters issue once and for
> > all
> > > > rather than just papering over it by increasing the malloc buffer.
> > > >
> > > > This ensures that Samba stores the userParameters array in the same
> > > > way the windows client uses it, as a 'UTF-16-LE' buffer (sort of, the
> > > > data is not actually unicode).
> > > >
> > > > The only thing not done in this patch set is to have our LDAP server
> > > > convert on output, but Microsoft assures us that this can not be
> > > > relied on anyway, as the data is not UTF8 nor can it be transformed to
> > > > UTF8 with certainty.
> > > >
> > > > Please review and push.
> > >
> > > I'll have a look at it next week...
> >
> > Any thoughts?
> >
> >
> It seems there is no patch attached :)

They were in threaded mails following, but are also now attached. 

Thanks,

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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dsdb-Set-syntax-of-userParameters-to-binary-string-n.patch
Type: text/x-patch
Size: 2579 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140630/4604b9cf/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-dsdb-Always-store-and-return-the-userParameters-as-a.patch
Type: text/x-patch
Size: 6766 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140630/4604b9cf/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-dbcheck-Add-check-and-test-for-various-invalid-userP.patch
Type: text/x-patch
Size: 16862 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140630/4604b9cf/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140630/4604b9cf/attachment.pgp>


More information about the samba-technical mailing list