Don't push the data out to the client in reply_sesssetup_blob()
authorVolker Lendecke <vl@samba.org>
Wed, 22 Oct 2008 14:59:08 +0000 (16:59 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 22 Oct 2008 15:53:22 +0000 (17:53 +0200)
Sending the data at this level breaks the assumption at higher levels that
req->outbuf == NULL means this request is deferred. It also breaks potential
chaining (Kerberos session setup and tcon X in one request)

source3/smbd/sesssetup.c

index 9c9d0a97bca41ad342a4bb0a20a92ffe7ae06c0e..02a66b37c3ad1bff6b15c4328d7d0217bd4d2844 100644 (file)
@@ -136,10 +136,6 @@ static void reply_sesssetup_blob(struct smb_request *req,
                        reply_nterror(req, NT_STATUS_NO_MEMORY);
                }
        }
-
-       show_msg((char *)req->outbuf);
-       srv_send_smb(smbd_server_fd(),(char *)req->outbuf,req->encrypted);
-       TALLOC_FREE(req->outbuf);
 }
 
 /****************************************************************************