• Linus Torvalds's avatar
    Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6 · d4141531
    Linus Torvalds authored
    Pull cifs updates from Steve French:
     "Various CIFS/SMB2/SMB3 updates for 3.11.  Includes bug fixes - SMB3
      support should be much more stable with key DFS fix and also signing
      possible now (although is more work to do to get SMB3 signing working
      well with multiuser).
    
      Mounts using the new SMB 3.02 dialect can now be done (specify
      "vers=3.02" on mount) against the most current Microsoft systems.
    
      Also includes a big cleanup of the cifs/smb2/smb3 authentication code
      from Jeff which fixes some long standing problems with the way allowed
      authentication flavors and signing are configured.
    
      Some followon patches later in the cycle will clean up allocation of
      structures for the various security mechanisms depending on what
      dialect is chosen (reduces memory usage a little) and to add support
      for the secure negotiate fsctl (for smb3) which prevents downgrade
      attacks."
    
    * 'for-next' of git://git.samba.org/sfrench/cifs-2.6: (39 commits)
      cifs: fill TRANS2_QUERY_FILE_INFO ByteCount fields
      cifs: fix SMB2 signing enablement in cifs_enable_signing
      [CIFS] Fix build warning
      [CIFS] SMB3 Signing enablement
      [CIFS] Do not set DFS flag on SMB2 open
      [CIFS] fix static checker warning
      cifs: try to handle the MUST SecurityFlags sanely
      When server doesn't provide SecurityBuffer on SMB2Negotiate pick default
      Handle big endianness in NTLM (ntlmv2) authentication
      revalidate directories instiantiated via FIND_* in order to handle DFS referrals
      SMB2 FSCTL and IOCTL worker function
      Charge at least one credit, if server says that it supports multicredit
      Remove typo
      Some missing share flags
      cifs: using strlcpy instead of strncpy
      Update headers to update various SMB3 ioctl definitions
      Update cifs version number
      Add ability to dipslay SMB3 share flags and capabilities for debugging
      Add some missing SMB3 and SMB3.02 flags
      Add SMB3.02 dialect support
      ...
    d4141531
cifsfs.c 32.8 KB