incorrect rpcclient usage
THIBADEAU,DAN (HP-Roseville,ex1)
dan_thibadeau at hp.com
Fri Dec 7 12:14:18 GMT 2001
The usage for the "rpcclient" command shows:
Usage: rpcclient server [options]
However, (on HPUX 11 anyway) it only works as:
Usage: rpcclient [options] server
Looking in the source, it is because the "getopts" is ran first before the
server name is extracted from the command line arguments. I don't know if
"getopts" ignors non-args on other platforms, but on HPUX it will stop
processing at the first argument that doesn't start with a "-".
Dan T.
More information about the samba
mailing list