Below is the patch posted to the upstream bug report which is basically a hack
to work around the NetApp bug. Upstream even notes, "That doesn't quite look
right... Just because the server supports extended security we can't assume
that we're
actually using extended security. I think we'll need to do something different
if we want to work around this netapp bug." With that said, I can build a
jaunty test kernel for TESTING PURPOSES ONLY. This will not qualify for an SRU
nor be supported going forward.
+++ cifssmb.c 2009-09-01 14:20:34.000000000 +0200
@@ -647,7 +647,8 @@
if (pSMBr->EncryptionKeyLength == CIFS_CRYPTO_KEY_SIZE) {
memcpy(server->cryptKey, pSMBr->u.EncryptionKey,
CIFS_CRYPTO_KEY_SIZE);
- } else if ((pSMBr->hdr.Flags2 & SMBFLG2_EXT_SEC)
+ } else if (((pSMBr->hdr.Flags2 & SMBFLG2_EXT_SEC)
+ || (server->capabilities & CAP_EXTENDED_SECURITY))
&& (pSMBr->EncryptionKeyLength == 0)) {
/* decode security blob */
} else if (server->secMode & SECMODE_PW_ENCRYPT) {
@@ -657,7 +658,7 @@
/* BB might be helpful to save off the domain of server here */
- if ((pSMBr->hdr.Flags2 & SMBFLG2_EXT_SEC) &&
+ if ((pSMBr->hdr.Flags2 & SMBFLG2_EXT_SEC) ||
(server->capabilities & CAP_EXTENDED_SECURITY)) {
count = pSMBr->ByteCount;
if (count < 16) {
** Changed in: linux (Ubuntu)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu)
Status: New => Triaged
--
Bug in NetApp Filer SMB protocol implementation make CIFS share unmountable
from Ubuntu
https://bugs.launchpad.net/bugs/479272
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs