trans2 submcommand endianness

Jeremy Allison jra at samba.org
Tue Jul 26 15:39:17 MDT 2011


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.

Jeremy.


More information about the samba-technical mailing list