merged into cifs-2.6.git (along with the other two in this series)

On Tue, Sep 25, 2012 at 2:00 AM, Pavel Shilovsky <[email protected]> wrote:
> Signed-off-by: Pavel Shilovsky <[email protected]>
> ---
>  fs/cifs/sess.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c
> index 382c06d..76809f4 100644
> --- a/fs/cifs/sess.c
> +++ b/fs/cifs/sess.c
> @@ -876,7 +876,8 @@ ssetup_ntlmssp_authenticate:
>         pSMB = (SESSION_SETUP_ANDX *)iov[0].iov_base;
>         smb_buf = (struct smb_hdr *)iov[0].iov_base;
>
> -       if ((type == RawNTLMSSP) && (smb_buf->Status.CifsError ==
> +       if ((type == RawNTLMSSP) && (resp_buf_type != CIFS_NO_BUFFER) &&
> +           (smb_buf->Status.CifsError ==
>                         cpu_to_le32(NT_STATUS_MORE_PROCESSING_REQUIRED))) {
>                 if (phase != NtLmNegotiate) {
>                         cERROR(1, "Unexpected more processing error");



-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to