Changeset 740 for vendor/current/source3/smbd/pipes.c
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/smbd/pipes.c
r414 r740 27 27 28 28 #include "includes.h" 29 #include "smbd/smbd.h" 30 #include "smbd/globals.h" 31 #include "libcli/security/security.h" 32 #include "rpc_server/srv_pipe_hnd.h" 29 33 30 34 #define PIPE "\\PIPE\\" … … 66 70 } 67 71 68 status = np_open(NULL, name, conn->client_address, 69 conn->server_info, &fsp->fake_file_handle); 72 status = np_open(fsp, name, 73 conn->sconn->local_address, 74 conn->sconn->remote_address, 75 &conn->sconn->client_id, 76 conn->session_info, 77 conn->sconn->msg_ctx, 78 &fsp->fake_file_handle); 70 79 if (!NT_STATUS_IS_OK(status)) { 71 80 DEBUG(10, ("np_open(%s) returned %s\n", name, … … 235 244 236 245 send: 237 if (!srv_send_smb( smbd_server_fd(), (char *)req->outbuf,246 if (!srv_send_smb(req->sconn, (char *)req->outbuf, 238 247 true, req->seqnum+1, 239 248 IS_CONN_ENCRYPTED(req->conn)||req->encrypted, … … 450 459 451 460 srv_set_message((char *)req->outbuf, 12, nread, False); 452 461 462 #if 0 463 /* 464 * we should return STATUS_BUFFER_OVERFLOW if there's 465 * out standing data. 466 * 467 * But we can't enable it yet, as it has bad interactions 468 * with fixup_chain_error_packet() in chain_reply(). 469 */ 470 if (is_data_outstanding) { 471 error_packet_set((char *)req->outbuf, ERRDOS, ERRmoredata, 472 STATUS_BUFFER_OVERFLOW, __LINE__, __FILE__); 473 } 474 #endif 475 453 476 SSVAL(req->outbuf,smb_vwv5,nread); 454 477 SSVAL(req->outbuf,smb_vwv6,
Note:
See TracChangeset
for help on using the changeset viewer.