diff options
author | Jim McDonough <jmcd@samba.org> | 2002-05-31 21:10:49 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-05-31 21:10:49 +0000 |
commit | 4e71eae06eb4a2d67edd3767dc888c5c5de3cfc9 (patch) | |
tree | 9ccc7a58eb69feb2c9165259309cec6bceddd80d /source3/utils/net.c | |
parent | 0f7e6fd0ec1dbe4a5d75a7df2f5ac32e95fd4d9a (diff) | |
download | samba-4e71eae06eb4a2d67edd3767dc888c5c5de3cfc9.tar.gz samba-4e71eae06eb4a2d67edd3767dc888c5c5de3cfc9.tar.bz2 samba-4e71eae06eb4a2d67edd3767dc888c5c5de3cfc9.zip |
Enable all net rpc share subcommands and autoselect transport.
(This used to be commit ebd07c3a295e3f8cd46441caac4dc8e8b178c2cc)
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r-- | source3/utils/net.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index e132b8d6e3..9e4c5e52c9 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -316,8 +316,7 @@ static int net_join(int argc, const char **argv) static int net_share(int argc, const char **argv) { - /* only share list is implemented in RPC */ - if (argc == 0 && net_rpc_check(0)) + if (net_rpc_check(0)) return net_rpc_share(argc, argv); return net_rap_share(argc, argv); } |