summaryrefslogtreecommitdiff
path: root/source3/utils/smbcontrol.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-13 09:20:20 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-13 12:36:36 +0100
commit92280def16dc5e307b197a3d528a13cdd6041a29 (patch)
tree0aba137da97dcb1be5019aa7cd88f5fb010edcb3 /source3/utils/smbcontrol.c
parent2bab5073bace651a8961400ca39e2329c4d04b65 (diff)
downloadsamba-92280def16dc5e307b197a3d528a13cdd6041a29.tar.gz
samba-92280def16dc5e307b197a3d528a13cdd6041a29.tar.bz2
samba-92280def16dc5e307b197a3d528a13cdd6041a29.zip
s3:smbcontrol: remove unused "samsync" and "samrepl" commands
metze
Diffstat (limited to 'source3/utils/smbcontrol.c')
-rw-r--r--source3/utils/smbcontrol.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 747c35ceba..f0eafa08ee 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -822,34 +822,6 @@ static bool do_brl_revalidate(struct messaging_context *msg_ctx,
return send_message(msg_ctx, pid, MSG_SMB_BRL_VALIDATE, NULL, 0);
}
-/* Force a SAM synchronisation */
-
-static bool do_samsync(struct messaging_context *msg_ctx,
- const struct server_id pid,
- const int argc, const char **argv)
-{
- if (argc != 1) {
- fprintf(stderr, "Usage: smbcontrol <dest> samsync\n");
- return False;
- }
-
- return send_message(msg_ctx, pid, MSG_SMB_SAM_SYNC, NULL, 0);
-}
-
-/* Force a SAM replication */
-
-static bool do_samrepl(struct messaging_context *msg_ctx,
- const struct server_id pid,
- const int argc, const char **argv)
-{
- if (argc != 1) {
- fprintf(stderr, "Usage: smbcontrol <dest> samrepl\n");
- return False;
- }
-
- return send_message(msg_ctx, pid, MSG_SMB_SAM_REPL, NULL, 0);
-}
-
/* Display talloc pool usage */
static bool do_poolusage(struct messaging_context *msg_ctx,
@@ -1268,8 +1240,6 @@ static const struct {
{ "ip-dropped", do_ip_dropped, "Tell winbind that an IP got dropped" },
{ "lockretry", do_lockretry, "Force a blocking lock retry" },
{ "brl-revalidate", do_brl_revalidate, "Revalidate all brl entries" },
- { "samsync", do_samsync, "Initiate SAM synchronisation" },
- { "samrepl", do_samrepl, "Initiate SAM replication" },
{ "pool-usage", do_poolusage, "Display talloc memory usage" },
{ "dmalloc-mark", do_dmalloc_mark, "" },
{ "dmalloc-log-changed", do_dmalloc_changed, "" },