trans2 submcommand endianness
Shirish Pargaonkar
shirishpargaonkar at gmail.com
Thu Jul 28 06:13:15 MDT 2011
On Tue, Jul 26, 2011 at 4:46 PM, Jeremy Allison <jra at samba.org> wrote:
> On Tue, Jul 26, 2011 at 02:39:17PM -0700, Jeremy Allison wrote:
>> On Tue, Jul 26, 2011 at 03:34:38PM -0500, Shirish Pargaonkar wrote:
>> > Is this a known/reported issue?
>> >
>> > smbclient, during dir operation at the command prompt,
>> > instead of sending trans2 subcommand (two bytes) as
>> > 0x0001 (01 00), is sending as 0x0100 (00 01) thus
>> > changing subcommand from FIND_FIRST2 (1) to Unknown (256)
>> > and incurring error NT_STATUS_NOT_IMPLEMENT.
>> >
>> > # smbd -V
>> > Version 3.6.0rc2-0.9.2-2566-SUSE-CODE11-ppc64
>>
>> Sounds like an endian messup. Is this a big-endian
>> box ? It's not a known issue, so please log a bug
>> asap.
>
> Does the attached patch fix it ?
>
> Jeremy
>
Jeremy, yes it does. Thanks.
Regards,
Shirish
More information about the samba-technical
mailing list