1. 23 9月, 2008 2 次提交
  2. 17 9月, 2008 2 次提交
  3. 28 8月, 2008 5 次提交
    • S
      [CIFS] Turn off Unicode during session establishment for plaintext authentication · c76da9da
      Steve French 提交于
      LANMAN session setup did not support Unicode (after session setup, unicode can
      still be used though).
      
      Fixes samba bug# 5319
      
      CC: Jeff Layton <jlayton@redhat.com>
      CC: Stable Kernel <stable@vger.kernel.org>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      c76da9da
    • S
      [CIFS] update cifs change log · 2e655021
      Steve French 提交于
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      2e655021
    • J
      cifs: fix O_APPEND on directio mounts · 838726c4
      Jeff Layton 提交于
      The direct I/O write codepath for CIFS is done through
      cifs_user_write(). That function does not currently call
      generic_write_checks() so the file position isn't being properly set
      when the file is opened with O_APPEND.  It's also not doing the other
      "normal" checks that should be done for a write call.
      
      The problem is currently that when you open a file with O_APPEND on a
      mount with the directio mount option, the file position is set to the
      beginning of the file. This makes any subsequent writes clobber the data
      in the file starting at the beginning.
      
      This seems to fix the problem in cursory testing. It is, however
      important to note that NFS disallows the combination of
      (O_DIRECT|O_APPEND). If my understanding is correct, the concern is
      races with multiple clients appending to a file clobbering each others'
      data. Since the write model for CIFS and NFS is pretty similar in this
      regard, CIFS is probably subject to the same sort of races. What's
      unclear to me is why this is a particular problem with O_DIRECT and not
      with buffered writes...
      
      Regardless, disallowing O_APPEND on an entire mount is probably not
      reasonable, so we'll probably just have to deal with it and reevaluate
      this flag combination when we get proper support for O_DIRECT. In the
      meantime this patch at least fixes the existing problem.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Cc: Stable Tree <stable@kernel.org>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      838726c4
    • S
      [CIFS] Fix plaintext authentication · bcc55c66
      Steve French 提交于
      The last eight bytes of the password field were not cleared when doing lanman plaintext password authentication. This patch fixes that.
      
      I tested it with Samba by setting password
      encryption to no in the server's smb.conf.  Other servers also can be
      configured to force plaintext authentication.    Note that plaintexti
      authentication requires setting /proc/fs/cifs/SecurityFlags to 0x30030
      on the client (enabling both LANMAN and also plaintext password support).
      Also note that LANMAN support (and thus plaintext password support) requires
      CONFIG_CIFS_WEAK_PW_HASH to be enabled in menuconfig.
      
      CC: Jeff Layton <jlayton@redhat.com>
      CC: Stable Kernel <stable@vger.kernel.org>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      bcc55c66
    • J
      [CIFS] Add destroy routine for dns_resolver · 87ed1d65
      Jeff Layton 提交于
      Otherwise, we're leaking the payload memory.
      
      CC: Stable Kernel <stable@vger.kernel.org>
      Acked-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      87ed1d65
  4. 26 8月, 2008 1 次提交
  5. 20 8月, 2008 3 次提交
  6. 19 8月, 2008 1 次提交
  7. 14 8月, 2008 1 次提交
    • S
      [CIFS] mount of IPC$ breaks with iget patch · ad661334
      Steve French 提交于
      In looking at network named pipe support on cifs, I noticed that
      Dave Howell's iget patch:
      
          iget: stop CIFS from using iget() and read_inode()
      
      broke mounts to IPC$ (the interprocess communication share), and don't
      handle the error case (when getting info on the root inode fails).
      
      Thanks to Gunter who noted a typo in a debug line in the original
      version of this patch.
      
      CC: David Howells <dhowells@redhat.com>
      CC: Gunter Kukkukk <linux@kukkukk.com>
      CC: Stable Kernel <stable@kernel.org>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      ad661334
  8. 12 8月, 2008 2 次提交
  9. 09 8月, 2008 1 次提交
  10. 07 8月, 2008 3 次提交
  11. 06 8月, 2008 7 次提交
  12. 05 8月, 2008 1 次提交
  13. 04 8月, 2008 1 次提交
  14. 02 8月, 2008 1 次提交
  15. 01 8月, 2008 2 次提交
  16. 30 7月, 2008 2 次提交
  17. 27 7月, 2008 2 次提交
  18. 25 7月, 2008 1 次提交
  19. 24 7月, 2008 2 次提交
反馈
建议
客服 返回
顶部