]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-cifs-vista-20060731
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 31 Jul 2006 16:51:38 +0000 (16:51 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 31 Jul 2006 16:51:38 +0000 (16:51 +0000)
remove claim of support for Vista CIFS protocol version

(cherry picked from commit 5a0c56d33b9bc842cee10afc977f59b04e46d728)

src/WINNT/afsd/smb.c

index 2043d6d2c3d26fef5e543deba0f44967339383ae..51c34355dc435e84c57a90a8405476d15b91abbc 100644 (file)
@@ -3235,10 +3235,13 @@ long smb_ReceiveNegotiate(smb_vc_t *vcp, smb_packet_t *inp, smb_packet_t *outp)
     }
 
     lock_ObtainMutex(&vcp->mx);
+#if 0
     if (VistaProtoIndex != -1) {
         protoIndex = VistaProtoIndex;
         vcp->flags |= (SMB_VCFLAG_USENT | SMB_VCFLAG_USEV3);
-    } else if (NTProtoIndex != -1) {
+    } else 
+#endif 
+       if (NTProtoIndex != -1) {
         protoIndex = NTProtoIndex;
         vcp->flags |= (SMB_VCFLAG_USENT | SMB_VCFLAG_USEV3);
     }