summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_epmapper.c
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-10-20 18:35:12 +0000
committerJim McDonough <jmcd@samba.org>2003-10-20 18:35:12 +0000
commit2cfb3e9b7046fe2db330a292aed71f1c27688a16 (patch)
treeca25dec3cf9b20a690ee22b9f8701e45ab306906 /source3/rpcclient/cmd_epmapper.c
parentf3121b19e4a4951350342a1882c9017686a995b1 (diff)
downloadsamba-2cfb3e9b7046fe2db330a292aed71f1c27688a16.tar.gz
samba-2cfb3e9b7046fe2db330a292aed71f1c27688a16.tar.bz2
samba-2cfb3e9b7046fe2db330a292aed71f1c27688a16.zip
Several updates:
- add support for named pipe and netbios queries in parse code - fix map request structure...unknown byte was alignment - add sample of named pipe over netbios query in rpcclient (comment only) (This used to be commit 71dcdf54e60204d6b499d25d8759ed20fc7a021a)
Diffstat (limited to 'source3/rpcclient/cmd_epmapper.c')
-rw-r--r--source3/rpcclient/cmd_epmapper.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_epmapper.c b/source3/rpcclient/cmd_epmapper.c
index 280188d875..e2eecb6f04 100644
--- a/source3/rpcclient/cmd_epmapper.c
+++ b/source3/rpcclient/cmd_epmapper.c
@@ -48,6 +48,11 @@ static NTSTATUS cmd_epm_map(struct cli_state *cli,
init_epm_floor_uuid(&floors[0], &if_uuid, 4);
init_epm_floor_uuid(&floors[1], &syn_uuid, 2);
init_epm_floor_rpc(&floors[2]);
+
+ /* sample for netbios named pipe query
+ init_epm_floor_np(&floors[3], "\\PIPE\\lsass");
+ init_epm_floor_nb(&floors[4], "\\\\psflinux");
+ */
init_epm_floor_tcp(&floors[3], 135);
init_epm_floor_ip(&floors[4], addr);
towers = talloc(mem_ctx, sizeof(EPM_TOWER));