[cifs-protocol] [REG:111051760827237] SMB_COM_NT_TRANSACT response with SetupCount != 0

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed May 18 09:54:57 MDT 2011


Yep, thanks, that does it.

The display is considered broken however. The reason for
that is different though: The client does a trans2findfirst
in directory \@GMT-... which Windows responds to with
NT_STATUS_NO_SUCH_FILE. Samba in the case we tested returned
the stat info of the directory where the unix snapshot
lives. When we return NO_SUCH_FILE here as well, the
previous versions display looks like the attached
screenshot win2k8-win2k3.png. The broken one is

Please close this particular case, we might open another one
asking for findfirst handling in VSS directories, but we
have to dig in the docs first a bit more.



On Wed, May 18, 2011 at 12:23:33AM +0000, Obaid Farooqi wrote:
> Hi Volker:
> We are aware of the issue of data in Setup[SetupCount].
> The issue will be resolved in an upcoming release of the
> document MS-CIFS. The change will be along the lines that
> the client MUST ignore the data returned in
> Setup[SetupCount].
> Please let me know if the above info answers your
> question. If it does, I'll consider this issue resolved.
> If it does not answer your question, please provide more
> details as follows:
> 1. Does the jpg you attached to the request
> (snapproblem.jpg) show the snap shots when Samba is used
> as a server? If yes, what is broken in the picture?
> 2. If the jpg is for the case when Windows 2008 client
> queried Windows 2008 server, can you please send the jpeg
> that shows what is broken when Samba is used as server?
> Regards,
> Obaid Farooqi
> Escalation Engineer | Microsoft
> Exceeding your expectations is my highest priority.  If
> you would like to provide feedback on your case you may
> contact my manager at allisong at microsoft.com
> -----Original Message-----
> From: Volker Lendecke [mailto:Volker.Lendecke at SerNet.DE]
> Sent: Tuesday, May 17, 2011 6:15 AM
> To: Interoperability Documentation Help
> Cc: cifs-protocol at samba.org; pfif at tridgell.net; Tom Talpey; ambi at samba.org
> Subject: SMB_COM_NT_TRANSACT response with SetupCount != 0 
> Hi, Dochelp! 
> When querying previous version from Windows 2008 we have encountered a broken display when run against Samba (see snapproblem.jpg). This does not happen when run against another Windows 2008 box. The only significant difference we discovered is that Windows 2008 as a VSS server does fill the
>     UCHAR  SetupCount; 
>     USHORT Setup[SetupCount]; 
> field as listed in 
> http://msdn.microsoft.com/en-us/library/ee442112%28v=PROT.13%29.aspx 
> with something that looks like a copy of the data we've sent it in the request according to 
> http://msdn.microsoft.com/en-us/library/cc246313%28v=PROT.13%29.aspx 
> just offset by 2 bytes. 
> Please explain where it is documented that Windows 2008 responds with Setup filled with something, we could not find it in the docs, 
> http://msdn.microsoft.com/en-us/library/ff470025%28v=PROT.13%29.aspx 
> does not list anything. 
> In the attached trace (win2008snap.cap), please see frames
> 285 and in particular 286 as reference. 
> Thanks, 
> Volker Lendecke 
> --
> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
> phone: +49-551-370000-0, fax: +49-551-370000-9 AG Göttingen, HRB 2816,
> GF: Dr. Johannes Loxen Microsoft is committed to protecting your privacy.  Please read the Microsoft Privacy Statement for more information.The above is an email for a support case from Microsoft Corp.REPLY ALL TO THIS MESSAGE or INCLUDE casemail at microsoft.com IN YOUR REPLY if you want your response added to the case automatically. For technical assistance, please include the Support Engineer on the TO:
> line. Thank you.

SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win2k8-samba.png
Type: image/png
Size: 48415 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20110518/6d7a49cb/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win2k8-win2k3.png
Type: image/png
Size: 46703 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20110518/6d7a49cb/attachment-0003.png>

More information about the cifs-protocol mailing list