diff options
author | Tim Beale <timbeale@catalyst.net.nz> | 2019-01-23 11:07:42 +1300 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2019-01-25 13:20:23 +0100 |
commit | e903d37ea4a8372f819f8bdbec7dfeef1799f612 (patch) | |
tree | 300ed95eec3c02518c6210681d66dc2da658b06d /selftest | |
parent | 67fc683a3eec4d24de774e2a82c72b69eb03565e (diff) | |
download | samba-e903d37ea4a8372f819f8bdbec7dfeef1799f612.tar.gz |
s3:rpclient: rpclient help is not very helpful
The help was not telling me that there was a mandatory 'server' argument
that I needed to specify. After trying several different combinations
of parameters, I eventually had to run the tool in gdb to work out why
it was complaining.
This is the output I was getting:
bin/rpcclient -U$USERNAME%$PASSWORD -I $SERVER_IP
Usage: rpcclient [OPTION...]
-c, --command=COMMANDS Execute semicolon separated
cmds
-I, --dest-ip=IP Specify destination IP address
-p, --port=PORT Specify port number
...
New help output is:
Usage: rpcclient [OPTION...] <server>
Options:
-c, --command=COMMANDS Execute semicolon separated
cmds
...
Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'selftest')
0 files changed, 0 insertions, 0 deletions