diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-11-08 22:18:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:40 -0500 |
commit | e056ed97d79c046a7f4b9562ad785fc54719a8ce (patch) | |
tree | a2000af9b0e4da9b3768708966114fe80e071f81 /source4/torture | |
parent | 73c1f61350a01c0cc5825ae0a08bb4c03121eda4 (diff) | |
download | samba-e056ed97d79c046a7f4b9562ad785fc54719a8ce.tar.gz samba-e056ed97d79c046a7f4b9562ad785fc54719a8ce.tar.bz2 samba-e056ed97d79c046a7f4b9562ad785fc54719a8ce.zip |
r3626: More minor DCOM fixes
(This used to be commit 709f279b192c8f9eeea04749169c00f2d57b20d3)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/epmapper.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c index 714e6f3f8c..c3a847684f 100644 --- a/source4/torture/rpc/epmapper.c +++ b/source4/torture/rpc/epmapper.c @@ -182,6 +182,19 @@ static BOOL test_Map(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, } } + twr->tower.floors[3].lhs.protocol = EPM_PROTOCOL_UDP; + twr->tower.floors[3].lhs.info.lhs_data = data_blob(NULL, 0); + twr->tower.floors[3].rhs.http.port = 0; + + status = dcerpc_epm_Map(p, mem_ctx, &r); + if (NT_STATUS_IS_OK(status) && r.out.result == 0) { + for (i=0;i<r.out.num_towers;i++) { + if (r.out.towers[i].twr) { + display_tower(mem_ctx, &r.out.towers[i].twr->tower); + } + } + } + twr->tower.floors[3].lhs.protocol = EPM_PROTOCOL_SMB; twr->tower.floors[3].lhs.info.lhs_data = data_blob(NULL, 0); twr->tower.floors[3].rhs.smb.unc = ""; |