The branch, master has been updated
       via  f11a5d1... Don't return an intermediate reply on async on a pipe 
call (Windows doesn't).
      from  f4f9d54... s3-lanman: use spoolss for api_PrintJobInfo().

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f11a5d196d6beaeb8445d759559ff684045776f5
Author: Jeremy Allison <j...@samba.org>
Date:   Tue Apr 27 16:07:12 2010 -0700

    Don't return an intermediate reply on async on a pipe call (Windows 
doesn't).
    
    Jeremy.

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

Summary of changes:
 source3/smbd/smb2_server.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 8940427..67d20b1 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -712,6 +712,11 @@ NTSTATUS smbd_smb2_request_pending_queue(struct 
smbd_smb2_request *req,
                }
        }
 
+       /* Don't return an intermediate packet on a pipe read/write. */
+       if (req->tcon && req->tcon->compat_conn && 
IS_IPC(req->tcon->compat_conn)) {
+               return NT_STATUS_OK;
+       }
+
        reqhdr = (uint8_t *)req->out.vector[i].iov_base;
        flags = (IVAL(reqhdr, SMB2_HDR_FLAGS) & ~SMB2_HDR_FLAG_CHAINED);
        message_id = BVAL(reqhdr, SMB2_HDR_MESSAGE_ID);


-- 
Samba Shared Repository

Reply via email to