From: Jeffrey Altman Date: Mon, 31 Jul 2006 16:51:38 +0000 (+0000) Subject: DEVEL15-windows-cifs-vista-20060731 X-Git-Tag: openafs-devel-1_5_5~20 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=4d2acff5f91d60aa29fa72c7058ab9365a37d61e;p=packages%2Fo%2Fopenafs.git DEVEL15-windows-cifs-vista-20060731 remove claim of support for Vista CIFS protocol version (cherry picked from commit 5a0c56d33b9bc842cee10afc977f59b04e46d728) --- diff --git a/src/WINNT/afsd/smb.c b/src/WINNT/afsd/smb.c index 2043d6d2c..51c34355d 100644 --- a/src/WINNT/afsd/smb.c +++ b/src/WINNT/afsd/smb.c @@ -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); }