s3-rpcclient: add another usage display to sign and seal commands.
authorGünther Deschner <gd@samba.org>
Thu, 8 Jul 2010 09:46:48 +0000 (11:46 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 8 Jul 2010 09:46:48 +0000 (11:46 +0200)
Guenther

source3/rpcclient/rpcclient.c

index 56c0057dd96a5d6a4a778577f98e7bfd007afe2e..be06882d356f070c2b4e4d6a54a2c09bb9b3f9fe 100644 (file)
@@ -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;
                }
        }