Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ?

Namjae Jeon linkinjeon at kernel.org
Tue Dec 5 07:48:03 UTC 2023


I found that name strings of SMB2_CREATE_ALLOCATION_SIZE are different
between samba and cifs/ksmbd like the following. In the MS-SMB2
specification, the name of SMB2_CREATE_ALLOCATION_SIZE is defined as
AISi.
Is it a typo in the specification or is samba defining it incorrectly?

samba-4.19.2/libcli/smb/smb2_constants.h :
#define SMB2_CREATE_TAG_ALSI "AlSi"

/fs/smb/common/smb2pdu.h :
#define SMB2_CREATE_ALLOCATION_SIZE             "AISi"

Thanks.



More information about the samba-technical mailing list