From 051f5c6721181860ea5703350e1f6b28088ed00a Mon Sep 17 00:00:00 2001 From: Steve French Date: Thu, 28 Aug 2008 15:30:06 +0000 Subject: [PATCH] --- yaml --- r: 109364 b: refs/heads/master c: 2e655021b8d50b5d90ce442f3de6bf3667729910 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/cifs/CHANGES | 5 ++++- trunk/fs/cifs/README | 14 ++++++++++++-- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index d04999d7c291..b12d01a37283 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 838726c4756813576078203eb7e1e219db0da870 +refs/heads/master: 2e655021b8d50b5d90ce442f3de6bf3667729910 diff --git a/trunk/fs/cifs/CHANGES b/trunk/fs/cifs/CHANGES index f9e4ad97a79e..06e521a945c3 100644 --- a/trunk/fs/cifs/CHANGES +++ b/trunk/fs/cifs/CHANGES @@ -9,7 +9,10 @@ files (e.g. "cp -a") to Windows servers. For mkdir and create honor setgid bit on parent directory when server supports Unix Extensions but not POSIX create. Update cifs.upcall version to handle new Kerberos sec flags (this requires update of cifs.upcall program from Samba). Fix memory leak -on dns_upcall (resolving DFS referralls). +on dns_upcall (resolving DFS referralls). Fix plain text password +authentication (requires setting SecurityFlags to 0x30030 to enable +lanman and plain text though). Fix writes to be at correct offset when +file is open with O_APPEND and file is on a directio (forcediretio) mount. Version 1.53 ------------ diff --git a/trunk/fs/cifs/README b/trunk/fs/cifs/README index 68b5c1169d9d..bd2343d4c6a6 100644 --- a/trunk/fs/cifs/README +++ b/trunk/fs/cifs/README @@ -542,10 +542,20 @@ SecurityFlags Flags which control security negotiation and hashing mechanisms (as "must use") on the other hand does not make much sense. Default flags are 0x07007 - (NTLM, NTLMv2 and packet signing allowed). Maximum + (NTLM, NTLMv2 and packet signing allowed). The maximum allowable flags if you want to allow mounts to servers using weaker password hashes is 0x37037 (lanman, - plaintext, ntlm, ntlmv2, signing allowed): + plaintext, ntlm, ntlmv2, signing allowed). Some + SecurityFlags require the corresponding menuconfig + options to be enabled (lanman and plaintext require + CONFIG_CIFS_WEAK_PW_HASH for example). Enabling + plaintext authentication currently requires also + enabling lanman authentication in the security flags + because the cifs module only supports sending + laintext passwords using the older lanman dialect + form of the session setup SMB. (e.g. for authentication + using plain text passwords, set the SecurityFlags + to 0x30030): may use packet signing 0x00001 must use packet signing 0x01001