[linux-cifs-client] Re: [Fwd: linux-cifs-client Digest, Vol 42, Issue 12]

Steve French smfrench at gmail.com
Tue Jun 5 21:33:39 GMT 2007


Thanks - your fix is correct (I made one additional whitespace change
on an adjacent line).

The fix has been merged into cifs git tree.

Now to test the fixes for the other two problems you pointed out

On 6/5/07, Yehuda Sadeh Weinraub wrote:
>
> > Have you seen a case in which NT error codes are not negotiated from
> Linux?
>
>  Yes I have. It happens since the relevant bit is not set in the flags2 of
> the negprot request. This was my fix:
>
>  Index: cifssmb.c
> ===================================================================
>  --- cifssmb.c   (revision 111)
>  +++ cifssmb.c   (working copy)
>  @@ -433,7 +433,7 @@
>          cFYI(1,("secFlags 0x%x",secFlags));
>
>          pSMB->hdr.Mid = GetNextMid(server);
>  -       pSMB->hdr.Flags2 |= SMBFLG2_UNICODE;
>  +       pSMB->hdr.Flags2 |= (SMBFLG2_UNICODE | SMBFLG2_ERR_STATUS);
>          if((secFlags & CIFSSEC_MUST_KRB5) == CIFSSEC_MUST_KRB5)
>                  pSMB->hdr.Flags2 |= SMBFLG2_EXT_SEC;
>
>  Thanks,
>  Yehuda


-- 
Thanks,

Steve


More information about the linux-cifs-client mailing list