[PATCHES] Fix userParameters once and for all

abartlet at samba.org abartlet at samba.org
Wed Jun 18 23:13:13 MDT 2014

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.


Andrew Bartlett

More information about the samba-technical mailing list