1. 24 5月, 2007 1 次提交
  2. 23 5月, 2007 1 次提交
  3. 05 5月, 2007 1 次提交
    • J
      [CIFS] Make sec=none force an anonymous mount · 8426c39c
      Jeff Layton 提交于
      We had a customer report that attempting to make CIFS mount with a null
      username (i.e. doing an anonymous mount) doesn't work. Looking through the
      code, it looks like CIFS expects a NULL username from userspace in order
      to trigger an anonymous mount. The mount.cifs code doesn't seem to ever
      pass a null username to the kernel, however.
      
      It looks also like the kernel can take a sec=none option, but it only seems
      to look at it if the username is already NULL. This seems redundant and
      effectively makes sec=none useless.
      
      The following patch makes sec=none force an anonymous mount.
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      8426c39c
  4. 03 5月, 2007 1 次提交
  5. 01 5月, 2007 1 次提交
    • S
      [CIFS] UID/GID override on CIFS mounts to Samba · 4523cc30
      Steve French 提交于
      When CIFS Unix Extensions are negotiated we get the Unix uid and gid
      owners of the file from the server (on the Unix Query Path Info
      levels), but if the server's uids don't match the client uid's users
      were having to disable the Unix Extensions (which turned off features
      they still wanted).   The changeset patch allows users to override uid
      and/or gid for file/directory owner with a default uid and/or gid
      specified at mount (as is often done when mounting from Linux cifs
      client to Windows server).  This changeset also displays the uid
      and gid used by default in /proc/mounts (if applicable).
      
      Also cleans up code by adding some of the missing spaces after
      "if" keywords per-kernel style guidelines (as suggested by Randy Dunlap
      when he reviewed the patch).
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      4523cc30
  6. 27 4月, 2007 1 次提交
  7. 25 4月, 2007 1 次提交
    • S
      [CIFS] Add IPv6 support · 5858ae44
      Steve French 提交于
      IPv6 support was started a few years ago in the cifs client, but lacked a
      kernel helper function for parsing the ascii form of the ipv6 address. Now
      that that is added (and now IPv6 is the default that some OS use now) it
      was fairly easy to finish  the cifs ipv6 support.  This  requires that
      CIFS_EXPERIMENTAL be enabled and (at least until the mount.cifs module is
      modified to use a new ipv6 friendly call instead of gethostbyname) and the
      ipv6 address be passed on the mount as "ip=" mount option.
      
      Thanks
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      5858ae44
  8. 04 4月, 2007 1 次提交
  9. 14 2月, 2007 1 次提交
  10. 08 12月, 2006 1 次提交
  11. 31 10月, 2006 1 次提交
  12. 13 10月, 2006 1 次提交
  13. 02 10月, 2006 1 次提交
  14. 30 9月, 2006 2 次提交
  15. 29 9月, 2006 1 次提交
  16. 21 9月, 2006 1 次提交
  17. 15 8月, 2006 1 次提交
  18. 12 8月, 2006 2 次提交
  19. 27 6月, 2006 1 次提交
  20. 26 6月, 2006 1 次提交
  21. 23 6月, 2006 1 次提交
  22. 14 6月, 2006 1 次提交
  23. 02 6月, 2006 1 次提交
  24. 01 6月, 2006 1 次提交
  25. 31 5月, 2006 3 次提交
  26. 25 4月, 2006 1 次提交
  27. 22 4月, 2006 1 次提交
  28. 05 3月, 2006 1 次提交
    • S
      [CIFS] Always match oplock break (cache notification) to the right tcp · e77e6f3b
      Steve French 提交于
      session when multiply mounted.
      
      Fixes slow response when cifs client is mounted to shares on multiple
      servers and oplock break occurs (usually due to attempt to multiply open a
      file).  When treeids on mutiple mounted shares match and we find the wrong
      match first, we searched for the wrong cached files to send oplock break
      response for which usually meant that no matching file was found and thus
      the server would have to timeout the notification.  Oplock break timeout is
      about 20 seconds on some servers so this could cause significantly slower
      performance on file open calls in a few cases (in particular when multiple
      shares are mounted from multiple servers, tree ids match, and we have a
      cached file which is later opened multiple times).  This was the most
      important of the bugs that was found and fixed at Connectathon
      (interoperability testing event) this week.
      
      Acked-by:  Shaggy (shaggy@austin.ibm.com)
      Signed-off-by: Steve French (sfrench@us.ibm.com)
      e77e6f3b
  29. 03 3月, 2006 2 次提交
  30. 02 3月, 2006 1 次提交
  31. 24 2月, 2006 1 次提交
  32. 23 2月, 2006 1 次提交
  33. 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
  34. 10 2月, 2006 1 次提交
  35. 28 1月, 2006 1 次提交