diff options
author | Tim Potter <tpot@samba.org> | 2003-04-14 02:08:03 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-04-14 02:08:03 +0000 |
commit | 3b865c73989e7f13e3a6453f9f9c9a7aca74b129 (patch) | |
tree | 453336f098c536d0ec79d3bf899e00ac107d2fab /source3/rpcclient/rpcclient.c | |
parent | 3ef2a0b3ff93436b13318748574b0aebb4da56ab (diff) | |
download | samba-3b865c73989e7f13e3a6453f9f9c9a7aca74b129.tar.gz samba-3b865c73989e7f13e3a6453f9f9c9a7aca74b129.tar.bz2 samba-3b865c73989e7f13e3a6453f9f9c9a7aca74b129.zip |
Merge of rpcecho pipe for testing large dcerpc requests and responses.
Only compiled in when --enable-developer argument passed to configure.
(This used to be commit 017da9393bab276543d0d5c50df8c760780f2450)
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 0cb4ba98c8..7bdc2f6c84 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -422,6 +422,7 @@ extern struct cmd_set srvsvc_commands[]; extern struct cmd_set dfs_commands[]; extern struct cmd_set reg_commands[]; extern struct cmd_set ds_commands[]; +extern struct cmd_set echo_commands[]; static struct cmd_set *rpcclient_command_list[] = { rpcclient_commands, @@ -433,6 +434,7 @@ static struct cmd_set *rpcclient_command_list[] = { srvsvc_commands, dfs_commands, reg_commands, + echo_commands, NULL }; @@ -486,13 +488,14 @@ static NTSTATUS do_cmd(struct cli_state *cli, if (!cli_nt_open_netlogon(cli, trust_password, SEC_CHAN_WKSTA)) { - DEBUG(0, ("Could not initialize NETLOGON pipe\n")); + DEBUG(0, ("Could not initialise NETLOGON pipe\n")); return NT_STATUS_UNSUCCESSFUL; } } else { if (cmd_entry->pipe_idx != -1) { if (!cli_nt_session_open(cli, cmd_entry->pipe_idx)) { - DEBUG(0, ("Could not initialize pipe\n")); + DEBUG(0, ("Could not initialise %s\n", + get_pipe_name_from_index(cmd_entry->pipe_idx))); return NT_STATUS_UNSUCCESSFUL; } } |