From b595469bf7d6c1171d694366686d99de031c18b9 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 8 Jul 2010 11:46:48 +0200 Subject: s3-rpcclient: add another usage display to sign and seal commands. Guenther --- source3/rpcclient/rpcclient.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/rpcclient') diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 56c0057dd9..be06882d35 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; } } -- cgit