diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-27 04:02:15 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-27 04:02:15 +0000 |
commit | a9203bf02b61180049bc60e7010acaff07c73947 (patch) | |
tree | b9e98f284e1b081c95731b7936985848c97b250b /source4/librpc/rpc/dcerpc_util.c | |
parent | 1cab707f0b1ab000db8438159f8ed46f8f327adc (diff) | |
download | samba-a9203bf02b61180049bc60e7010acaff07c73947.tar.gz samba-a9203bf02b61180049bc60e7010acaff07c73947.tar.bz2 samba-a9203bf02b61180049bc60e7010acaff07c73947.zip |
a couple of tidyups
* don't try to map the epmapper uuid !
* some preliminary support for alter context pdus
(This used to be commit f9857e56850cabfac06534fb33ff7a7a04346a9b)
Diffstat (limited to 'source4/librpc/rpc/dcerpc_util.c')
-rw-r--r-- | source4/librpc/rpc/dcerpc_util.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index 32d940bc88..1f349e9a4b 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -62,6 +62,12 @@ NTSTATUS dcerpc_epm_map_tcp_port(const char *server, GUID guid; struct epm_twr_t twr, *twr_r; + if (strcmp(uuid, DCERPC_EPMAPPER_UUID) == 0) { + /* don't lookup epmapper via epmapper! */ + *port = 135; + return NT_STATUS_OK; + } + status = dcerpc_pipe_open_tcp(&p, server, 135); if (!NT_STATUS_IS_OK(status)) { return status; |