05 May, 2007

1 commit

  • 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: Steve French

    Jeff Layton
     

01 May, 2007

1 commit

  • 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: Steve French

    Steve French
     

25 Apr, 2007

1 commit

  • 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: Steve French

    Steve French
     

24 Apr, 2007

1 commit


07 Apr, 2007

1 commit


23 Mar, 2007

1 commit

  • When a file had a dos attribute of 0x1 (readonly - but dos attribute
    of archive was not set) - doing chmod 0777 or equivalent would
    try to set a dos attribute of 0 (which some servers ignore)
    rather than ATTR_NORMAL (0x20) which most servers accept.
    Does not affect servers which support the CIFS Unix Extensions.

    Acked-by: Prasad Potluri
    Acked-by: Shirish Pargaonkar
    Signed-off-by: Steve French

    Steve French
     

10 Mar, 2007

1 commit


06 Mar, 2007

1 commit


27 Feb, 2007

1 commit


14 Feb, 2007

1 commit


09 Feb, 2007

1 commit


07 Feb, 2007

1 commit


24 Dec, 2006

1 commit


08 Dec, 2006

1 commit


02 Nov, 2006

1 commit


31 Oct, 2006

1 commit


21 Sep, 2006

1 commit


17 Aug, 2006

1 commit


15 Aug, 2006

1 commit


12 Aug, 2006

1 commit


27 Jun, 2006

1 commit


08 Jun, 2006

1 commit

  • NTLMv2 authentication (stronger authentication than default NTLM) which
    many servers support now works. There was a problem with the construction
    of the security blob in the older code. Currently requires
    /proc/fs/cifs/Experimental to be set to 2
    and
    /proc/fs/cifs/SecurityFlags to be set to 0x4004 (to require using
    NTLMv2 instead of default of NTLM)

    Next we will check signing to make sure optional NTLMv2 packet signing also
    works.

    Signed-off-by: Steve French

    Steve French
     

07 Jun, 2006

1 commit


01 Jun, 2006

2 commits


31 May, 2006

2 commits


22 Apr, 2006

1 commit


31 Mar, 2006

1 commit


22 Mar, 2006

1 commit


03 Mar, 2006

2 commits


01 Mar, 2006

1 commit


24 Feb, 2006

1 commit


10 Feb, 2006

1 commit


14 Jan, 2006

1 commit


13 Jan, 2006

1 commit


03 Dec, 2005

1 commit


02 Dec, 2005

1 commit


30 Nov, 2005

1 commit