All of lore.kernel.org
 help / color / mirror / Atom feed
* Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ?
@ 2023-12-05  7:48 Namjae Jeon
  2023-12-05 10:01 ` Ralph Boehme
  0 siblings, 1 reply; 4+ messages in thread
From: Namjae Jeon @ 2023-12-05  7:48 UTC (permalink / raw)
  To: CIFS, samba-technical

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ?
  2023-12-05  7:48 Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ? Namjae Jeon
@ 2023-12-05 10:01 ` Ralph Boehme
  2023-12-05 16:46   ` [EXTERNAL] Re: Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ? - TrackingID#2312050040009715 Michael Bowen
  2023-12-05 23:48   ` Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ? Namjae Jeon
  0 siblings, 2 replies; 4+ messages in thread
From: Ralph Boehme @ 2023-12-05 10:01 UTC (permalink / raw)
  To: Namjae Jeon, CIFS, samba-technical, Interoperability Documentation Help


[-- Attachment #1.1: Type: text/plain, Size: 743 bytes --]

On 12/5/23 08:48, Namjae Jeon via samba-technical wrote:
> 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"

looks like a bug in MS-SMB2: they have the value as 0x416c5369, which is 
"AlSi", with an "l" like in "l"ake.

Adding dochelp to cc.

@dochelp: looks like you have a small bug in MS-SMB2. :)

-slow

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [EXTERNAL] Re: Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ? - TrackingID#2312050040009715
  2023-12-05 10:01 ` Ralph Boehme
@ 2023-12-05 16:46   ` Michael Bowen
  2023-12-05 23:48   ` Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ? Namjae Jeon
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Bowen @ 2023-12-05 16:46 UTC (permalink / raw)
  To: Ralph Böhme (samba), Namjae Jeon, CIFS, samba-technical
  Cc: Microsoft Support

[DocHelp to bcc]
Hi Ralph,

Thanks for your question about smb2. We’ve created case 2312050040009715 to track this issue. One of our engineers will contact you soon. 

Best regards,
Mike Bowen
Escalation Engineer - Microsoft Open Specifications

-----Original Message-----
From: Ralph Boehme <slow@samba.org> 
Sent: Tuesday, December 5, 2023 2:01 AM
To: Namjae Jeon <linkinjeon@kernel.org>; CIFS <linux-cifs@vger.kernel.org>; samba-technical <samba-technical@lists.samba.org>; Interoperability Documentation Help <dochelp@microsoft.com>
Subject: [EXTERNAL] Re: Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ?

On 12/5/23 08:48, Namjae Jeon via samba-technical wrote:
> 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"

looks like a bug in MS-SMB2: they have the value as 0x416c5369, which is "AlSi", with an "l" like in "l"ake.

Adding dochelp to cc.

@dochelp: looks like you have a small bug in MS-SMB2. :)

-slow

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ?
  2023-12-05 10:01 ` Ralph Boehme
  2023-12-05 16:46   ` [EXTERNAL] Re: Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ? - TrackingID#2312050040009715 Michael Bowen
@ 2023-12-05 23:48   ` Namjae Jeon
  1 sibling, 0 replies; 4+ messages in thread
From: Namjae Jeon @ 2023-12-05 23:48 UTC (permalink / raw)
  To: Ralph Boehme; +Cc: CIFS, samba-technical, Interoperability Documentation Help

2023-12-05 19:01 GMT+09:00, Ralph Boehme <slow@samba.org>:
> On 12/5/23 08:48, Namjae Jeon via samba-technical wrote:
>> 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"
>
> looks like a bug in MS-SMB2: they have the value as 0x416c5369, which is
> "AlSi", with an "l" like in "l"ake.
I will fix it in common header of cifs/ksmbd.
Thanks for your check!

>
> Adding dochelp to cc.
>
> @dochelp: looks like you have a small bug in MS-SMB2. :)
>
> -slow
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-12-05 23:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-05  7:48 Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ? Namjae Jeon
2023-12-05 10:01 ` Ralph Boehme
2023-12-05 16:46   ` [EXTERNAL] Re: Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ? - TrackingID#2312050040009715 Michael Bowen
2023-12-05 23:48   ` Name string of SMB2_CREATE_ALLOCATION_SIZE is AlSi or AISi ? Namjae Jeon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.