components/samba/samba/patches/0001-s3-Fix-bug-8238-KB2536276-prevents-access-to-sha.patch
changeset 446 ba4f3a6be7f7
equal deleted inserted replaced
445:f383012adc1a 446:ba4f3a6be7f7
       
     1 From 0b0c5596034a007b71785a0f36aaf40cf74b234d Mon Sep 17 00:00:00 2001
       
     2 From: Volker Lendecke <[email protected]>
       
     3 Date: Thu, 16 Jun 2011 22:20:49 +0200
       
     4 Subject: [PATCH] s3: Fix bug 8238 -- KB2536276 prevents access to shares
       
     5 
       
     6 Without this we were not sending the workgroup name in the negprot reply if
       
     7 plain text passwords are used.
       
     8 ---
       
     9  source3/smbd/negprot.c |    1 +
       
    10  1 files changed, 1 insertions(+), 0 deletions(-)
       
    11 
       
    12 diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
       
    13 index 81d29d9..51ad80d 100644
       
    14 --- source3/smbd/negprot.c
       
    15 +++ source3/smbd/negprot.c
       
    16 @@ -382,6 +382,7 @@ static void reply_nt1(struct smb_request *req, uint16 choice)
       
    17  			reply_nterror(req, NT_STATUS_NO_MEMORY);
       
    18  			return;
       
    19  		}
       
    20 +		p += ret;
       
    21  		DEBUG(3,("not using SPNEGO\n"));
       
    22  	} else {
       
    23  		DATA_BLOB spnego_blob = negprot_spnego();
       
    24 -- 
       
    25 1.5.6.5
       
    26