summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-07-08 11:46:48 +0200
committerGünther Deschner <gd@samba.org>2010-07-08 11:46:48 +0200
commitb595469bf7d6c1171d694366686d99de031c18b9 (patch)
treed083c7cb04b94b6bdf0819c6fa9b49997abb8949 /source3
parentb0d69a857c14cec052f8c109fdf47f493c8d35c2 (diff)
downloadsamba-b595469bf7d6c1171d694366686d99de031c18b9.tar.gz
s3-rpcclient: add another usage display to sign and seal commands.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/rpcclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 56c0057dd96..be06882d356 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -402,6 +402,7 @@ static NTSTATUS cmd_sign(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
pipe_default_auth_type = PIPE_AUTH_TYPE_SCHANNEL;
} else {
printf("unknown type %s\n", type);
+ printf("Usage: %s [NTLMSSP|NTLMSSP_SPNEGO|SCHANNEL]\n", argv[0]);
return NT_STATUS_INVALID_LEVEL;
}
}
@@ -434,6 +435,7 @@ static NTSTATUS cmd_seal(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
pipe_default_auth_type = PIPE_AUTH_TYPE_SCHANNEL;
} else {
printf("unknown type %s\n", type);
+ printf("Usage: %s [NTLMSSP|NTLMSSP_SPNEGO|SCHANNEL]\n", argv[0]);
return NT_STATUS_INVALID_LEVEL;
}
}