Skip to content
Commit 9235d098 authored by Sachin Prabhu's avatar Sachin Prabhu Committed by Steve French
Browse files

Convert MessageID in smb2_hdr to LE



We have encountered failures when When testing smb2 mounts on ppc64
machines when using both Samba as well as Windows 2012.

On poking around, the problem was determined to be caused by the
high endian MessageID passed in the header for smb2. On checking the
corresponding MID for smb1 is converted to LE before being sent on the
wire.

We have tested this patch successfully on a ppc64 machine.

Signed-off-by: default avatarSachin Prabhu <sprabhu@redhat.com>
parent 9ea18f8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment