[PATCH] s4:dsdb/common: samdb_result_parameters: fix bug in ldb_val to lsa_BinaryString conversation
Andrew Bartlett
abartlet at samba.org
Mon Jun 16 22:10:43 MDT 2014
On Mon, 2014-05-26 at 23:03 +0200, Stefan Gohmann wrote:
> Hi Matthias,
>
> Am 26.05.2014 14:09, schrieb Matthias Dieter Wallnöfer:
> > Hi Stefan,
> >
> > it seems that no other one responded. I think that this is rather a
> > problem with the "userParameters" attribute which we still do not parse
> > correctly I think.
>
> thanks. I've re-checked this issue.
>
> In my case the userParameters attribute is 105 bytes long. I think the
> problem is that the length is odd and so there is one byte missing.
>
> I was able to reproduce this issue while setting userParameters for a
> user to the following value:
>
> userParameters::
> Q3R4Q2ZnUHJlc2VudCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgUAIaCAFDdHhDZmdQcmVzZW5045S15pSx5oiw44GiGAgBQ3R4Q2ZnRmxhZ3Mx44Cw44Gm44Cy44C5
Where did you get this value from (what tool crated it?)
The reason I ask it that it does not start with the tell-tale 0x20 0x20
0x20 patterns at the start.
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
More information about the samba-technical
mailing list