diff options
Diffstat (limited to 'source3/utils/net_rpc.c')
-rw-r--r-- | source3/utils/net_rpc.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 80536e5ab5e..51517e6f185 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -7438,22 +7438,6 @@ bool net_rpc_check(struct net_context *c, unsigned flags) return ret; } -/* dump sam database via samsync rpc calls */ -static int rpc_samdump(struct net_context *c, int argc, const char **argv) { - if (c->display_usage) { - d_printf( "%s\n" - "net rpc samdump\n" - " %s\n", - _("Usage:"), - _("Dump remote SAM database")); - return 0; - } - - return run_rpc_command(c, NULL, &ndr_table_netlogon, - NET_FLAGS_ANONYMOUS, - rpc_samdump_internals, argc, argv); -} - /* syncronise sam database via samsync rpc calls */ static int rpc_vampire(struct net_context *c, int argc, const char **argv) { @@ -8268,14 +8252,6 @@ int net_rpc(struct net_context *c, int argc, const char **argv) " Shutdown a remote server") }, { - "samdump", - rpc_samdump, - NET_TRANSPORT_RPC, - N_("Dump SAM data of remote NT PDC"), - N_("net rpc samdump\n" - " Dump SAM data of remote NT PDC") - }, - { "vampire", rpc_vampire, NET_TRANSPORT_RPC, |