[SCM] Samba Shared Repository - branch v3-5-test updated

Karolin Seeger kseeger at samba.org
Tue Aug 24 08:37:25 MDT 2010


The branch, v3-5-test has been updated
       via  fe4dcd4... s3: Fix bug 7635
      from  c3f2015... Fix bug #7589 - ntlm_auth fails to use cached credentials.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -----------------------------------------------------------------
commit fe4dcd44ec581afb631125b1d0bade055ca97e30
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Aug 21 11:32:58 2010 +0200

    s3: Fix bug 7635
    
    smbclient -M not sending due to NT_STATUS_PIPE_BROKEN

-----------------------------------------------------------------------

Summary of changes:
 source3/libsmb/climessage.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/climessage.c b/source3/libsmb/climessage.c
index 2c8ef58..0993037 100644
--- a/source3/libsmb/climessage.c
+++ b/source3/libsmb/climessage.c
@@ -63,8 +63,10 @@ static struct tevent_req *cli_message_start_send(TALLOC_CTX *mem_ctx,
 
 	*p++ = 4;
 	memcpy(p, utmp, ulen);
+	p += ulen;
 	*p++ = 4;
 	memcpy(p, htmp, hlen);
+	p += hlen;
 	TALLOC_FREE(htmp);
 	TALLOC_FREE(utmp);
 
@@ -163,8 +165,8 @@ static struct tevent_req *cli_message_text_send(TALLOC_CTX *mem_ctx,
 		TALLOC_FREE(tmp);
 		return tevent_req_post(req, ev);
 	}
-	SCVAL(bytes, 0, 0);	/* pad */
-	SSVAL(bytes, 1, msglen);
+	SCVAL(bytes, 0, 1);	/* pad */
+	SSVAL(bytes+1, 0, msglen);
 	memcpy(bytes+3, msg, msglen);
 	TALLOC_FREE(tmp);
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list