summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server/srv_pipe.c')
-rw-r--r--source3/rpc_server/srv_pipe.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 9079590f31..9a17862bd5 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -492,15 +492,6 @@ BOOL api_pipe_bind_auth_resp(pipes_struct *p, prs_struct *rpc_in_p)
DEBUG(5,("api_pipe_bind_auth_resp: decode request. %d\n", __LINE__));
- /*
- * Create the response data buffer.
- */
-
- if(!pipe_init_outgoing_data(&p->out_data)) {
- DEBUG(0,("api_pipe_bind_auth_resp: failed to create outgoing buffer.\n"));
- return False;
- }
-
if (p->hdr.auth_len == 0) {
DEBUG(0,("api_pipe_bind_auth_resp: No auth field sent !\n"));
return False;
@@ -696,15 +687,6 @@ BOOL api_pipe_bind_req(pipes_struct *p, prs_struct *rpc_in_p)
DEBUG(5,("api_pipe_bind_req: decode request. %d\n", __LINE__));
/*
- * Create the response data buffer.
- */
-
- if(!pipe_init_outgoing_data(&p->out_data)) {
- DEBUG(0,("api_pipe_bind_req: failed to create outgoing buffer.\n"));
- return False;
- }
-
- /*
* Try and find the correct pipe name to ensure
* that this is a pipe name we support.
*/
@@ -1062,15 +1044,6 @@ BOOL api_pipe_request(pipes_struct *p)
BOOL ret = False;
BOOL changed_user_id = False;
- /*
- * Create the response data buffer.
- */
-
- if(!pipe_init_outgoing_data(&p->out_data)) {
- DEBUG(0,("api_pipe_request: failed to create outgoing buffer.\n"));
- return False;
- }
-
if (p->ntlmssp_auth_validated) {
if(!become_authenticated_pipe_user(p)) {