diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-04-27 15:12:32 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-05-27 07:13:56 +0200 |
commit | 9a6636a56e3565202d71ae7049431e3764575b79 (patch) | |
tree | 59057e1ef8bbc09ea751c890c8bdc80120eea342 /source3/smbd/pipes.c | |
parent | 56ebbb53c80a49f2d8dda8a108afc07669af333e (diff) | |
download | samba-9a6636a56e3565202d71ae7049431e3764575b79.tar.gz |
s3:rpc_server: pass down local and remote tsocket_address to np_open()
metze
Diffstat (limited to 'source3/smbd/pipes.c')
-rw-r--r-- | source3/smbd/pipes.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c index e2c0cdc2f34..17d2678e354 100644 --- a/source3/smbd/pipes.c +++ b/source3/smbd/pipes.c @@ -26,6 +26,7 @@ #include "includes.h" +#include "smbd/globals.h" #define PIPE "\\PIPE\\" #define PIPELEN strlen(PIPE) @@ -65,7 +66,9 @@ NTSTATUS open_np_file(struct smb_request *smb_req, const char *name, return status; } - status = np_open(fsp, name, conn->client_address, + status = np_open(fsp, name, + conn->sconn->local_address, + conn->sconn->remote_address, conn->server_info, &fsp->fake_file_handle); if (!NT_STATUS_IS_OK(status)) { DEBUG(10, ("np_open(%s) returned %s\n", name, |