Hi, Tridge,

   We have completed the investigation regarding  levels in getFileInfo and 
getFsInfo.


1.        For file information query (  InfoType = SMB2_0_INFO_FILE)

          The responses for all possible  levels   are listed as  below.

     Level             Name                                                 IF 
Supported             Error Codes

 1           FileDirectoryInformation                 No                        
          STATUS_INVALID_INFO_CLASS
 2           FileFullDirectoryInformation          No                           
       STATUS_INVALID_INFO_CLASS
 3           FileBothDirectoryInformation       No                              
    STATUS_INVALID_INFO_CLASS
 4           FileBasicInformation                         SUPPORTED
 5           FileStandardInformation                 SUPPORTED
         6           FileInternalInformation                   SUPPORTED
 7           FileEaInformation                               SUPPORTED
 8           FileAccessInformation                     SUPPORTED
         9          FileNameInformation                       No                
                  STATUS_NOT_SUPPORTED
 10        FileRenameInformation                  No                            
      STATUS_INVALID_INFO_CLASS
 11       FileLinkInformation                            No                     
             STATUS_INVALID_INFO_CLASS
 12       FileNamesInformation                      No                          
        STATUS_INVALID_INFO_CLASS
 13       FileDispositionInformation              No                            
      STATUS_INVALID_INFO_CLASS
 14       FilePositionInformation                   SUPPORTED
 15       FileFullEaInformation                        SUPPORTED
 16       FileModeInformation                       SUPPORTED
 17       FileAlignmentInformation              SUPPORTED
18         FileAllInformation                              SUPPORTED
19         FileAllocationInformation               No                           
       STATUS_INVALID_INFO_CLASS
20         FileEndOfFileInformation               No                            
      STATUS_INVALID_INFO_CLASS
21         FileAlternateNameInformation   SUPPORTED
        22         FileStreamInformation                    SUPPORTED
        23         FilePipeInformation                          SUPPORTED
        24         FilePipeLocalInformation                SUPPORTED
25         FilePipeRemoteInformation          SUPPORTED
26         FileMailslotQueryInformation       No                                
  STATUS_NOT_SUPPORTED
27         FileMailslotSetInformation             No                            
      STATUS_INVALID_INFO_CLASS
28         FileCompressionInformation         SUPPORTED
29         FileObjectIdInformation                  No                          
        STATUS_NOT_SUPPORTED
 30        FileCompletionInformation            No                              
    STATUS_INVALID_INFO_CLASS
 31        FileMoveClusterInformation         No                                
  STATUS_INVALID_INFO_CLASS
 32        FileQuotaInformation                       SUPPORTED
 33        FileReparsePointInformation        No                                
  STATUS_NOT_SUPPORTED
 34        FileNetworkOpenInformation      SUPPORTED
  35       FileAttributeTagInformation          SUPPORTED
  36       FileTrackingInformation                   No                         
         STATUS_INVALID_INFO_CLASS
  37       FileIdBothDiretoryInformation     No                                 
 STATUS_INVALID_INFO_CLASS
  38       FileIdFullDiretoryInformation        No                              
    STATUS_INVALID_INFO_CLASS
  39       FileValidDataLengthInformation  No                                  
STATUS_INVALID_INFO_CLASS
   40      FileShortNameInformation            No                               
   STATUS_INVALID_INFO_CLASS
   41      FileShortNameInformation            No                               
   STATUS_NOT_SUPPORTED
   42      FileIoStatusBlockRangeInformation  No                           
STATUS_INVALID_INFO_CLASS
43-49  N/A                                                          No          
                        STATUS_NOT_SUPPORTED
 50+     N/A                                                          No        
                          STATUS_INVALID_INFO_CLASS



2.          For file system information query (  InfoType = 
SMB2_0_INFO_FILESYSTEM)

          The responses for all possible  levels   are listed as  below.

   Level             Name                                         IF Supported  
           Error Codes

    1     FileFsVolumeInformation              SUPPORTED
    2     FileFsLabelInformation                     No                         
         STATUS_INVALID_INFO_CLASS
    3    FileFsSizeInformation                       SUPPORTED
    4    FileFsDeviceInformation                  SUPPORTED
    5    FileFsAttributeInformation             SUPPORTED
    6    FileFsFileControlInformation          SUPPORTED
    7    FileFsFullSizeInformation                 SUPPORTED
    8    FileFsObjectIdInformation               SUPPORTED
    9   FileFsDriverPathInformation            No                               
   STATUS_NOT_SUPPORTED
  10  FileFsVolumeFlagsInformation        No                                   
STATUS_NOT_SUPPORTED


     The information above will be added  into the future release of  [MS-SMB2] 
and [MS-FSCC].     The update of the documents are still in progress.     
Please let us know if  this provides all the information you need or you need 
further clarification in the documents.


Thanks

----------------------------------------------------------
Hongwei  Sun - Support Escalation Engineer
DSC Protocol  Team, Microsoft
[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
Tel:  469-7757027 x 57027
-----------------------------------------------------------





-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2008 9:06 PM
To: Interoperability Documentation Help
Cc: [EMAIL PROTECTED]
Subject: CAR - missing SMB2 GetFileInfo levels



Hi,



MS-SMB2 section 2.2.37 says that these are the only 19 levels for

getfileinfo:



FileBasicInformation

FileStandardInformation

FileInternalInformation

FileEaInformation

FileAccessInformation

FilePositionInformation

FileFullEaInformation

FileModeInformation

FileAlignmentInformation

FileAllInformation

FileAlternateNameInformation

FileStreamInformation

FilePipeInformation

FilePipeLocalInformation

FilePipeRemoteInformation

FileCompressionInformation

FileQuotaInformation

FileNetworkOpenInformation

FileAttributeTagInformation



Section 3.3.5.20.1 says that any unsupported level must respond with

STATUS_INVALID_INFO_CLASS



A scanner in our testsuite (the SMB2-SCANGETINFO test) shows that

Vista responds to a total of 31 levels with some other error code,

indicating that the level is available.



The levels our scanner finds are:



  4, 5, 6, 7, 8, 9, 14, 15, 16, 17, 18, 21, 22, 23, 24, 25, 26, 28, 29,

  32, 33, 34, 35, 41, 43, 44, 45, 46, 47, 48, 49



Can you please document the missing levels?



The scan also shows that Vista responds to 9 getfsinfo levels:



  1, 3, 4, 5, 6, 7, 8, 9, 10



but the doc only lists 6 levels. Can you please document the extra 3

levels?



Cheers, Tridge


_______________________________________________
cifs-protocol mailing list
[email protected]
https://lists.samba.org/mailman/listinfo/cifs-protocol

Reply via email to