whether we negotiated legacy lanman dialect so we do not keep retrying
for mount to WindowsME
Signed-off-by: Steve French <sfrench@us.ibm.com>
/* Only need to call the old QFSInfo if failed
on newer one */
if(rc)
- if((pTcon->ses->flags & CIFS_SES_LANMAN) == 0)
+ if(pTcon->ses->capabilities & CAP_NT_SMBS)
rc = CIFSSMBQFSInfo(xid, pTcon, buf); /* not supported by OS2 */
/* Some old Windows servers also do not support level 103, retry with
char sessid[4]; /* unique token id for this session */
/* (returned on Negotiate */
int capabilities; /* allow selective disabling of caps by smb sess */
- __u16 timeAdj; /* Adjust for difference in server time zone in sec */
+ int timeAdj; /* Adjust for difference in server time zone in sec */
__u16 CurrentMid; /* multiplex id - rotating counter */
char cryptKey[CIFS_CRYPTO_KEY_SIZE];
/* 16th byte of RFC1001 workstation name is always null */