1. 27 Aug, 2008 2 commits
    • Steve French's avatar
      [CIFS] Fix plaintext authentication · bcc55c66
      Steve French authored
      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: default avatarSteve French <sfrench@us.ibm.com>
      bcc55c66
    • Jeff Layton's avatar
      [CIFS] Add destroy routine for dns_resolver · 87ed1d65
      Jeff Layton authored
      Otherwise, we're leaking the payload memory.
      
      CC: Stable Kernel <stable@vger.kernel.org>
      Acked-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      87ed1d65
  2. 26 Aug, 2008 6 commits
  3. 25 Aug, 2008 32 commits