| 1 | --- a/source3/librpc/rpc/rpc_common.c |
| 2 | +++ b/source3/librpc/rpc/rpc_common.c |
| 3 | @@ -119,9 +119,11 @@ static bool initialize_interfaces(void) |
| 4 | if (!smb_register_ndr_interface(&ndr_table_netdfs)) { |
| 5 | return false; |
| 6 | } |
| 7 | +#ifdef DEVELOPER |
| 8 | if (!smb_register_ndr_interface(&ndr_table_rpcecho)) { |
| 9 | return false; |
| 10 | } |
| 11 | +#endif |
| 12 | if (!smb_register_ndr_interface(&ndr_table_initshutdown)) { |
| 13 | return false; |
| 14 | } |
| 15 | --- a/source3/rpcclient/rpcclient.c |
| 16 | +++ b/source3/rpcclient/rpcclient.c |
| 17 | @@ -628,7 +628,9 @@ static struct cmd_set *rpcclient_command |
| 18 | netlogon_commands, |
| 19 | srvsvc_commands, |
| 20 | dfs_commands, |
| 21 | +#ifdef DEVELOPER |
| 22 | echo_commands, |
| 23 | +#endif |
| 24 | epmapper_commands, |
| 25 | shutdown_commands, |
| 26 | test_commands, |
| 27 | |