1. 16 2月, 2008 1 次提交
  2. 25 1月, 2008 1 次提交
  3. 17 11月, 2007 2 次提交
  4. 14 11月, 2007 1 次提交
    • S
      [CIFS] Fix buffer overflow if server sends corrupt response to small · 133672ef
      Steve French 提交于
      request
      
      In SendReceive() function in transport.c - it memcpy's
      message payload into a buffer passed via out_buf param. The function
      assumes that all buffers are of size (CIFSMaxBufSize +
      MAX_CIFS_HDR_SIZE) , unfortunately it is also called with smaller
      (MAX_CIFS_SMALL_BUFFER_SIZE) buffers.  There are eight callers
      (SMB worker functions) which are primarily affected by this change:
      
      TreeDisconnect, uLogoff, Close, findClose, SetFileSize, SetFileTimes,
      Lock and PosixLock
      
      CC: Dave Kleikamp <shaggy@austin.ibm.com>
      CC: Przemyslaw Wegrzyn <czajnik@czajsoft.pl>
      Acked-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      133672ef
  5. 17 10月, 2007 2 次提交
  6. 13 10月, 2007 1 次提交
  7. 05 10月, 2007 1 次提交
    • S
      [CIFS] Fix cifsd so shuts down when signing fails during mount · a013689d
      Steve French 提交于
      Fixes two problems:
      1) we dropped down to negotiating lanman if we did not recognize the
      mechanism (krb5 e.g.)
      2) we did not stop cifsd (thus will fail when doing rmod cifs with
      slab free errors) when we fail tcon but have a bad session (which is
      the case in which signing is required but we don't allow signing on
      the client)
      
      It also turns on extended security flag in the header when passing
      "sec=krb5" on mount command (although kerberos support is not done of
      course)
      Acked-by: NJeff Layton <jlayton@redhat.com>
      CC: Shaggy <shaggy@us.ibm.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      a013689d
  8. 29 9月, 2007 2 次提交
  9. 25 9月, 2007 1 次提交
  10. 19 7月, 2007 1 次提交
  11. 09 7月, 2007 1 次提交
  12. 29 6月, 2007 1 次提交
  13. 03 5月, 2007 1 次提交
  14. 27 2月, 2007 1 次提交
  15. 30 9月, 2006 3 次提交
  16. 29 9月, 2006 1 次提交
  17. 12 8月, 2006 2 次提交
  18. 27 6月, 2006 1 次提交
  19. 04 6月, 2006 1 次提交
  20. 02 6月, 2006 1 次提交
  21. 01 6月, 2006 1 次提交
  22. 14 2月, 2006 1 次提交
    • S
      [CIFS] SessionSetup cleanup part 2 · 5815449d
      Steve French 提交于
      The cifs session setup code has three cases, and a fourth for backlevel
      LANMAN2 style session setup needed to be added.  This new session setup
      implmentation will eventually replace the other three and should be
      easier to read while fixing a few minor problems (not setting
      the LARGE READ/WRITEX flags when NTLMSSP was negotiated for example) and
      adding support for NTLMv2 (which will be added with the next patch. In the
      meantime, this code is marked in an CONFIG_CIFS_EXPERIMENTAL block and will
      not be turned on by default until it is tested against more server types.
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      5815449d
  23. 13 1月, 2006 1 次提交
  24. 13 12月, 2005 1 次提交
  25. 04 12月, 2005 1 次提交
  26. 21 10月, 2005 1 次提交
  27. 12 10月, 2005 1 次提交
  28. 08 10月, 2005 1 次提交
  29. 16 9月, 2005 1 次提交
    • S
      [CIFS] Fix compiler warnings · ab2f218f
      Steve French 提交于
      Fix some compiler warnings noticed on x64 by me and ppc64 by Shaggy
      
      Signed-off-by: Steve French (sfrench@us.ibm.com)
      ab2f218f
  30. 25 8月, 2005 4 次提交
  31. 23 8月, 2005 1 次提交
    • S
      [CIFS] Support for mounting to older, pre-CIFS servers added. This · a10faeb2
      Steve French 提交于
      allows specifying an RFC1001 target "called" name (netbios name of the
      server, which can now be pecified as mount option "servernetbiosname"
      but will eventually be passed in automatically on retry of host down
      error messages caused when server refuses to handle default server
      name and can not handle port 445). This is an important step, but
      additional testing and fixup is needed to add remaining function needed
      for these.
      
      Signed-off-by: Steve French (sfrench@us.ibm.com)
      a10faeb2